stripe-android
stripe-android copied to clipboard
[BUG] Payment gets stuck when you switch between the apps and the stripe activity gets killed
Summary
When you use a sample app Playground experience, select a payment method, close/open the app with don't keep activities on and then try to pay - the app would get stuck and you would need to close/open it again to be able to pay.
This also happens in our real app where we use the sdk.
Code to reproduce
https://github.com/stripe/stripe-android/tree/master/paymentsheet-example
Android version
Android 10 (SDK 29) pretty much any device, including emulators.
Impacted devices
All SDK 29 devices we have tested so far.
Installation method
N/A, it's reproducible in the sample app.
Dependency Versions
N/A, it's reproducible in the sample app.
Video
https://user-images.githubusercontent.com/14958724/145100284-fa15f3c9-0cac-4d6e-8859-90c9f940b3c3.mp4
@dmytroKarataiev Thanks for your report. We will take a look.
@dmytroKarataiev I have been able to confirm that this is an issue on API versions <= 29. It does appear to work though if the process is killed. I am continuing to look into the issue.
Is there an update for this?
@dmytroKarataiev
This will be fixed in the next release.
https://github.com/stripe/stripe-android/pull/5268
Hi @dmytroKarataiev 👋 I’m closing this issue for now, but feel free to open another one if the issue persists for you.