braintree-ios-drop-in: Apple Pay button does not conform to Apple's guidelines

Integration Details (please complete the following information):

  • SDK/Library Version: 8.1.1
  • Environment: All
  • iOS Version: All
  • Device: All
  • Integration type & version: All

Describe the bug The Braintree Drop-in UI displays the Apple Pay mark as a payment method button. Apple’s Human Interface Guidelines for Apple Pay explicitly states that as something that should not be done:

Use the Apple Pay mark only to communicate that Apple Pay is accepted. The mark doesn’t facilitate payment. Never use it as a payment button or position it as a button. From https://developer.apple.com/design/human-interface-guidelines/apple-pay/overview/offering-apple-pay/

Apple’s Human Interface Guidelines for Apple Pay states that an Apple Pay button (PKPaymentButton) should be used to initiate Apple Pay payments:

The Apple Pay mark is not a button; if you need an Apple Pay button, choose one of the buttons described in Button Types. Use the Apple-provided APIs to create Apple Pay buttons.

The non-conformance to the Human Interface guidelines is causing apps to be flagged by Apple in the review process.

Expected behavior The Braintree Drop-in UI displays Apple Pay in a way that conforms to the Human Interface Guidelines.

One possible solution is to change all the payment options have button appearances. This change would not only resolve the issue with Apple Pay’s design guidelines but would also improve conformance with the design guidelines for offering PayPal and Venmo and Google Pay

Screenshots Current Drop-in UI showing the inappropriate usage of the Apple Pay Mark: current

Proposed solution that uses Apple’s approved button and PayPal’s recommended button: suggested

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15 (9 by maintainers)

Most upvoted comments

From our Podfile.lock , looks like we use 8.1.2

  - BraintreeDropIn (8.1.2):
    - BraintreeDropIn/DropIn (= 8.1.2)
  - BraintreeDropIn/DropIn (8.1.2):
    - Braintree/Card (~> 4.32)
    - Braintree/Core (~> 4.32)
    - Braintree/PaymentFlow (~> 4.32)
    - Braintree/PayPal (~> 4.32)
    - Braintree/UnionPay (~> 4.32)
    - BraintreeDropIn/UIKit
  - BraintreeDropIn/UIKit (8.1.2)