#psousa
1 messages · Page 1 of 1 (latest)
Hello! To clarify your question, you want to handle the 3D Secure process manually on your end (not using the Stripe.js modal) and give your customers the ability to close and reopen the iframe you show 3D Secure in for a single transaction?
Yup, exactly.
I don't believe that's possible. Once the 3D Secure process is abandoned (by closing the iframe) you would need to start a new transaction. You can't resume the abandoned 3D Secure process. Can you tell me more about why you want to do this? It sounds like a very atypical flow.
The stripe modal has a "cancel" button, and I wanted to do the same but manually, opening the iframe in a popup with a close button, enabling the user to cancel the process if wanted, something like the screenshot. But after clicking the close button and reopening the popup the iframe is redirected automatically to the return_url.
But if that's not possible I think I'll remove the "x" button or use the stripe modal.
Or maybe starting a new transaction.
I do recommend using the Stripe modal if possible. We handle a lot of the hard parts for you. 🙂
To clarify, though, the cancel button in the Stripe modal does the same thing, it cancels the 3D Secure process entirely and you can't get back to it without initiating a new transaction.