-
Notifications
You must be signed in to change notification settings - Fork 657
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] Crash PaymentSheetResult$Failed.writeToParcel #7827
Comments
Hi @FlorentDambreville thanks for the report. It looks like the cause was a class by the name of |
Yes you are right, we use R8 to minify our code. However, the mapping file is already used in Firebase Crashlytics. So i believe our minified classes are already translated into readable name. I assumed (maybe I shouldn't) that the Is it possible the obfuscated classes are on your side ? |
May I add a relevant information : We ask for 3DS authentication every time and it seems that all the transactions concerned are challenged and not frictionless on the 3DS side. The crash seems to occurs when users return to the application after 3DS authentication. |
Hello again It seems the crash doesn't keep the users from buying. The purchases seems to have been a success. Also : is it possible the bug you solved in the |
I don't think #7822 would fix this issue. Are you sure that this bug is being hit with successful transactions? It looks like this should only happen in failure cases, and Canceled and Completed cases wouldn't hit this. Are you able to reproduce this locally? |
Ok too bad. No in fact it seems to happen for both successful and failed transaction. What let me think that is the time of crash and successful transaction that are sometime the same and sometimes not. We are currently trying to reproduce the crash locally without success so far |
Hello, We have new occurrences of the same crash on older version of Stripe ( Is it possible the cause is not the Stripe SDK but the mecanisms behind ? |
Hi @jaynewstrom-stripe ,
Based on my understanding,
|
I was able to reproduce this locally (when launching payment sheet with an already confirmed payment intent). I have a fix PR'd. |
Fix merged in ##7872 |
Awesome thx 🚀 |
@FlorentDambreville It's also worth noting, you shouldn't have hit this bug if your integration was optimal. Please ensure you aren't trying to present PaymentSheet with an already confirmed payment intent. |
Summary
Our users are experiencing a new crash when upgrading our application. We only have updated the stripe SDK from
20.34.4
to20.36.1
Here is the stacktrace:
stripe crash stacktrace.txt
Code to reproduce
We are using the payment sheet as advice in the documentation (sorry for the lack of details).
I can provide piece of our code :
Payment Sheet creation
Payment sheet presentation
Android version
Version 10, 11, 12 & 13
Impacted devices
Samsung, Oppo, Honor
Installation method
gradle dependency
Dependency Versions
kotlin:
1.8.10
stripe-android:
20.36.1
(upgraded from20.34.4
) NEW:20.29.0
Android Gradle Plugin:
8.2.1
Gradle:
8.2
SDK classes
PaymentSheetResult
Other information
The text was updated successfully, but these errors were encountered: