Organize a commerce admin by operational task and use order queues and detail screens to handle unknown payments, released stock reservations, and refund requests.
Decide what buyers can see and do from product listings to order details, and use the server’s order and payment states to guide them when they return from checkout.
Model SKUs, order price snapshots, inventory reservations, and payment attempts with PostgreSQL tables, then test two sessions competing for the last unit of stock.