# Understanding Statuses/States

### **What are the Shipping States?**

Each shipment is assigned a state attribute. Depending on its state, different actions can be performed on shipments. There are five possible states:

* **pending**: The shipment has backordered inventory units and/or the order is not paid for.
* **ready**: The shipment has no backordered inventory units and the order is paid for.
* **shipped**: The shipment has left the stock location.
* **canceled**: When an order is cancelled, all of its shipments will also be cancelled. When this happens, all items in the shipment will be restocked. If an order is "resumed", then the shipment will also be resumed.
* **backorder** Inventory needs to be updated for the product to be pushed to the warehouse&#x20;

### **What are the Order States?**

**A perfect order will have the statuses of Paid - Ready - Complete**&#x20;

Before an order is marked as Complete, orders go through a number of other states. By default, the following states are available:

* **Cart:** A customer has placed product(s) in the cart.
* **Address:** The customer has begun checkout and has not yet provided their billing and/or shipping addresses.
* **Delivery:** The customer needs to choose from available shipping options.
* **Payment:** The customer needs to provide payment information.
* **Confirm:** The customer needs to confirm that the input checkout information is correct.
* **Complete:** The customer has submitted their order.

### &#x20;**What are the Payment States?**

**Here is an explanation for each potential state:**

* **checkout:** The Order is not yet complete.
* **processing:** The payment is being processed by the payment service provider. This is a temporary state intended to prevent the double-submission of a payment.
* **pending:** The payment service provider has processed the payment, but the payment is not yet captured.
* **failed:** The payment was rejected by the payment service provider.
* **invalid:** The payment is invalid and needs to be reattempted.
* **void:** The payment should not be counted against the order
* **completed:** The payment is completed
