#Žiga
1 messages · Page 1 of 1 (latest)
Hi there
Posting second part of your question for easy access:
how can we collect card details with apple pay for future payments? What is the correct method of collecting card details with apple pay for future payments. Currently we’re using createPlatformPayPaymentMethod which charges customer’s card. What method of collecting this information works best for future payments. Or can we simple set item price as 0 to avoid charging card?```
For the first part of your question, yeah SetupIntents are what you should be using there. Whether or not an SCA flow will be required for future payments is up to the bank. SetupIntents reduce the likelihood that there will be one, but it still happens since it's up to the bank's discretion. For the second part of your question, you can use SetupIntents as well:
https://stripe.com/docs/payments/save-and-reuse?platform=web#apple-pay-and-google-pay
The above link I shared has a React Native guide
^ links specifically to the React Native guide's apple pay section but really recommend reading the whole article. Apple Pay modal should show
is this also posible without this new elements?
Currentnly we just have a CardField for card details and a button for apple pay
Hi sorry for the delay. One sec
What's the button you're using?
Can you link the component?
currently just a normal button which than calls createPlatformPayPaymentMethod
Ah ok. I think with ReactNative, you'll need to use the Payment Sheet
what about without the payment sheet? Switching to this requires a bit more work/discussions so it's not a simple change
Let me see if I can bring in a colleague who knows a bit more about this
ok thanks a lot
👋 stepping in and catching up
Are you looking to save card w/ Apple Pay and take a payment or just set up future payments?
save card and use it later
Gotcha, then yeah you want a SetupIntent and confirmPlatformPaySetupIntent
will both of this get card details. go through the sca if needed and not create a charge on users card?
Yep
To be clear, Apple Pay and Google Pay handle SCA inherently
So you shouldn't see 3DS when using a wallet
But it properly sets them up for the SCA exemption in the future
ok so to duble check
i need to use confirmSetupIntent to get card details from CardField and then get back setupIntent
and for apple pay I need to use confirmPlatformPaySetupIntent which opens up native apple pay modal and returns back the intent?
You got it
great. thanks a lot for the help