#allen.nguyen
1 messages · Page 1 of 1 (latest)
Generally you don't need to do that. When you confirm the PaymentIntent we will authenticate the card
but if you want, you can adopt the SetupIntent flow
It will validate and perform 3DS if needed, then you can use the collected Payment Method to create a normal PaymentIntent
Hi @unreal pewter, can we do it in background?
I will describe the flow for you,
First, customer input their card before offer a transaction
Second, provider confirm offer and system will charge the money from customer's payment method.
In the 2nd step, we have 2 cases: 3Ds card and normal.
- With normal, provider can create payment intent Themselves.
- With 3DS, I want to check in the background if customer using 3DS card, we will notify customer to confirm their payment method and create payment intent
That flow is mostly correct, except with 3Ds card, you can already perform on First step. See this https://stripe.com/docs/payments/save-and-reuse