Question:

What are the definitions of the order statuses? OR: Where should I integrate my order state?

David: 2 weeks ago

I want to define some order states like "credit card payment received", the question is to which statuses they belong. Is there a definition for each of the built-in statuses?

Edit: Seems like I mixed up "status" and "state", I hope it gets clear from the context anyways. I blame the German Magento translation (State => Status, Status => Zustand)

Answer:
Oliver: 2 weeks ago

According to "The Definitive Guide to Magento" [1], the order statuses are defined as follows:

  • Pending: Pending orders are brand new orders that have not been processed. Typically, these orders need to be invoiced and shipped.
  • Pending PayPal: Pending PayPal orders are brand new orders that have not been cleared by PayPal. [...]
  • Processing: Processing means that orders have either been invoiced or shipped, but not both.
  • Complete: Orders marked as complete have been invoiced and have shipped.
  • Cancelled: Cancelled orders should be used if orders are cancelled or if the orders have not been paid for.
  • Closed: Closed orders are orders that have had a credit memo assigned to it and the customer has been refunded for their order.
  • On Hold: Orders placed on hold must be taken off hold before continuing any further actions.

Therefore a state "credit card payment received" would belong to processing, providing that the order has not been shipped yet.


Aligent Consulting[2] created a flow chart for order states:

magento order state flow


Sources:

  1. Adam McCombs and Robert Banh: "The Definitive Guide to Magento", Apress, 2009 (ISBN 1430272287, 9781430272281)
  2. https://twitter.com/aligent/status/509487359172177921/photo/1