**Not ready to build tomorrow.** Step 4 can charge a customer twice or charge them and lose the order. Those problems are in the core flow. They're cheap to fix on paper and expensive to fix after code exists.

## Blockers

**1. Retrying the charge can double-charge.** A timeout means you didn't get an answer. It doesn't mean the charge failed.
- Case: the provider takes 6 s but charges the card. You time out at 5 s and retry. The customer is charged twice, up to 3 times.
- The design has no idempotency key on the charge call. Send a stable key per order (the order id works). Also separate the failure types: a decline is final, a timeout needs a status lookup before any retry, and a 5xx may be retried with the same key.

**2. A charge can succeed while the order is lost.** The `PENDING` insert sits in an uncommitted transaction around the payment call.
- Case: the charge succeeds, then the commit fails or the process crashes. The card is charged and no order row exists, so nothing records that you owe them anything.
- Case: all 3 attempts time out, and step 6 rolls back. The charge may still have gone through, and you have no record of the attempt.
- Fix: commit `PENDING` first, outside any long transaction. Call the provider with the idempotency key. Then update the order to `PAID` or `FAILED` in a separate short transaction. Add a reconciliation job that finds `PENDING` orders older than N minutes and asks the provider for their real status. This also needs a payments record, which the design never mentions.

**3. The transaction stays open across the network call.** It holds a DB connection for up to 15 s or more (3 × 5 s plus backoff). That's survivable at 200 orders a day, but it's the wrong shape at 2,000. Fixing #2 removes it.

**4. Nothing stops a duplicate `POST /orders`.** The payment call can take 15 s or more, so the client will likely time out and retry. A double-click does the same. Each request creates a new order and a new charge. Require a client-supplied idempotency key on `POST /orders`, with a unique constraint on it.

## Needs a decision, not just a fix

**5. Stock is checked but never reserved.** The cache can be 5 minutes stale, and nothing decrements it.
- Case: 1 unit left, 3 customers check out within the same 5 minutes, and all 3 pass and pay.
- The 800 ms reasoning justifies a stale read, but not skipping the reservation. Decide the oversell policy now: backorder, auto-refund, or a local reservation count that's decremented on order. That's a business call, and the design should say which.

**6. The confirmation email is inline and has no failure rule.** If the email fails after commit, is the order a failure? It shouldn't be. Write the email as a row in an outbox table in the same transaction as `PAID`, and have a worker send it with retries.

**7. Nightly backups on one instance means up to 24 h of lost orders.** You can partly rebuild paid orders from the provider, but not the cart contents. State the accepted recovery point, or turn on WAL archiving or point-in-time recovery. That's low effort on managed Postgres.

## Test plan doesn't meet your standard
"Unit tests per module and one happy-path integration test" leaves out exactly the cases above. Before building, add tests for:
- Timeout then success on retry: one charge, one order.
- Decline: no retry, order `FAILED`.
- Crash between charge and commit: the reconciler recovers the order.
- Duplicate `POST /orders` with the same key: one order.
- Oversell.
- Email failure leaves the order `PAID`.
- A check that modules don't read each other's tables.

Write these first against a fake payment provider that can time out, double-respond, and decline.

## Minor
- The order states are undefined. You need at least `PENDING`, `PAID`, `FAILED` and probably `REFUNDED`, with the allowed transitions written down.
- Say whether the server computes prices from the cart or trusts the client.
- Auth isn't mentioned.
- There are no metrics or alerts on stuck `PENDING` orders or charge-timeout rate. Logging with the order id is good but not enough.

## What's fine
The module boundaries, the thin routes with an `OrderCheckout` service, and the scale assumptions are reasonable. Accepting the cache for reads is defensible once reservation is handled.

I'd expect about half a day of redesign on paper. Item 2's state machine is the main piece, and the rest follows from it. Then you can start with the failing tests.

VERDICT: NOT READY
