Cancel an Order
Stop an order that you will not ship, return its items to stock and tell the customer why.
Before you start
- You can cancel an order only before its payment is taken. The payment status must be Pending, Authorized or Failed.
- For a paid order (Paid or Captured), refund it instead. A full refund closes the order.
- An order whose items are all delivered cannot be canceled.
- You must write a reason. The customer sees it in the cancellation email.
- You cannot undo a cancellation. A canceled order stays canceled.
Steps
-
Go to Sale › Orders and click the order number.
-
Click Cancel Order at the top right of the order page.
-
In Reason for cancellation, write why you cancel the order, in words the customer can read.
-
Click Submit Cancellation.
The page reloads. The status next to the order number shows Canceled, and so does the payment card. To close the dialog without canceling, click Cancel or ×.
What happens when you cancel an order
EverShop saves all these changes together, except the email. If one of them fails, nothing changes and you see an error message.
- Stock. Every item of the order goes back to stock, also items you already shipped. See How EverShop counts stock.
- Payment. The payment status becomes Canceled. For an Authorized Stripe or PayPal payment, EverShop asks the provider to release the held money. The customer is not charged. If the provider refuses, the order is not canceled. A cash on delivery order has no money to release.
- Shipments. Shipments that are not delivered get the status Canceled. Delivered shipments stay Delivered.
- Order status. The order status becomes Canceled. This is final.
- Activities. A line "Order canceled (your reason)" is added at the bottom of the order page.
- Email. The customer gets the cancellation email with your reason, if email sending is set up.
To send cancellations to another system, add a webhook in Setting › Webhooks and choose Order canceled.
What your customers see
- Email. The customer gets the email "Your order has been canceled", with your reason. See Cancellation email.
- Order page. The order status on the customer's order page is Canceled.
Orders canceled automatically
For Stripe and PayPal, EverShop creates the order when the customer starts to pay. If the customer leaves without paying, the order stays unpaid in your order list. EverShop checks these orders on a schedule and cancels the ones that will never be paid.
| Rule | Stripe | PayPal |
|---|---|---|
| Orders checked | Payment status Pending or Failed | Payment status Pending |
| Checked after | 1 hour | 6 hours |
| Checked every | 15 minutes | 30 minutes |
| Reason in Activities | "Abandoned Stripe checkout: the payment was never completed" | Starts with "Abandoned PayPal checkout:", for example "the buyer never approved the payment" |
- Before it cancels an order, EverShop asks Stripe or PayPal about the payment. If the customer did pay, EverShop records the payment and keeps the order. If a Stripe payment is still in progress, EverShop waits.
- The items go back to stock, as when you cancel an order.
- EverShop gives the customer their cart back, so they can still buy the items.
Troubleshooting
Why is there no Cancel Order button?
The payment status does not allow it:
- Paid, Captured or Partial Refunded: the money is taken. Refund the order instead.
- Refunded: the order is already closed.
- Payment Pending (PayPal): PayPal has not finished the payment yet. Wait until PayPal reports the payment, then refund it if needed.
Next steps
- Refund an OrderGive money back for a paid order.
- Manage StockHow orders and cancellations change stock.
- Order, Payment and Shipment StatusesWhat each status means and how it changes.
For developers
To cancel with code, see Cancel An Order in the Order REST API. Which statuses can be canceled is set in the order status configuration: see Order Status Management. The abandoned-order checks are the stripeReconcileAbandonedOrders and paypalReconcileAbandonedOrders cron jobs. Their timing comes from abandonedOrderTtlHours, reconcileSchedule and reconcileEnabled under system.stripe and system.paypal in the configuration.