#idhruv-3DS
1 messages · Page 1 of 1 (latest)
means? can you please elaborate a bit
- You can bring your customer back to your website, and call
stripe.confirmCardPayment(https://stripe.com/docs/js/payment_intents/confirm_card_payment) to start the 3DS flow.
ohh okay
so this should be triggered after we get successful payment intent status from stripe?
or before
Use this when the PaymentIntent status is requires_action
achso! okay
Another way is to let Stripe send an email to your customer, so that they can click on the link to start the 3DS flow
okay
so right now we have this:
paymentIntent = await stripe.paymentIntents.create({ // })
await stripe.paymentIntents.confirm(paymentIntent ?.id, { payment_method: paymentIntent ?.payment_method });
in between these lines I shall now put confirm card payment function if status is require_action only then proceed, is that right?
No. the stripe.confirmCardPayment is a frontend Javascript API that you should call in your webpage, not in your server
okk
https://stripe.com/docs/payments/payment-intents/verifying-status this doc is useful to you
okay, but now the question is wont this effect all our users? not all of them want to go through 3ds authentication
so basically, only the users who enable 3ds will go through this right
I'd highly recommend to implement 3DS handling in your application, as the card issuer will decide whether a 3DS is needed.