#idhruv - requires_action

1 messages · Page 1 of 1 (latest)

rain scaffold
#

Hello, when you get back requires_action we recommend trying to get the user through the 3DS flow

torpid inlet
#

okay so is there a separate screen for that?

#

this is where i am stuck, how exactly to get them to fulfil 3ds

rain scaffold
#

You are doing this on a custom page that uses Stripe Elements, correct?

torpid inlet
#

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

rain scaffold
#

As in you currently don't have a test frontend, that is what you are implementing now?

torpid inlet
#

yes we currently have no frontend to take care of 3ds flow

rain scaffold
#

Right, and how are you collecting the payment info initially?

torpid inlet
#

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

rain scaffold
#

Ah so this is a question about payments created when the user is not on your site

torpid inlet
#

how can i solve this issue?

rain scaffold
#

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

torpid inlet
#

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?

rain scaffold
#

Can you tell me what Stripe calls your front end is making to confirm this payment?