#idhruv-3DS

1 messages · Page 1 of 1 (latest)

teal isle
#

Hi there, there are two to start the 3DS flow

hearty fiber
#

means? can you please elaborate a bit

teal isle
hearty fiber
#

ohh okay

#

so this should be triggered after we get successful payment intent status from stripe?

#

or before

teal isle
#

Use this when the PaymentIntent status is requires_action

hearty fiber
#

achso! okay

teal isle
#

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

hearty fiber
#

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?

teal isle
#

No. the stripe.confirmCardPayment is a frontend Javascript API that you should call in your webpage, not in your server

hearty fiber
#

okk

teal isle
hearty fiber
#

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

teal isle
#

I'd highly recommend to implement 3DS handling in your application, as the card issuer will decide whether a 3DS is needed.

hearty fiber
#

okk

#

thanks