#davidbarratt_3ds-deferred-next-action
1 messages ยท Page 1 of 1 (latest)
๐ 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/1325880174541279232
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi ๐
Hello!
Can you share a Payment Intent where you used one of these test cards?
The ID
Or the Request ID from when you created the payment intent
payment intent: pi_3QeKEvEnfH5zKLAp0r8ndFrf
Thanks. Taking a look
Okay this payment intent did exactly what we expect.
When you attempted to confirm the payment intent, it entered a status of requires_action
It did not succeed
whoa... ok.
It looks like you attempted to confirm this server-side
that's correct
So, what your integration should do when this occurs, is return the payment intent client-secret to your front-end and use the Stripe.js function handleNextAction https://docs.stripe.com/js/payment_intents/handle_next_action
This function is designed to trigger the correct authentication depending on what next action is required for the payment intent
oh I see
if I use that method, do I need to do the redirect stuff in the docs or does it handle putting it in a popup / iframe?
You shouldn't need to do anything outside of calling that function. Stripe.JS handles rendering an <iframe> and communicating with the bank or other institution requiring authentication.
dope. Thank you so much for your help!
Sure thing! I'm happy to shed what ๐ก I can ๐