Refunding an order is one of the most common admin tasks, yet many merchants are unsure how a Magento 2 credit memo works. Online or offline? Is stock returned? Does the customer get an email? This guide walks you through the whole native process.
- Create a full or partial credit memo from an order
- Choose correctly between
RefundandRefund Offline - Return items to stock and notify the customer
- Set up a repeatable refund workflow, including withdrawal requests
Step 1: Understand what a credit memo is
A credit memo is the document that reverses all or part of an invoice. It is the only correct way to record a refund in Magento.
- It updates the order status and the totals in reports.
- It can refund items, shipping and custom adjustments.
- It can only be created for an order that has an invoice.
Cancel button. Step 2: Open the order and start the credit memo
Find the order you want to refund.
Open the order, then click the Credit Memo button in the top toolbar. You land on the New Memo page, prefilled with the invoiced items.
- The button is missing? The order is not invoiced, or it is already fully refunded.
- You can also start from an invoice: Sales›Invoices, open it, then click
Credit Memo.
Step 3: Select the items and quantities
In the Items to Refund table, set the quantity for each product.
Click Update Qty's after any change. Totals below are recalculated.
For a partial refund of one item in a multi-item order, set every other quantity to 0 and click Update Qty's before doing anything else.
Step 4: Return items to stock (or not)
On the same page you decide whether the product goes back into inventory.
Damaged or opened goods should not go back to salable stock, so leave the box unchecked for those.
To make restocking automatic for every credit memo, use the global setting:
Expect the Return to Stock box to be pre-checked afterwards. You can still change it per memo.
Step 5: Set the refund totals
Scroll to Refund Totals. Here you control exactly how much money goes back.
Refund Shipping: the shipping amount to return. Set0to keep it.Adjustment Refund: extra money to give back, for example a goodwill amount.Adjustment Fee: an amount to deduct, such as a restocking fee.
Example: an order of 100.00 with 10.00 shipping. You refund the item (100.00), set Refund Shipping to 0 and Adjustment Fee to 5 for a handling charge. Click Update Totals, and the Grand Total shows the figure that will be refunded.
Update Totals after editing shipping or adjustments, otherwise the refund button stays disabled and the amount may be wrong. Always click Update Totals after editing shipping or adjustments. The buttons stay disabled until you do.
Step 6: Choose Refund or Refund Offline
This is where most mistakes happen. At the bottom you see one or two buttons.
Refund: sends the money back through the original payment gateway. Available only if the payment method supports online refunds and the invoice was captured online.Refund Offline: only records the refund in Magento. No money moves. You must send it yourself (bank transfer, gateway dashboard, etc.).
Before clicking, optionally add a note.
Expect a green success message and the order status updated to Closed (full refund) or still open (partial).
Refund Offline on an order paid by card does not return the money to the customer. Verify in your payment provider that the refund really happened. Step 7: Enable and check credit memo emails
Customers should always receive confirmation of a refund. Check that credit memo emails are active.
You can also set Send Credit Memo Email Copy To for your accounting mailbox. To edit the template, go to Marketing›Communications›Email Templates and load the credit memo template.
Step 8: Verify the result
After saving, confirm everything is consistent.
- The new memo appears with the right
Refundedamount. - The order view shows it under the
Credit Memostab. - Product quantity is updated if you ticked
Return to Stock. - The customer email appears in your mail logs or inbox.
Step 9: Build a refund workflow for withdrawal requests
In the EU, consumers can generally withdraw from distance purchases, and the refund is expected within a short legal deadline after you are informed (typically 14 days). Check the exact rules with your legal adviser.
A simple native process looks like this:
- Receive the request (email, contact form or a dedicated page).
- Open the order and add a comment in the
Notes for this Orderbox with the date received. - Wait for the return, or refund according to your policy.
- Create the credit memo with the steps above.
- Keep the email and order comment as proof.
Write the request date in the order comment immediately. The refund deadline runs from when you were informed, not from when you process the order.
Checklist
- ☐ The order has a paid invoice
- ☐ Quantities and
Update Qty'sapplied - ☐
Return to Stockset correctly for each item - ☐
Refund Shippingand adjustments reviewed - ☐
Update Totalsclicked - ☐ Correct button used:
RefundorRefund Offline - ☐
Email Copy of Credit Memoticked - ☐ Refund confirmed in the payment provider
- ☐ Memo visible under Sales›Credit Memos
Common mistakes
Problem: The Credit Memo button is not visible.
Fix: Create an invoice first. Without it, only cancellation is possible.
Problem: The refund shows in Magento but the customer has no money.
Fix: You used Refund Offline. Send the money manually, or ask your payment provider to refund it.
Problem: Stock numbers are wrong after refunds.
Fix: Review Return to Stock per memo and the Automatically Return Credit Memo Item to Stock setting.
Problem: The Refund button is greyed out.
Fix: Click Update Totals first. If it is still disabled, the grand total is probably 0 or negative.
Problem: Shipping was refunded by accident.
Fix: You cannot edit a saved memo. Check Refund Shipping before submitting, and use Adjustment Fee for corrections on the next memo only if justified.
FAQ
Can I delete or edit a credit memo?
No. Credit memos are accounting documents and cannot be edited or deleted from the admin after creation. Review the totals carefully before submitting.
Can I refund more than the original order total?
No. Magento blocks refunds that exceed the amount paid. Use adjustments only within the invoiced total.
How do I refund to store credit?
The Refund to Store Credit option is available only in Adobe Commerce, when the customer account and store credit are enabled. In Open Source you can refund to the original method or offline.
Does a credit memo reverse the tax?
Yes. Tax is refunded proportionally to the items and shipping included in the memo, based on the original order.
A faster alternative
Credit memos solve the refund side, but the customer first needs an easy way to tell you they want to withdraw. Handling that by email is slow and hard to track.
The Withdrawal Button extension for Magento 2 adds a public withdrawal request page where the customer enters name, email, order number and delivery date, with the EU Directive 2023/2673 note included. You then process each request and issue the credit memo as described above.


If you handle few returns, the native process above is enough. If requests are frequent or you need a clear, documented trail, a dedicated button saves time.

