📊 State of Magento 2025

The Home for Magento 2 Excellence

Quality-tested Magento 2 modules. Explore. Evaluate. Elevate. #magento2

615 Modules
403 Ready
211 Need Help
🏆 Leaderboard
Actively Maintained v1.0.2

Cash On Delivery Fee

espertomagento/cash-on-delivery-fee

Adds a configurable fee to the Cash on Delivery payment method in Magento 2. The fee is displayed in the checkout and order totals.

4
Downloads
Below average
0
GitHub Stars
1d ago
Last Release
0
Open Issues
Build Issues
2/3 checks passed

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
2 errors , 77 warnings
PHPStan Failed

Tested on Magento 2.4.8-p3

Recent Test History

Each release is tested against the latest Magento version at that time.

v1.0.2 on Magento 2.4.8-p3
Feb 11, 2026

Looking for Contributors

Dependency injection compilation fails. Your contribution could help the entire Magento community!

Contribute

Share This Module's Status

Cash On Delivery Fee Magento compatibility status badge

README

Loaded from GitHub

Cash on Delivery Fee

this module adds a configurable fee for the Magento2 default cash on delivery payment Method

Install:

From Magento2 root dir:

composer require espertomagento/cash-on-delivery-fee
bin/magento module:enable EspertoMagento_CashOnDeliveryFee
bin/magento setup:upgrade

also, if in production mode:

bin/magento setup:static-content:deploy

Usage

Go to Stores -> Configuration -> Sales -> Payment Methods If the Module has been installed successfully, there should be a new Configuration "Cash on Delivery Fee" under the Cash on Delivery Payment Method with a default value of 0.0

The Fee total will display in the Checkout and Order totals as soon as the Cash on Delivery Payment Method has been used and the value of the Fee is > 0.

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.