Android: Keys for idempotent requests can only be used with the same parameters they were first used with
See original GitHub issueStep why I got the issue
- I have upgrade stripe SDK from 10.4.6 to 16.9.0
- and try to update on Java android by following this step https://github.com/tipsi/tipsi-stripe/issues/785#issuecomment-861289460
- And try to get token by stripe.createTokenWithCard
- after hit that stripe API, I got error response like :
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
- “tipsi-stripe”: “^9.0.0”
- Stripe SDK : 16.9.0
I need your solution how to solve this issue
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:6 (1 by maintainers)
Top Results From Across the Web
idempotent requests can only be used with the same parameters
As described in the Stripe docs, you can pass an idempotency key with a request, which allows you to make the same request...
Read more >Idempotent Requests - Stripe API reference
An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request....
Read more >Android: Keys for idempotent requests can only be used with the ...
Keys for idempotent requests can only be used with the same parameters they were first used with. Try using a key other than...
Read more >Idempotent Requests | Tuna Dev
An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request....
Read more >Understanding why and how to add idempotent requests to ...
Since we already established what idempotency means, idempotent APIs are APIs where any write operations can have effect only once for a given ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
I had the same this issues in implementation ‘com.stripe:stripe-android:20.8.0’ version. But in implementation (‘com.stripe:stripe-android:1.0.4@aar’){ transitive=true } version is fine. What have the problem in the lasted version?