#developerEnabled - 3D Secure
1 messages · Page 1 of 1 (latest)
Hello! We recommend you use Stripe.js to handle authentication flows like 3D Secure, which is a secure solution. Are you asking specifically about handling the 3D Secure flow on your end manually and not using Stripe.js?
I believe that is correct - for the 3D Secure flow.
Another colleague working on the project was telling me about how we were going to implement from the backend and that the team was debating between redirecting and using an iframe, and immediately I was like "iframe for stripe?" I am still trying to wrap my head around the project.
If you're considering not using Stripe.js the next step would be for me to encourage you to reconsider and use Stripe.js. 🙂
Can you provide more details?
Hello @dawn star your thread is open
Thanks @open hill
@misty ember I think my question is about "Displaying the 3D Secure Flow"
Here is the screenshot I took of the documentation in question
I think there is a choice between either a REDIRECT or using an IFRAME
Hi @dawn star! Stepping in here to help, give me a moment to get caught up
So yes, there are essentially three options here. You can use Stripe.JS, which will show a modal, and is the method we recommend. Or you can rediret to the URL, or you can display the redirect URL page in an iframe on your UI.
Hi @wicked mason,
Thanks. Is that in this portion of the documentation I referenced? I feel like I am missing where it says all three options?
Yep it is the exact portion you referenced.
If you do not set a return_url then when you use Stripe.JS to confirm the PaymentIntent/SetupIntent we will display the modal for you.
Otherwise, if you set a return_url you control the display either via a full redirect or via an iframe. The URL will be returned in the next_action.redirect_to_url.url just like it states in the docs you are looking at.
Gotcha
Thanks for explaining it, even though I now realize its in the first sentence haha
Q: Are you able to style the modal to fit a brands style guide lines or is that irrelevant in this process?
Again, recently jumped into this project and new to this 3D Secure flow
No you can't style the modal as that is going to be a hosted page controlled by the card issuer.