
Designing an Event-Driven Order Pipeline: What Happens When Payment Succeeds but Inventory Fails?
The problem A customer places an order worth INR 5,000. The Payment Service captures the money. Then the Inventory Service tries to reserve the product and fails, because the stock is gone. Now the sy







