Skip to content
Alexandre Bacco edited this page Feb 12, 2014 · 11 revisions

Successful Order

Action Order Status Payment Status Inventory Units Status Shipments Status Note
Add item to cart cart checkout Payment and Shipment not created yet
Checkout process cart new checkout checkout Payment and Shipment are created
Checkout finished (not paid) pending new on-hold on-hold Inventory units and shipments are locked via on-hold status. Order `completedAt` attribute is filled.
Payment received confirmed completed sold ready Notified by paypal, be2bill, etc.
Shipping shipped completed sold shipped Shipments shipped
Addition if an item is returned
Return item (partially_)returned completed or (partially_)refunded sold or returned (partially)_returned

Payment not received

Action Order Status Payment Status Inventory Units Status Shipments Status Note
Add item to cart cart checkout Payment and Shipment not created yet
Checkout process cart new checkout checkout Payment and Shipment are created
Checkout finished (not paid) pending new on-hold on-hold Inventory units and shipments are locked via on-hold status. Order `completedAt` attribute is filled.
Time out short after payment not received cart void checkout checkout Use case: visitor didn't pay in like 15min. We release inventory units but keep its cart. Action by cron, fixed time after a delay of payment not received.
Time out 2 after payment not received abandoned void (deleted) (deleted) Use case: visitor didn't pay in like 1 day. We consider his cart as abandoned and if he returns, a new cart will be created. Action by cron, fixed time after a delay of payment not received.

Payment cancelled or failed

Action Order Status Payment Status Inventory Units Status Shipments Status Note
Add item to cart cart checkout Payment and Shipment not created yet
Checkout process cart new checkout checkout Payment and Shipment are created
Checkout finished (not paid) pending new on-hold on-hold Inventory units and shipments are locked via on-hold status. Order `completedAt` attribute is filled.
Payment cancelled or failed cart cancelled or failed checkout checkout Revert the order at a "cart" status: release inventory units but keep everything in the cart for a new payment (after modification of the cart or not). Keep in mind that all payment statuses are logged in PaymentLog for follow up.

Order Cancelled

Action Order Status Payment Status Inventory Units Status Shipments Status Note
Add item to cart cart checkout Payment and Shipment not created yet
Checkout process cart new checkout checkout Payment and Shipment are created
Checkout finished (not paid) pending new on-hold on-hold Inventory units and shipments are locked via on-hold status. Order `completedAt` attribute is filled.
Order Cancelled cancelled void (deleted) (deleted) Order cancelled by user or admin

Clone this wiki locally