-
-
Notifications
You must be signed in to change notification settings - Fork 545
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
Stripe re-direct not closing the in app browser in flutter IOS #2082
Comments
I would recommend taking a look at: #462 in essence you need to make sure that you specify a return url and also enable the deeplink in flutter. |
Yes, I understand that point, but if my deep link URL isn’t working, then how is the same code working on Android? |
Android does not require a returnUrl to works. It's only for iOS |
I verified that the deep link is working and the console logs appear in the terminal, but the dialog box isn’t automatically closing. It should pop the screen when the deep link is triggered or i have to write some code to close the stripe sheet. |
I have exactly the same issue. The deep link is handled in the app after finishing the payment but the browser stays open. After pressing "Close" the browser closes and the page which was linked to before becomes visible. |
So 2 things can be causing this:
The behavior of the screens is out of our jurisdiction since they are native rendered and we will not make changes to them because of PCI compliance. Hope this helps |
Describe the bug
I'm testing out more payment methods for Stripe following. This was not working in my existing app which is using flutter_stripe: ^11.4.0 version the in app browser was never getting closed.
To Reproduce
Steps to reproduce the behavior:
Open react native app using Stripe
Open the payment sheet
Click on any one of the payment methods
The in-app browser will open, authorise the payment
In-app browser doesn't close
Expected behavior
In-app browser should close and return to the payment sheet with correct status
Smartphone (please complete the following information):
Device: iPhone 16 Pro
OS: iOS 18.2
Browser: stock browser, safari
Version: flutter_stripe: ^11.4.0
Additional context
If I manually close the in-app browser the Stripe payment displays the status correctly.
The text was updated successfully, but these errors were encountered: