New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS inAppBrowser "Return to Merchant" button does not return back with iDeal, Bancontact and FPX #462
Comments
Thanks for reporting I think I can reproduce it. The interesting thing is that on the example app the success callback is received. When I print the received routes in the material app I get: |
Other question can you still upload your video :) ? just to make sure the problem is the same |
I think the error is because the example app right now has an invalid urlScheme setup in main.dart You should ensure a scheme that correctly opens back the app |
The urlScheme is correct because it works when I open the Safari app. @remonh87 I have uploaded the video. Can you reproduce it ? |
@vladms I can reproduce it and I will raise a question to Stripe for advice since when I run it in Safari it works like it should be. |
@jamesblasco @remonh87 Any updates on this issue? |
@vladms there is no reaction from Stripe yet I will poke them again |
@remonh87 Any answer from Stripe? |
@remonh87 Anything? |
@vladms I am thinking if it can be an issue on the stripe test page. I did some testing on flutter and I noticed the callback is received directly however the page is not closed and I have to press |
This is related to #609 Without return_url you'll get whatewhere scheme :/?safepay.... which is not correct in many case and doesn't work across platform. |
Any updates? am also having this issue. Raised an issue #608 where I am not using the example app but experiencing the same behaviour. |
Any updates on this? i am also having this issue. |
We're also having the problem where return to merchant is not closing the WebView but deeplink url is returning when we use test failure in test mode. |
Fixed after few days of Research 🎉After going through the Stripe SDK and their official library, I was able to fix it. Soon I'll share the solution with you all and a PR. |
Any update. |
Any update?? |
Hey sir, any update on this? Need it badly |
Fixed in version 3.1.0 thanks @anderscheow for the fix! |
@anderscheow Is there anything I'm missing? Tested on 3.1.0 |
I am also still experiencing this behaviour. |
Can just follow the
|
Its working, Thanks 🥳 |
Hi @Sempakonka Could you share your config for info.plist? I've added
But still it is not closing the webview from 'Return to merchant' Could it be the |
In Dart: |
I solved this solution more in the way which is recommended by the Stripe team.
|
@nitishk72 I do not understand how you solved the issue as per your latest post in this thread. Can you explain a bit more please? |
Anyone else who has a solution for this? Would be really greatful! |
This should fix the issue with |
Describe the bug
I tried paying with iDeal in the example app. The iOS can open the payment link in two ways:
After authorising the payment, the browser should redirect user to the app. This happens only when Safari is opened as a different app. The "Return to Merchant" button gives me this log every time I tap it:
Deep Link does not contain valid required params. URL params: {
"redirect_status" = succeeded;
"setup_intent" = "<.....>";
"setup_intent_client_secret" = "<......>";
}
To Reproduce
Steps to reproduce the behavior:
Expected behavior
After the payment was authorised/declined, the inAppBrowser should open the app
Smartphone / tablet
Device: Simulator iPhone 11 Pro Max
OS: 14.5
Package version: 2.0.2
Flutter version 2.5.2
Device: Simulator iPhone X
OS: 15.1
Package version: 2.0.2
Flutter version 2.5.2
Additional context
Here is a video of the issue:
Uploading Simulator Screen Recording - iPhone 11 Pro Max - 2021-11-23 at 11.42.46.mp4…
The text was updated successfully, but these errors were encountered: