4 Steps to Cancel Orders in Magento 2

The Most Popular Extension Builder for Magento 2

With a big catalog of 224+ extensions for your online store

Table of Contents

If you are running a Magento 2 store and looking for a simple way to cancel orders, then this blog is for you. Sometimes, it’s necessary to cancel orders in Magento 2, either because customers placed orders by mistake or the lack of Edit Order for Magento 2 feature to edit wrong information. So, let’s take a look at how to cancel an order in Magento 2.

4 Steps to Cancel Orders in Magento 2

To cancel a Magento 2 Order, please follow our detailed step-by-step guide below:

Step 1: Go to the Order Cancellation Section

  • Enter your Magento 2 backend
  • On the admin menu, choose “Sales”
  • Select “Orders”

Order Grid

Step 2: Pick the Order to Cancel

In the grid, find the order you want to cancel. Select “View” from the Action column.

Pick the Order

Step 3: Cancel the Order

Click the “Cance”l button on the top bar of the information.

Cancel the Order

Step 4: Confirm the Order Cancellation

Then click “Ok” to confirm your cancellation. Make sure to consider carefully before canceling.

Confirm the Cancellation

How to Create a Magento 2 Order Refund using Credit Memo?

If you’ve already paid for an order or missed the cancellation window, there’s still a solution: requesting partial refunds.

A clear and prominently displayed refund policy can enhance the security and trustworthiness of your online store. Fortunately, Magento 2 provides the Credit Memo feature, allowing store owners to process partial refunds efficiently.

Below is the tutorial to create a Credit Memo for a partial refund in Magento 2.

1. Go to the Order Grid

Visit the admin panel > Sales > Orders

Order Grid

2. Choose the Order You Want to Create the Credit Memo

Look for the order that needs to create the Credit Memo and click “View”.

Choose the Order to Create the Creadit Memo

3. Click the “Credit Memo” Button

Press on the “Credit Memo” button at the screen’s top right corner.

Remember that the button will only be visible if an invoice has been created for that order.

Click the Credit Memo Button

4. Edit the Products to Refund Section

The “New Memo” page should appear by now. Scroll down and fill in these crucial sections.

Edit the Products

Return to Stock:

  • If you want to return the product to the inventory, check the “Return to Stock” box.
  • If you don’t want to return the product to the inventory, leave the box unchecked.

Qty to Refund: Submit the number of items to be returned and hit Enter to save the change. Then the “Update Qty’s” button will appear. Click it, and the Credit Memo is completed.

5. Edit the Refund Totals Section

  • At the “Refund Shipping” field, fill in the amount to be refunded for shipping.
  • The “Adjustment Refund” field allows for additional refunds beyond shipping, product price, and tax.
  • Use the “Adjustment Fee” field to deduct a specific value from the total refund.
  • Check the “Refund to Store Credit” checkbox to refund as store credit.
  • Tick the “Email Copy of Credit Memo” checkbox to send an email notification.
  • Add comments in the “Credit Memo Comments” box, and the status will be displayed as “completed” with the credit memo number.

If you want to add comments to a completed Credit Memo, please check out our blog on How to create Credit Memo or Partial Refund in Magento 2.

FAQs of Magento 2 Order Cancellation

1. If I accidentally cancel an order, how to recover it?

In that case, you can reorder it following these steps: Go to the admin menu > Sales > Orders > Choose the order you canceled and click “View” on the action column > Select “Reorder” on the top bar > Check all the information once again > Click “Submit Order” to confirm.

Recover an Order

2. How to edit Magento 2 order?

In many cases, customers mistakenly fill in the wrong information and wish to edit the error instead of requesting to Cancel Orders in Magento 2. Here’s how to handle this problem. Navigate to the admin menu > Sales > Orders > Choose the order you canceled and click “View” on the action column > Select “Edit” > Confirm your request, then submit the order.

Edit an Order

Edit order

Edit Order for Magento 2

Take control of your orders and make edits effortlessly with Magento 2

Check it out!

3. How to print invoices for all orders in Magento 2?

Access the admin menu > Sales > Orders > Click “Select All” in the dropdown box next to the “ID” section.

Print Invoices

Then choose Print Invoices in the Actions dropdown menu > Now the files are downloaded to your computer.

Click Print Invoices

4. How to delete Magento 2 orders?

An easy way is to use Magento 2 Delete Orders extension, which is completely free. Learn more on How to Delete an Order.

5. How to get a refund after canceling Magento 2 order?

If you pre-paid the order and want a refund, please consider creating a Credit Memo, a document showing the amount of money that stores owe customers. Clients can spend the money on another purchase or get it partially returned to them. To create a Credit Memo, please follow the steps below:

  • Step 1: Go to the Order Grid
  • Step 2: Choose the Order You Want to Create the Credit Memo
  • Step 3: Click the “Credit Memo” Button
  • Step 4: Edit the Products to Refund Section
  • Step 5: Edit the Refund Totals Section

6. Why can’t I cancel my Magento 2 order?

It is important to note that you can only cancel orders when they haven’t been shipped or printed invoices. Basically, the order can only be canceled as in Pending status. Once the order is tagged as “shipped”, cancellation becomes more complicated. If you want to cancel your order’s shipment, check our guide on How To Cancel A Shipment In Magento 2.


Hope that our blog helped you answer the question of How to cancel orders in Magento 2.

In short, order cancellation is a common request in the e-commerce field, and Magento brands can easily cancel orders to handle this basic need with the above steps in the backend grid.

However, it’s obvious that most online businesses do not prefer canceling orders. Instead, having an Edit Order extension for Magento 2 would be a better solution. Customers can fix incorrect information or add/remove items rather than abandon the order.

Image Description
Sam Thomas
Sam is the CEO and Founder of Mageplaza, pursuing a simple and healthy lifestyle. He is a friend, a husband, and a father to two children. As a trainer and an aspiring influencer, he is also a big fan of sports and travel. Sam is exceptionally knowledgeable about e-commerce, especially Magento and Shopify, with 10 years of experience in the field.
Website Support
& Maintenance Services

Make sure your store is not only in good shape but also thriving with a professional team yet at an affordable price.

Get Started
mageplaza services

Stay in the know

Get special offers on the latest news from Mageplaza.

Earn $10 in reward now!

Earn $10 in reward now!

go up