architecture decision

ADR-004: Authorize payment before reserving inventory (v1.0.0)

The first checkout design authorized payment before inventory reservation.

Decision RecordNovember 17, 2023SupersededCheckout
This architecture decision has been superseded

You are looking at a previous architecture decision. It has been superseded by ADR-004: Reserve inventory before capturing payment .

New version found

You are looking at a previous version of the adr ADR-004: Authorize payment before reserving inventory. The latest version of this adr is v2.0.0

Context

Early checkout work optimized for fast payment confirmation and deferred stock allocation to the fulfillment workflow.

Decision

Payment authorization happened before inventory reservation.

Consequences

The approach produced poor customer outcomes when stock was exhausted after payment authorization. It has been superseded by reserving inventory before capture.