One purchase, one charge.
Every payment runs through a safety layer: a claim taken per purchase, a ledger row written before the gateway call, and one transaction that settles the order.
A duplicate submit is replayed with no gateway call and no new order.
The attempt is on the ledger before the gateway is asked anything.
An answer we cannot read is checked, never re-sent.
A claim per purchase
Each purchase takes a claim under a lock. A second submit of the same purchase gets the first result back: the redirect, the decline or a pending notice, with no call to the gateway and no second order. A different card may claim again.
- The same card is held until its retry window opens
- At most two submits per card and store inside the burst window
- Automatic retries stop at six attempted charges per cart
An answer you can trust
An approval without a transaction id is never trusted. Everything the gateway says is classified in one place, from the structured response code rather than the message text, and the order, the intent and the thank-you page settle together.
- The charge amount is recomputed on the server every time
- Card numbers and security codes never reach a snapshot or a log
- The page never says not charged for an answer it could not read
What happens after a silence
If the gateway does not answer, a background reconciler reads the transaction back by its id and either releases the order or raises an alert for a person. It never charges. An order left behind by a stopped process is settled from its own ledger.
- Only a certain failure releases an order on its own
- An approval found later raises a critical alert instead
- Checkout Champ sales are read back the same way
Common questions
Can the same customer be charged twice for one cart?
A repeat submit of the same purchase is replayed from the first result, with no gateway call. Automatic retries after a decline are capped at six attempted charges for the same card and cart.
What happens if the gateway times out?
The order waits in processing and the reconciler reads the transaction back from the gateway. It releases the order only on a certain failure, and it never sends a second charge.
Where is card data stored?
Card numbers and security codes are stripped before anything is written to an order snapshot, an event or a log. The card material kept for renewals is encrypted, and the engine refuses to start without its key.