-
Notifications
You must be signed in to change notification settings - Fork 525
Android: Keys for idempotent requests can only be used with the same parameters they were first used with #799
Comments
Removing line number 209 in following file can fix this issue. Passing publicKey as idempotentKey cause this error. Existing code: New code: (Removed mPublicKey) Referral link: |
I have the same problem. Can't add new cards, but can still use them for payment. After removing mPublicKey I can now add cards and everything works. But I don't know if this might break something else. Is this the correct solution? And when will this be fixed? Last update with the 16.10.0 android sdk was on 2021-06-18 almost a month ago? Does no one else have this problem? |
I hope that doesn't break something, because that is an optional parameter and that parameter is specifically for idempotent key and it must be unique for every different request. So we can't pass public key(same key) for all requests. You can check the use of idempotent key. |
Thanks for your help, I will try first to update tipsi node module first on android side, for first attempt I did add card, and then remove the and, and next once I want to re add again, thats the Idempotency comes out but currently I move that stripe to Server Side that use uuid v4 to avoid idempotency, it just temporary solution for me |
Should work in 9.1.4 |
I had the same this issues in implementation 'com.stripe:stripe-android:20.8.0' version. |
Step why I got the issue
idempotency_error Keys for idempotent requests can only be used with the same parameters they were first used with. Try using a key other than 'Publishable Key Stripe' if you meant to execute a different request.
Environment
I need your solution how to solve this issue
The text was updated successfully, but these errors were encountered: