-
Notifications
You must be signed in to change notification settings - Fork 658
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
[BUG] [PaymentSheet] Payment gets failed on back press. #5844
Comments
@fbarthelery do you mind sharing a video of your error? I think I understand the issue, based on the one you linked. I was able to reproduce a part of your issue, but I only get I will look into this issue further. Thank you for raising it! |
Hi @fbarthelery I have merged a PR to potentially fix this issue. Please let me know if you continue to see this problem after upgrading to the latest version. We typically release every monday. |
My bad I meant |
@jameswoo-stripe , I tested the fix on 20.16.1, it works great. However I just want to give you an heads up that So #5771 should be fixed with predictive back gesture enabled, but this #5848 bug is not fixed with predictive back gesture enabled. |
Summary
Related to #5771, if user presses back button in the middle of processing, the
PaymentSheetActivity
may finish before processing complete and the result intent will not be set.PaymentSheetContract.parseResult()
will then set aPaymentSheetResult.Failed
while backend will get a confirmed payment.stripe-android: 20.16.0
SDK classes
PaymentSheet, PaymentSheetActivity
The text was updated successfully, but these errors were encountered: