#newtreyes
1 messages · Page 1 of 1 (latest)
Hi, @real cloud
You shouldn't be using that function/API, really. It doesn't support SCA/3DS so will prevent off-session payments from being optimised. Use Setup Intents instead: https://docs.stripe.com/payments/save-and-reuse
Mmmmm
So, we are following this guide: https://docs.stripe.com/payments/build-a-two-step-confirmation
In this guide, it is suggested that you should use that method
Ok, that can work because ultimately you'll still be confirming client-side via confirmPayment which will handle 3DS/SCA challenge flow if required
If you want to save the PM for future usage with the initial payment, then pass setup_future_usage: 'off_session' when creating your PI: https://docs.stripe.com/payments/save-during-payment?platform=web#web-create-payment-intent