Closed ayushin closed 2 years ago
Also window.location.href
should not be used as return_url blindly in stripe_web.dart
if return_url
is specified
I could use some help to implement this workaround on Android:
fixed as part of 2.4.0.
I see that you can specify a returnUrl
if you are using the payment sheet:
But if you are using the sdk's webview you don't have any option to specify a returnUrl
.
So, in iOS we are forced to use custom URL scheme instead of being able to use universal links.
Also for web, returnUrl
is still hardcoded to window.location.href
:
Would it be possible to expose returnUrl
in confirmPayment()
method so that we can use universal links in iOS and have more flexibility in web?
This is not a duplicate of #225
While you can set
urlScheme
this does not work with universal links - we really do need to be able to passreturn_url
to IDEAL payment confirmation in order to be able to handle payments across platforms.Stripe example: