#Shaun

1 messages · Page 1 of 1 (latest)

thorny garnetBOT
cold pendant
#

Hi there, the payment intent will be in requires_action status.

opaque haven
#

Ok, if I receive that response, how should that be handled?

cold pendant
#

You should call stripe.confirmCardPayment in frontend to start the 3DS flow.

opaque haven
#

Currently I call stripe.confirmSetup to start the payment process, is that wrong?

#

I get this then I click 'complete authentication'

#

Response is 'Your card was declined. This transaction requires authentication.'

cold pendant
#

What test card did you?

opaque haven
#

4000 0027 6000 3184

cold pendant
#

OK, what's the PaymentIntent ID?

opaque haven
#

seti_0N8Ijw9GwWIyQ6JWqkiatqs5

cold pendant
#

The SetupIntent was confirmed successfully.

#

What's the ID of the request where you get the error?

opaque haven
#

I'm not sure, the error is coming from my backend, can i get that from my stripe dashboard?

cold pendant
#

yes

thorny garnetBOT
opaque haven
#

pi_2N8Il19GwWIyQ6JW1GsxUn9R

cold pendant
#

Yup, that's expected, because this card always requires authentication.

#

You can pass the error.payment_intent.client_secret to your frontend and call stripe.confirmCardPayment to start the 3DS flow.

opaque haven
#

Ok, thank you for your help

#

Just to check, does that mean the user will need to enter the 3ds code again?

inland otter
#

Yes, for that specific test card as it requires a successful authentication