Order lifecycle
What happens after a customer orders
Six steps every restaurant ordering system has to get right, and the places where they break. Click through; each step shows what I built or fixed there.
01Guest orders
- What happens
- A guest browses the menu, customizes items and checks out on the web or in the app.
- Where it breaks
- Menu, prices and availability drift from what the restaurant actually has.
- My part
- Built customer web ordering at CraveUp: menu, cart, pickup or delivery choice, tips and checkout. I also built shared ordering APIs for an 80-location restaurant brand's app.
02Payment
- What happens
- The payment provider authorizes the card and the app confirms the order to the guest.
- Where it breaks
- The payment succeeds but the confirmation step fails, so the guest believes the order failed and orders again.
- My part
- Fixed the confirmation path by repairing how missing checkout-session data was handled and replaying the failed request in testing. No recurrence recorded in the first two days after release.
03Order record
- What happens
- The order service stores one order with its items, time, location and status. Every other screen reads from it.
- Where it breaks
- Two records for one order, or an order that exists but no one can see.
- My part
- Fixed empty order history for thousands of customers. Before release I also fixed two problems found in review: orders stored twice after a cancellation, and an email check loose enough to match another customer's account.
04POS & providers
- What happens
- The order is sent to the point-of-sale or ordering provider, which sends status events back through webhooks.
- Where it breaks
- The connection is configured on one side only: orders go out and nothing comes back.
- My part
- Built menu import and order sending for an external POS. Diagnosed a launch-week problem where the provider's webhook, which sends order updates back, had never been set up. I also worked on CraveUp's Square and Clover integrations.
05Staff prepare
- What happens
- The order appears on the staff tablet or printer and moves through received, preparing and ready.
- Where it breaks
- Orders missing from the staff screen at the busiest moment, or a printer that silently drops tickets.
- My part
- Built printer setup and receipt printing in the React Native staff app. Fixed launch-day orders missing from the merchant dashboard.
06Same status everywhere
- What happens
- The guest tracks the order, support can look it up, the merchant sees it in analytics and finance reconciles the payment.
- Where it breaks
- The guest, staff and support screens stop agreeing on an order, or one dropped server connection takes every signed-in screen down at once.
- My part
- Fixed a Redis connection that silently dropped and took every signed-in feature down twice in one afternoon. It now reconnects automatically. I also worked on settlement reconciliation for CraveUp's Square and Clover integrations.
Step 1 of 6
A generic restaurant ordering system, drawn from the two case studies linked below. No client screens or data.