Title: COD Anti-Fraud for WooCommerce
Author: beralabs
Published: <strong>October 5, 2026</strong>
Last modified: October 5, 2026

---

Search plugins

![](https://ps.w.org/cod-anti-fraud-for-woocommerce/assets/banner-772x250.png?rev
=3728319)

![](https://ps.w.org/cod-anti-fraud-for-woocommerce/assets/icon-256x256.png?rev=
3728319)

# COD Anti-Fraud for WooCommerce

 By [beralabs](https://profiles.wordpress.org/beralabs/)

[Download](https://downloads.wordpress.org/plugin/cod-anti-fraud-for-woocommerce.1.1.2.zip)

 * [Details](https://wordpress.org/plugins/cod-anti-fraud-for-woocommerce/#description)
 * [Reviews](https://wordpress.org/plugins/cod-anti-fraud-for-woocommerce/#reviews)
 *  [Installation](https://wordpress.org/plugins/cod-anti-fraud-for-woocommerce/#installation)
 * [Development](https://wordpress.org/plugins/cod-anti-fraud-for-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/cod-anti-fraud-for-woocommerce/)

## Description

**COD Anti-Fraud for WooCommerce** protects WooCommerce online stores from non-delivered
or fraudulent Cash on Delivery (COD) orders by combining dynamic risk evaluation
with mandatory WhatsApp OTP verification.

### Key Features

 * **Dynamic Risk Engine:** Calculates a 0-100 risk score based on guest checkout
   status, cart total, and past failed/cancelled COD history.
 * **WhatsApp OTP Verification:** Automatically sends a 6-digit verification code
   to the customer’s phone via WhatsApp before confirming COD orders.
 * **Smart Thresholds & Gateways:** Configure minimum/maximum cart amounts for COD,
   blacklist fraudulent phone numbers or emails, and whitelist trusted VIP customers.
 * **Rate Limiting & Anti-Brute-Force:** Built-in rate limiter by phone number and
   IP address to prevent SMS/WhatsApp flooding.
 * **Multiple Gateway Support:** Out-of-the-box integration with UltraMsg API, extensible
   for Twilio and custom WhatsApp gateways.
 * **Seamless Checkout UX:** Modern inline UI and responsive modal overlay integrated
   smoothly with WooCommerce checkout (both Classic and Block checkout).
 * **Order Meta & Admin Details:** Transparent risk scores and verification timestamps
   displayed directly inside WooCommerce order details.
 * **HPOS Compatible:** Fully compatible with WooCommerce High-Performance Order
   Storage (HPOS).

### External services

This plugin connects to the **UltraMsg WhatsApp API** to send One-Time Password (
OTP) verification messages via WhatsApp to customers choosing the Cash on Delivery(
COD) payment method.

 * **Service Provider:** UltraMsg (UltraMsg Inc.)
 * **Service Website:** [https://ultramsg.com/](https://ultramsg.com/)
 * **Terms of Service:** [https://ultramsg.com/terms-conditions.php](https://ultramsg.com/terms-conditions.php)
 * **Privacy Policy:** [https://ultramsg.com/privacy-policy.php](https://ultramsg.com/privacy-policy.php)

**What data is sent to UltraMsg?**
 * The customer’s mobile telephone number entered
during checkout. * The dynamically generated 6-digit OTP verification code text.

No customer passwords, credit card numbers, billing addresses, or purchase history
details are shared with UltraMsg. API requests are triggered exclusively when a 
customer requests an OTP code to verify a Cash on Delivery order.

## Installation

 1. Upload the `cod-anti-fraud-for-woocommerce` directory to your `/wp-content/plugins/`
    directory.
 2. Activate the plugin through the **Plugins** menu in WordPress.
 3. Go to **WooCommerce > Settings > COD Anti-Fraud** to configure settings and your
    WhatsApp API credentials.

## FAQ

### Is this plugin compatible with High-Performance Order Storage (HPOS)?

Yes, COD Anti-Fraud for WooCommerce is fully compatible with HPOS (Custom Order 
Tables).

### What WhatsApp gateway is supported?

The plugin natively supports UltraMsg API and can be easily extended for Twilio 
and custom API gateways.

### What happens if the customer does not verify the OTP?

If OTP verification is required based on settings or risk score, checkout submission
is prevented until valid OTP verification is completed.

### Does this plugin work with guest checkout?

Yes, guest checkout is fully supported and analyzed with higher risk evaluation 
weights.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“COD Anti-Fraud for WooCommerce” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ beralabs ](https://profiles.wordpress.org/beralabs/)

[Translate “COD Anti-Fraud for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/cod-anti-fraud-for-woocommerce)

### Interested in development?

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

## Changelog

#### 1.1.2

 * WordPress.org standards compliance: sanitized superglobals, nonces validation,
   and output escaping.
 * Unified settings option keys across all modules.

#### 1.1.1

 * Maintenance release: version bump and compatibility verification.

#### 1.1.0

 * Added HPOS compatibility.
 * Added customizable message templates for WhatsApp OTP.
 * Enhanced risk engine algorithms and order history lookup.
 * Added rate limiting and IP abuse protection.
 * Added whitelist and blacklist management.

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.1.2**
 *  Last updated **2 days ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.1.3**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [anti-fraud](https://wordpress.org/plugins/tags/anti-fraud/)[cash on delivery](https://wordpress.org/plugins/tags/cash-on-delivery/)
   [otp](https://wordpress.org/plugins/tags/otp/)[whatsapp](https://wordpress.org/plugins/tags/whatsapp/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/cod-anti-fraud-for-woocommerce/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/cod-anti-fraud-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cod-anti-fraud-for-woocommerce/reviews/)

## Contributors

 *   [ beralabs ](https://profiles.wordpress.org/beralabs/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/cod-anti-fraud-for-woocommerce/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://beralabs.it)