#Shaun
1 messages · Page 1 of 1 (latest)
Hi there, the payment intent will be in requires_action status.
Ok, if I receive that response, how should that be handled?
You should call stripe.confirmCardPayment in frontend to start the 3DS flow.
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.'
What test card did you?
4000 0027 6000 3184
OK, what's the PaymentIntent ID?
seti_0N8Ijw9GwWIyQ6JWqkiatqs5
The SetupIntent was confirmed successfully.
What's the ID of the request where you get the error?
I'm not sure, the error is coming from my backend, can i get that from my stripe dashboard?
yes
pi_2N8Il19GwWIyQ6JW1GsxUn9R
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.
Ok, thank you for your help
Just to check, does that mean the user will need to enter the 3ds code again?
Yes, for that specific test card as it requires a successful authentication