#idhruv - requires_action
1 messages · Page 1 of 1 (latest)
Hello, when you get back requires_action we recommend trying to get the user through the 3DS flow
okay so is there a separate screen for that?
this is where i am stuck, how exactly to get them to fulfil 3ds
You are doing this on a custom page that uses Stripe Elements, correct?
no, right now there is nothing like that
no custom page nothing
payment goes in incomplete mode and we accidentally send success
do we have to implement a separate screen for 3ds flow? custom page
As in you currently don't have a test frontend, that is what you are implementing now?
yes we currently have no frontend to take care of 3ds flow
Right, and how are you collecting the payment info initially?
our frontend only works on normal paymentIntent response and shows success failure based on that
after payment api is called from backend
paymentIntent = await stripe.paymentIntents.create()
and we work away from here based on its response
this is sent to the frontend
You will want to get the user on your site if possible, pass the payment intent's client secret to your frontend and then call either confirmCardPayment or handleCardAction on it
this is happening when users are paying on our site
and we show them success message as paymentIntent returns a valid response but in stripe this gets incomplete due to lack of 3ds authentication
what can we do then?
Can you tell me what Stripe calls your front end is making to confirm this payment?