Skip to content
RED SAGSkills
hard20 pts · first answer countsdatabasesredisidempotency

Two payment retries run at once

A payment API checks Redis for the idempotency key with GET, and if it is missing, processes the payment and then SETs the key. Two retries arriving together both charge the card. What is the fix?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions