
Architecture · 8 min · 2026-08-12
Payment → Order → Shipment Architecture
Idempotent payment confirmation and clean handoff into fulfillment.
Payment success is not the same as order readiness.
Confirm payments idempotently, create or advance orders explicitly, then enqueue fulfillment. Shipping providers should receive only validated, paid orders.
Keep provider payloads out of your domain model — map them at the edge.