Excluding order statuses and cancelled orders
What it does
Keep the self-service withdrawal off for orders in the statuses you choose, for example a status you use only for imported old orders. You set this in Stores → Configuration → MageMe Extensions → EU Withdrawal, group Withdrawal Window. Cancelled orders are always left out, with no setting.
Before you start
- The module is switched on. See Quick start.
- You know which order statuses your store uses. They are listed in Stores → Settings → Order Status.
Cancelled orders are always excluded
An order that Magento has cancelled is never offered the withdrawal. The module checks the order state, not the status label, so a custom status you assigned to cancelled orders is covered too. You do not need to select Canceled in Statuses Excluded From Withdrawal.
Steps
Exclude order statuses
-
Go to Stores → Configuration → MageMe Extensions → EU Withdrawal.
-
If your store has several websites or store views, choose the one you set up in the scope switcher at the top of the page. Clear Use Website or Use Default next to a field to edit it.
-
Expand Withdrawal Window.
-
In Statuses Excluded From Withdrawal, select the statuses. Hold Ctrl (Cmd on a Mac) to select several. The list shows every order status of your store with its code in brackets. In the example, PayPal Reversed is selected.

-
Click Save Config.
Select only statuses that orders the customer can still withdraw from never have. An order in an excluded status gets no withdrawal at all, even inside its withdrawal period.
What you should see
For an order whose current status is excluded:
- the order page in My Account shows no withdrawal card;
- the order is not in the Select an Order list on the withdrawal page;
- if the customer opens the order on the withdrawal page, for example after a guest lookup, the page shows Withdrawal Not Available for This Order and "This order is not eligible for withdrawal."
When the order moves to a status that is not excluded, the withdrawal is offered again, within the withdrawal period.
Limits
- The check uses the status the order has now. It does not remember earlier statuses.
- Requests submitted before you exclude a status stay as they are. The order page still lists them under Your Withdrawal Requests, and you handle them as usual.
- It changes only where the self-service flow is offered. It does not decide who has a right of withdrawal, and it does not handle withdrawals that reach you outside the storefront flow. See Known limitations.
Troubleshooting
- A customer cannot withdraw from an order that should be open. Check the order's current status against Statuses Excluded From Withdrawal for the store view of the order. See The withdrawal option is missing on an order.
- A new status is missing from the list. The list reads the statuses when the page opens. Create the status in Stores → Settings → Order Status, then reload the configuration page.
What's next
- The withdrawal window and when it starts: set when the withdrawal period starts.
- The withdrawal card on the order page: see when the card appears.
- Withdrawal Window settings: every field of the group.