flowchart Order Processing Pipeline (Receive Order) -> [Validate Input] -> -yes-> [Check Inventory] -> -yes-> [[Process Payment]] -> -yes-> [Ship Order] -> /Send Confirmation/ -> (Complete) -no-> [Retry Payment] -> -yes-> [[Process Payment]] -no-> [Cancel Order] -> /Notify Customer/ -> (Failed) -no-> /Notify Backorder/ -> -yes-> [Queue Order] -> [Check Inventory] -no-> [Refund] -> (Cancelled) -no-> [Log Validation Error~] -> /Show Error/ -> (Rejected)