Skip to content
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]: Express Checkout Element errors with token_already_used if the user users a card with a failure followed by a card that should be successful #581

Open
mattbegent opened this issue Mar 27, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@mattbegent
Copy link

What happened?

When using the Express Checkout Element, Stripe is erroring with token_already_used if the user users a card that is declined first and then uses one that should succeed.

Steps to reproduce

  1. Go to https://docs.stripe.com/elements/express-checkout-element?locale=en-GB
  2. Click on the Google Pay button in the "Try the demo" section
  3. Select the Generic decline Visa card
  4. Click "Continue"
  5. Change the payment method to GB Debit Visa card that should success, without closing the Google Pay overlay
  6. Click "Continue"
  7. The payment will not succeed and if you look in the network at the failure you will see the "token_already_used" error.

Image

Expectation

Users are able to complete a transaction if they pick a card that fails and then one that should succeed.

Other notes

If the user repeats the above steps but closes the Google Pay overlay after the failure and then reopens it to select the successful card, then the transaction does go through.

Environment

Chrome 134.0.6998.166 and Windows 11

Reproduction

https://docs.stripe.com/elements/express-checkout-element?locale=en-GB

@mattbegent mattbegent added the bug Something isn't working label Mar 27, 2025
@maximTarleckiy
Copy link

Please fix ASAP!

Can be reproduced in:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Mobile Safari/537.36
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Mobile Safari/537.36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants