Hold / Recall
Held carts are local working state, not official orders. They survive app restart without creating an order or outbox event.
- Held carts: 0
- Local orders: 0
- Pending outbox: 0
Recall reads the held cart back into active working state without deleting it or creating a sale.
Checkout atomically removes the held cart and creates the official local order plus one pending durable outbox event.
- Open this page once while online.
- Go offline and hold one RM12 cart.
- Confirm held carts becomes 1 while orders and pending outbox stay unchanged.
- Force-close ORDRE and reopen this route while still offline.
- Confirm the held cart survives, then recall it.
- Checkout the recalled cart once.
- Confirm held carts becomes 0, local orders increases by 1, and pending outbox increases by 1.
- A second checkout of the same held cart must be impossible because the hold record no longer exists.