State and status
Right from the moment the order is created in Magento, it is processed and goes through different states and statuses.
Magento uses the order states internally to identify the current phase of the order. These states are not customizable and not visible in the backend; they are only visible in the codebase and the database of Magento.
Order statuses are used by the store administrator to set up a flow for the order, from the beginning of the purchase to the moment the order is invoiced and the products are delivered. These statuses are customizable by the store administrator in the Magento admin panel.
You can see the list of all the internal order states in the sales_order_status_state
database table:Â
You can manage the order statuses from the following section in the admin panel:
There are 13 statuses available by default in Magento 2:
- Suspect Fraud
- Processing
- Pending Payment
- Payment Review
- Pending
- On Hold
- Complete
- Closed
- Canceled
- PayPal Canceled Reversal
- Pending PayPal...