#valdozzz_api

1 messages ¡ Page 1 of 1 (latest)

calm sableBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1242789874960957442

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

willow herald
#

hi there!

#

that's normal. now you need to confirm the PaymentIntent on the frontend to trigger the 3DS flow.

rocky sentinel
#

is there a way to confirm the payment via server? because i have a custom 3ds flow

willow herald
#

you can confim on the backend, but if 3DS is needed then you have to ask your user to come back to your website/app to go though the 3DS flow.

rocky sentinel
#

yes ofc

drifting prismBOT
rocky sentinel
#

to confirm on the backend i need to use the stripe js on the server?

prime flame
#

well not really. Like what happened here is you did an off-session payment, which declined. So now the next thing is you need to confirm the PaymentIntent again, but on session so that it will enter the requires_action state(and then you can handle the action, which in your case is probably to access the next_action.redirect_to_url.url)

#

so once you're ready and have the customer back, you would call the confirm PaymentIntent API again, without off_session:true , and then handle the action