Designing reliable automatic order fulfilment
Handle lost responses, duplicate notifications and orders that remain unresolved beyond the expected window.
Separate request acceptance from delivery
Record a purchase reference before submission and track payment and fulfilment independently. An acknowledgement may only indicate that processing has begun. Mark an item delivered after the documented terminal outcome. Define the evidence support can inspect and the message the buyer will see for each item.
Deal with a lost response
If the response disappears after submission, the outcome is unknown. Where the contract supports an idempotency key, persist it with the request body before the first call and follow the documented retry window. Otherwise look up the original operation using an allowed reference or send it for reconciliation. Repeating order creation can trigger a second delivery.
Make delays visible
Build a reconciliation queue showing order age and the last confirmed stage. Assign an operator to investigate the oldest items once their agreed waiting time has passed. Rehearse a duplicate notification, late confirmation and an event arriving before the response to the original call. Check that each sequence produces a single delivery.