Title: CODWarden: Stop Fake Cash on Delivery Orders for WooCommerce
Author: Iqbal Hossen
Published: <strong>December 4, 2026</strong>
Last modified: December 4, 2026

---

Search plugins

![](https://ps.w.org/codwarden/assets/banner-772x250.png?rev=3843591)

![](https://ps.w.org/codwarden/assets/icon-256x256.png?rev=3843591)

# CODWarden: Stop Fake Cash on Delivery Orders for WooCommerce

 By [Iqbal Hossen](https://profiles.wordpress.org/iqbal511138/)

[Download](https://downloads.wordpress.org/plugin/codwarden.1.0.1.zip)

 * [Details](https://wordpress.org/plugins/codwarden/#description)
 * [Reviews](https://wordpress.org/plugins/codwarden/#reviews)
 *  [Installation](https://wordpress.org/plugins/codwarden/#installation)
 * [Development](https://wordpress.org/plugins/codwarden/#developers)

 [Support](https://wordpress.org/support/plugin/codwarden/)

## Description

Cash on delivery is how most people pay in Bangladesh, India, Pakistan, the Gulf
and much of Africa. It is also where stores lose the most money: prank orders with
fake numbers, the same customer ordering five times, and parcels that come back 
because the buyer never meant to pay. Every one of those costs you courier fees 
and blocks stock.

CODWarden checks every cash on delivery order before WooCommerce accepts it.

#### What it does

 * **Real phone numbers only.** The billing phone must be a real mobile number for
   the customer’s country, so the courier can call. Built-in rules for Bangladesh,
   India, Pakistan, UAE, Saudi Arabia, Egypt, Morocco, Nigeria, Kenya, Nepal and
   Sri Lanka, and a sensible length check everywhere else.
 * **Order limits.** At most a few cash on delivery orders from the same phone or
   the same IP address in a time window you choose.
 * **Duplicate guard.** The same cart from the same phone within minutes is stopped
   with a friendly message.
 * **Refuser list.** Adds a “Refused” order status. Mark a returned parcel as Refused
   and the phone gets a strike; after the number of strikes you choose, cash on 
   delivery is turned off for that phone. Add or remove numbers by hand too.
 * **Amount rules.** Hide cash on delivery above an order total, or for first-time
   customers above a smaller total.
 * **Clear dashboard.** Cash on delivery orders this week, what was stopped and 
   why, and the phones on your refuser list.
 * Works with the classic checkout and the block checkout, and with High-Performance
   Order Storage.
 * Returning customers with a completed order and shop managers are never checked.
 * Other payment methods are never touched.

#### Privacy

Phone numbers and IP addresses are stored only as keyed fingerprints plus a shortened
label such as +8801712xxx678. CODWarden makes no external requests.

## Screenshots

[⌊Overview.⌉⌊Overview.⌉[

Overview.

[⌊Settings.⌉⌊Settings.⌉[

Settings.

[⌊Phone list.⌉⌊Phone list.⌉[

Phone list.

## Installation

 1. Install and activate CODWarden. WooCommerce must be active, with the Cash on delivery
    payment method enabled.
 2. Open CODWarden in the admin menu. The defaults are safe for most stores.
 3. When a parcel comes back, set that order’s status to “Refused”.

## FAQ

### Will real customers be blocked?

Only when a rule says so, and they always see a clear message and can pick another
payment method. Logged-in customers who already received a parcel are never checked.

### My country is not in the phone list.

CODWarden still requires 7 to 15 digits. You can turn the phone check off in Settings.

### Does it work behind Cloudflare?

CODWarden reads the visitor address from the server. Developers can change that 
with the `codwarden_client_ip` filter.

### Does it send data anywhere?

No.

### Is there a Pro version?

Yes. CODWarden Pro is a separate add-on: customers confirm their cash on delivery
order by email before you ship, orders nobody confirms cancel themselves, plus order
screen tools, a 30 day report, CSV export and alerts. Everything in the free plugin
stays free with no limits. See the Pro tab in CODWarden or https://wardenplugins.
com/plugins/codwarden/

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“CODWarden: Stop Fake Cash on Delivery Orders for WooCommerce” is open source software.
The following people have contributed to this plugin.

Contributors

 *   [ Iqbal Hossen ](https://profiles.wordpress.org/iqbal511138/)

[Translate “CODWarden: Stop Fake Cash on Delivery Orders for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/codwarden)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/codwarden/), check 
out the [SVN repository](https://plugins.svn.wordpress.org/codwarden/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/codwarden/) by [RSS](https://plugins.trac.wordpress.org/log/codwarden/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.1

 * New Pro page with plans and prices.

#### 1.0.0

 * First release.

## Meta

 *  Version **1.0.1**
 *  Last updated **7 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [cash on delivery](https://wordpress.org/plugins/tags/cash-on-delivery/)[cod](https://wordpress.org/plugins/tags/cod/)
   [fake orders](https://wordpress.org/plugins/tags/fake-orders/)[fraud](https://wordpress.org/plugins/tags/fraud/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/codwarden/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/codwarden/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/codwarden/reviews/)

## Contributors

 *   [ Iqbal Hossen ](https://profiles.wordpress.org/iqbal511138/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/codwarden/)