PHPackages                             it4mage/cashondelivery - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. it4mage/cashondelivery

ActiveMagento2-module[Payment Processing](/categories/payments)

it4mage/cashondelivery
======================

1.2.12(7y ago)255.3k21[25 issues](https://github.com/it4mage/CashOnDelivery/issues)[2 PRs](https://github.com/it4mage/CashOnDelivery/pulls)OSL 3.0PHPPHP ^7.0|^7.1

Since Jul 19Pushed 4y ago7 watchersCompare

[ Source](https://github.com/it4mage/CashOnDelivery)[ Packagist](https://packagist.org/packages/it4mage/cashondelivery)[ RSS](/packages/it4mage-cashondelivery/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (30)Used By (0)

Cash On Delivery for Magento 2
==============================

[](#cash-on-delivery-for-magento-2)

This module is a Cash On Delivery implementation for Magento2 allowing you to define an additional fee based on destination country, region and total amount.

[![](https://github.com/it4mage/CashOnDelivery/raw/master/screenshots/screen4.png)](https://github.com/it4mage/CashOnDelivery/blob/master/screenshots/screen4.png)

Note: This module superseeds [https://github.com/magespecialist/m2-MSP\_CashOnDelivery](https://github.com/magespecialist/m2-MSP_CashOnDelivery)

Main features:
--------------

[](#main-features)

- Multiple currencies allowed
- Multi store allowed
- Percent or static fee supported
- Fee per country / region / amount
- Default fee fallback
- Multi website support
- Exclude specific regions

Installing in your Magento
--------------------------

[](#installing-in-your-magento)

- From your CLI run: `composer require it4mage/cashondelivery`
- Log-in your Magento backend
- Go to Stores &gt; Configuration &gt; Sales &gt; Payment Methods &gt; Cash On Delivery
- Configure Cash On Delivery according to your preferences

[![](https://github.com/it4mage/CashOnDelivery/raw/master/screenshots/screen1.png)](https://github.com/it4mage/CashOnDelivery/blob/master/screenshots/screen1.png)

### Configuring fees

[](#configuring-fees)

- Log-in your Magento backend
- Go to Stores &gt; Configuration &gt; Sales &gt; Payment Methods &gt; Cash On Delivery
- Scroll down untill you see **Export CSV** button
- Click and download **msp\_cashondelivery.csv** file
- Change the CSV file and upload using the "browse" button
- Save

[![](https://github.com/it4mage/CashOnDelivery/raw/master/screenshots/screen2.png)](https://github.com/it4mage/CashOnDelivery/blob/master/screenshots/screen2.png)

### CSV syntax

[](#csv-syntax)

MSP Cash On Delivery CSV file syntax is really simple. You have 5 columns: **country**, **region**, **from\_amount**, **fee**, **website**

- **country**: ISO 2 letters country code. Use \* as wildcard to indicate all countries
- **region**: Region name. Use \* as wildcard to indicate all regions
- **from\_amount**: Indicates the minimum amount to apply the additional fee
- **fee**: The fee to apply (in base currency). Adding **%** after the fee indicates a percent value
- **website**: Magento website code (e.g.: *base*). Use \* as wildcard to indicate all websites

[![](https://github.com/it4mage/CashOnDelivery/raw/master/screenshots/screen3.png)](https://github.com/it4mage/CashOnDelivery/blob/master/screenshots/screen3.png)

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~27 days

Recently: every ~64 days

Total

28

Last Release

2899d ago

Major Versions

0.2.0 → 1.0.02016-08-22

PHP version history (2 changes)0.1.0PHP ~5.5.0|~5.6.0|~7.0.0

1.2.9PHP ^7.0|^7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/eca104631fd7f6aff6d399ca16458c4d9814770756af0ecca22ffe2b1c5704d3?d=identicon)[mmenozzi](/maintainers/mmenozzi)

---

Top Contributors

[![phoenix128](https://avatars.githubusercontent.com/u/10189093?v=4)](https://github.com/phoenix128 "phoenix128 (19 commits)")[![mmenozzi](https://avatars.githubusercontent.com/u/1199914?v=4)](https://github.com/mmenozzi "mmenozzi (6 commits)")[![giacmir](https://avatars.githubusercontent.com/u/447940?v=4)](https://github.com/giacmir "giacmir (5 commits)")[![azambon](https://avatars.githubusercontent.com/u/2920227?v=4)](https://github.com/azambon "azambon (4 commits)")[![shanavas786](https://avatars.githubusercontent.com/u/5337197?v=4)](https://github.com/shanavas786 "shanavas786 (4 commits)")[![fballiano](https://avatars.githubusercontent.com/u/909743?v=4)](https://github.com/fballiano "fballiano (3 commits)")[![slackerzz](https://avatars.githubusercontent.com/u/3061752?v=4)](https://github.com/slackerzz "slackerzz (2 commits)")[![AndreaRivadossi](https://avatars.githubusercontent.com/u/4124956?v=4)](https://github.com/AndreaRivadossi "AndreaRivadossi (2 commits)")[![fabianaromagnoli](https://avatars.githubusercontent.com/u/23638004?v=4)](https://github.com/fabianaromagnoli "fabianaromagnoli (1 commits)")[![renatocason](https://avatars.githubusercontent.com/u/7037728?v=4)](https://github.com/renatocason "renatocason (1 commits)")[![cdlate](https://avatars.githubusercontent.com/u/1154278?v=4)](https://github.com/cdlate "cdlate (1 commits)")[![galanis-a](https://avatars.githubusercontent.com/u/6358839?v=4)](https://github.com/galanis-a "galanis-a (1 commits)")

### Embed Badge

![Health badge](/badges/it4mage-cashondelivery/health.svg)

```
[![Health](https://phpackages.com/badges/it4mage-cashondelivery/health.svg)](https://phpackages.com/packages/it4mage-cashondelivery)
```

###  Alternatives

[omise/omise-magento

Accept payments on your Magento 2 website with Omise

3419.2k](/packages/omise-omise-magento)[worldpay/magento2-module-payments

Worldpay Payments

1416.6k](/packages/worldpay-magento2-module-payments)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
