Case File: Paid Twice
A customer taps Pay twice and is charged twice. Write the payment processor with idempotency keys: a repeated key returns the first result and changes nothing, even when the amount differs or the first attempt was declined. Count the repeats, protect the balances, and run it on requests you cannot see. The accounts and payments are generated for you alone.
Case File: Paid Twice
A customer taps Pay twice and is charged twice. Write the payment processor with idempotency keys: a repeated key returns the first result and changes nothing, even when the amount differs or the first attempt was declined. Count the repeats, protect the balances, and run it on requests you cannot see. The accounts and payments are generated for you alone.
In this lesson:
- api
- idempotency
- payments
- reliability
- python
- case-file
This lesson is part of a paid plan
Upgrade to Pro to unlock this course, its labs and its exam.
View Pricing Plans