I know this has been asked 100 times but all of the solutions offered do not work for us or are already implemented.
From debugging I can see that after completing 3DS it does not look like the webview is firing the deeplink listeners, if i run xcrun simctl openurl booted 'myapp://stripe-redirect from the command line it opens the app and works as expected and the result of handleURLCallback is false as you would expect but when going through the payment process using the sheet, these listeners never get triggered therefore handleURLCallback is never actually run.
I am hoping if there is something obvious I have missed, is there any more I can do to debug this issue to figure out what might be going wrong? Is there a way I can forcefully close the webview from the code? The payment completes fine in the background, I just need the webview to close.
This is a shortened version of the implementation:
I know this has been asked 100 times but all of the solutions offered do not work for us or are already implemented.
From debugging I can see that after completing 3DS it does not look like the webview is firing the deeplink listeners, if i run
xcrun simctl openurl booted 'myapp://stripe-redirect
from the command line it opens the app and works as expected and the result ofhandleURLCallback
isfalse
as you would expect but when going through the payment process using the sheet, these listeners never get triggered thereforehandleURLCallback
is never actually run.I am hoping if there is something obvious I have missed, is there any more I can do to debug this issue to figure out what might be going wrong? Is there a way I can forcefully close the webview from the code? The payment completes fine in the background, I just need the webview to close.
This is a shortened version of the implementation:
Provider
Deeplink Listener
initPaymentSheet
Thanks in advance!