-
-
Notifications
You must be signed in to change notification settings - Fork 542
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
PaymentSheet not opening on Tablet in Landscape mode #245
Comments
Thanks for reporting I can reproduce it (it happens also on phone on landscape). Funny thing is that I do not see any logs that result in a crash of some sort. I think stripe/stripe-android#3878 may be related to it. @jonasbark You have a bit more knowledge about Android bindings, can you shine your light on this one? |
Stripe Android SDK itself must force it to portrait only. When we find the time we will open a ticket at their repository for investigation. |
Hi @emmaxCreative, this was actually a bug on the Android SDK and has been fixed on v17.1.0, please try again once the dependency has been upgraded on the flutter project. We also plan on supporting landscape at some point in the future. |
hello , i face the same problem with the paymentsheet (it opens only in portrait mode ) . Any solution please? |
@arcangeltech this should be actually fixed in the latest version of the library. Let me know if this is the case. |
Hi @arcangeltech, |
I will close this issue as we are using a newer version that solves it. |
Describe the bug
When I use a tablet in landscape and want to open the payment screen then the screen automatically rotates to open the paymentSheet. Which fails and shows an infinite loading spinner.
Checkout Page (setting up the paymentSheet)
Next Step automatically rotates the screen but never opens the Sheet
No errors are thrown and the paymentSheet data is all set. But it does not open. Probably because of the forced rotation it loses a state somewhere.
BTW: When using the tablet in Portrait then the paymentSheet opens without problems
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Open PaymentSheet in Landscape mode as well
Smartphone / tablet
The text was updated successfully, but these errors were encountered: