brascene/rn-apple-pay-button

Incorporate New "Pay With: Types

Closed this issue · 4 comments

Firstly, I appreciate the library! it's a massive help.

Apple has release new "Pay with" types (Book & checkout, subscribe)

It would be great if you can add it into the library, with a fallback if the device is below ios 12

Cheers

Hi there, thanks and I'm glad you find it useful.
Regarding your question, are you thinking about this?

Screen Shot 2020-03-26 at 3 18 38 PM

I was thinking about the new ones on Apples website

(https://developer.apple.com/design/human-interface-guidelines/apple-pay/overview/buttons-and-marks/)

The new types
PKPaymentButtonTypeBook
PKPaymentButtonTypeCheckout
PKPaymentButtonTypeSubscribe

I've just quickly added those missing types, and I'm closing this issue.
Thanks!

There are new payment types (such as Top up). Can we get them added to this module please?