Reusing a card number does not work

Created on 16 November 2023, about 1 year ago
Updated 17 November 2023, about 1 year ago

Problem/Motivation

If you try to checkout with an anonymous cart (or otherwise?) there is an option to 'reuse card number xxxx'.

Doing this results in an error code

{"errors": [@"code": "CARD_TOKEN_USED","detail": "Card nonce already used with a different idempotency key; please request new nonce.","category": "INVALID_REQUEST_ERROR"]}

Steps to reproduce

Proposed resolution

- check nonce? I can't see how the card details are being duplicated with the idempotency keys. Could it be across sessions?
- provide the option to turn off this feature?

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.7

Component

Code

Created by

🇦🇺Australia interlated

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @interlated
  • 🇦🇺Australia interlated

    Also possible to re-auth the gateway and get

    {"errors": [@"code": "INVALID_CARD_DATA","detail": "Card nonce not found in this application environment. Please ensure an application ID belonging to the same environment is used when generating the nonce.","category": "INVALID_REQUEST_ERROR"]}

Production build 0.71.5 2024