#morey-3DS
1 messages · Page 1 of 1 (latest)
Hello, I am not aware of such a custom callback. When the customer came back to your return_url on your modal, couldn't you perform a check by JS and close that modal accordingly?
Did it only come back without any information?
Hey, a modal is a popup while on the current page. I'd prefer the page to not reload after 3ds.
Something similar to depositing funds with say... binance.com when 3ds is required
Yeah I know, but inside the modal, you load the url returns by next_action.redirect_to_url.url , correct?
then after the customer finish their authentication, it will load to the return_urlyou specified
Ya. that's what currently happens.
Can I just get the result of the authentication and close the modal myself? Don't actually want to use the return_url, customer will stay on the same page.
You can close the modal once the customer back to return_url, otherwise how could you know the timing of close? After that you can retrieve the PaymentIntent to check it's status to be sure if it's succeed
hmm so I have to confirm the result by confirming the payment intent again
You can close the modal once the customer back to return_url
Ya, currently doing that. But there's a button that shows up at the end after completing 3ds. That button reloads the page
There's that Return to Merchant Button when a 3ds is resolved. When pressed it, actually loads the call-back url within the modal.
Perhaps there's something else I am doing incorrectly?
That demonstrate how Bank can implement their 3DS page, they could have a similar button like that. Since this is a page from the bank, I don't think we can do anything about it.
After customer push that button, it will go back to your return_url right? Then you will have control from there