Order Lifecycle State Machine
An e-commerce order's states from cart to delivered, with cancellation.
Rendering…
What this template contains
- Diagram type
- State diagram
- Source
- 11 lines
Make it your own.
stateDiagram-v2
[*] --> Cart
Cart --> Pending: checkout
Pending --> Paid: payment ok
Pending --> Cancelled: timeout / fail
Paid --> Shipped: dispatch
Shipped --> Delivered: received
Paid --> Refunded: refund
Delivered --> [*]
Cancelled --> [*]
Refunded --> [*]