Magento 2 Cash on Delivery Fee by Country and Shipping Method
SKU: CASHONDELIVERYFEE1
- fee table by country and shipping method
- fixed amount, percentage, minimum and maximum
- own tax class and a line in totals and invoice
- free threshold and exceptions per customer group
Einmaliger Kauf · inkl. 12 Monate Updates · zzgl. MwSt.
Set the Magento 2 Cash on Delivery Fee by country and shipping method
With the Mironsoft Magento 2 Cash on Delivery Fee you charge a fee for the cash on delivery payment method that matches the costs of your carrier. The amount depends on delivery country and shipping method, tax is shown correctly, and the customer sees the fee as a line of its own in the checkout. You maintain the settings in a table in the admin.
Fee per country
Store a separate fee for Germany, Austria and other delivery countries.
Fee per shipping method
Different shipping methods get different amounts, for example standard and express.
Fixed amount or percentage
The fee is a fixed amount, a percentage of the order or both with minimum and maximum.
Correct tax
The fee gets a tax class and appears in invoice and credit memo with the matching tax rate.
Display in the checkout
The fee appears as a separate line in the totals, in the cart note and in the order confirmation.
Free threshold
Above an order value that you define, the fee is waived.
Why merchants show the Magento 2 Cash on Delivery Fee separately
The carrier charges a fee for cash on delivery, and the amount differs by destination country and shipping method. If the shop pays it alone, the margin on small orders melts away. If the customer pays a flat amount, it rarely fits every country. That is why merchants look for a Magento 2 Cash on Delivery Fee that can be graded by country and shipping method.
Core Magento offers a single setting for cash on delivery. The Magento 2 Cash on Delivery Fee adds a table that maps exactly the costs you bear yourself. The customer sees in the checkout what is charged in addition, and the fee appears transparently on the invoice.
Magento 2 Cash on Delivery Fee as a table by country and shipping method
In the admin you maintain a table with country, shipping method and fee. If a country has no entry of its own, a default fee applies. The table can be imported and exported as CSV so that changes in carrier prices are entered quickly. If cash on delivery does not apply to a country, you simply do not list it there, and the payment method does not appear in the checkout.
- Country, shipping method and fee in one table
- Default fee as fallback
- CSV import and export of the table
Calculation and tax of the Magento 2 Cash on Delivery Fee
The fee can be a fixed amount, a percentage of the order value or a combination with a minimum and a maximum. You choose a tax class so that the fee appears in totals, invoice and credit memo with the right rate. For partial credit memos the fee is refunded only if you configure it. Discounts and coupons do not change the fee unless you explicitly want them to.
- Fixed amount, percentage or combination with minimum and maximum
- Tax class for correct display
- Refund on credit memo configurable
Make the Magento 2 Cash on Delivery Fee visible in the checkout
As soon as the customer selects cash on delivery, the fee appears as a line of its own in the totals, and the grand total updates without a page reload. A note on the payment method names the fee even before selection, so nobody is surprised. Your email text and the order confirmation contain the line as well. The structure follows the Hyvä checkout and uses Alpine.js.
- Separate totals line, updated without reload
- Note on the payment method with the amount
- Fee in order confirmation and email
Free threshold, customer groups and exceptions
Above an order value you define, the fee is waived, for example as an incentive for larger orders. For single customer groups the fee can be switched off, for instance for regular customers. If free shipping is active, you decide whether the cash on delivery fee is still charged. All rules apply per website and store view.
- Free threshold by order value
- Customer groups without fee
- Rule for orders with free shipping
Where the Magento 2 Cash on Delivery Fee helps in daily work
Typical situations in shipping with cash on delivery where the Magento 2 Cash on Delivery Fee helps.
Small orders
The fee covers the carrier costs, so the margin of the order is not lost.
Shipping to Austria
Austria has a different fee than Germany without you having to create the payment method twice.
Express shipping
Express carries a higher fee than standard, and the table reflects that.
Promotion above an order value
Above a certain amount the fee is waived and creates an incentive for larger carts.
Magento 2 Cash on Delivery Fee compared: standard and module
The difference to the simple cash on delivery setting.
| Topic | Without module | With Mironsoft Cash on Delivery Fee |
|---|---|---|
| Amount of the fee | One setting for all | Table by country and shipping method |
| Calculation | Fixed amount only | Fixed amount, percentage, minimum and maximum |
| Tax | Not handled separately | Own tax class |
| Display | Often only in the totals | Note on the payment method and a separate line |
| Exceptions | None | Free threshold and customer groups |
How we set up the Magento 2 Cash on Delivery Fee for you
The process after you place the order.
Collecting fees
You tell us the cash on delivery costs of your carrier per country and shipping method.
Installation
We install the Magento 2 Cash on Delivery Fee and fill the table via CSV.
Tax and texts
We choose tax class, note per store view and rules for credit memos.
Checkout test
We check countries, shipping methods, threshold and the display in email and invoice.
Handover
Your team gets an introduction on how to update fees via CSV.
Delimitation from extra fees and payment restriction
The extra fee module from Mironsoft charges general fees, for example per category or customer group, independent of the payment method. Payment restriction hides payment methods by rules. The Magento 2 Cash on Delivery Fee is tailored to cash on delivery and knows country, shipping method and tax of this payment method.
The modules can be combined. Price indications and the disclosure of fees must comply with legal requirements; the review lies with the shop operator.
No download — personal setup instead
The Magento 2 Cash on Delivery Fee is not listed here as a ready-made download file for self-installation. The purchase is a service commission: we get in touch after the purchase, install the module in your shop and agree on fee table, tax class and texts together with you.
Frequently asked questions
Everything important about fees, tax, display and the purchase process.
How can I set up a cash on delivery fee in Magento 2?
Can the cash on delivery fee differ per country?
How is the cash on delivery fee calculated?
Is the fee shown on the invoice?
What happens with a credit memo?
Can I waive the fee above an order value?
Does the fee apply with free shipping?
Can I update fees from a file?
Does the Magento 2 Cash on Delivery Fee work with Hyvä?
Can I download and install the module myself?
Magento 2 Cash on Delivery Fee – Mironsoft