#Long Ho
1 messages · Page 1 of 1 (latest)
Hi 👋 if you want to save an Apple Pay payment method for later use, I would recommend using the Payment Element instead of the Payment Request Button.
This guide walks through saving Payment Methods via the Payment Element:
https://stripe.com/docs/payments/save-and-reuse?platform=web&ui=elements
yeah we're hoping to not have to use Payment element since it does not offer the same customization as Payment request btn
Gotcha, I don't think the Payment Request Button supports setting up payment methods.
The Payment Request Button is built on top of the Payment Request API. That underlying API doesn't seem to give us the option to not require a total amount be provided:
https://developer.mozilla.org/en-US/docs/Web/API/PaymentRequest/PaymentRequest
So I'm pretty sure the Payment Request Button is not going to be a good flow to leverage if your goal is to only save payment method details.
You should also be wary with saving Apple Pay payment methods. Apple does not permit them to be reused multiple times unless they're being used for a Subscription, otherwise they should only be used once.
Gotcha thanks!!
I guess how does payment element allows me to save apple pay then?
Also is there docs on reusing apple pay issue u mentioned? I’m trying to reference something for posterity
Yup, it's covered here:
https://stripe.com/docs/apple-pay?platform=web#recurring-payments
Apple Pay is a subset of the card Payment Method type, so you would set up the flow to accept those. You will still need to do the domain verificaiton process as described in our Payment Request Button documentation though.