#dfg31197-setup-intent

1 messages · Page 1 of 1 (latest)

light wren
#

Hi there, thank you for providing the documentation you are referring to.
Step 1 to 4 displays how the Customer and SetupIntent are created, followed by the collection of payment method.
Step 5 shows you the creation of the PaymentIntent, this is how you can charge a saved payment method.

vast cobalt
light wren
#

Was there a prompt to validate 3DS?

#

What is the error message you are seeing?

vast cobalt
#

there is a 3DS prompt while saving this payment method, but when we go ahead and make the payment with its payment method, it gets declined

#

for the exact error message let me run the thing again, i believe it was asking for authentication

#

3DS prompt shows up on
stripe
.confirmCardSetup(setupIntent.client_secret, {
payment_method: {
card: card,
billing_details: { email: email }
}
})

lusty cliff
#

you have to use the 3155 test card

vast cobalt
lusty cliff
#

yep, they can indeed!

#

so you need to test both cases and be able to handle the case where you don't get an exemption

#

the 3155 card lets you test the 'happy' path where it does work and you get the exemption

vast cobalt
#

yes please suggest how we can handle the exemption part

#

and use the saved card (not make user add their card details again)

lusty cliff
vast cobalt
#

alright so it sounds like i basically just have to call this function and it will trigger the 3DS flow again? I'll give it a shot