Case study
Julie Ann Bakes is a family bakery selling seasonal ranges for collection on set days. I built and run its ordering site. The hard parts were dates that open and close by themselves, personalised products, and knowing for certain who has paid.

Dates
Each range, such as Elf Return or Christmas, has its own ordering window and collection slots. The server's clock decides what is open, and a closing time is exclusive. Elf Return closed at midnight after 11:59pm on a Saturday and the Christmas range opened in the same instant.
Checkout checks again: a basket left open overnight cannot carry an Elf product into the Christmas window.
Catalogue
Products live in Sanity, a content editing tool, so they can change without a code change. Orders, payments and customers stay in PostgreSQL. At checkout each line item snapshots its options and price, and the order keeps its collection slot, so editing a product next week never rewrites last week's order.
Payments
SumUp's callback is a prompt to ask, never the answer. The server fetches the checkout status itself and only marks an order paid when status, amount and currency all match. A mismatch goes to manual review.
Retries are safe too. The same basket gets the same payment session back, and if the site cannot tell whether a session was created, it stops rather than risk a double payment.
Pickup day
The admin area lists every paid order by pickup date and time, with the customer, slot and personalisation. Cancelling and refunding are separate decisions, and the refund amount is always chosen deliberately.