Description
Protect your WooCommerce store from fake Cash on Delivery (COD) orders, rapid duplicates, and repeat non-delivery (RTO) buyers—100% locally with zero external APIs or tracking.
Key Features
- Duplicate Order Cooldown: Block repeat orders by phone, email, or IP (strict or same-total).
- Smart RTO Blocker: Disable COD or block repeat cancelled/failed/refunded buyers, with Loyal Customer override.
- COD Amount Limits: Set minimum and maximum order totals for COD.
- Phone Normalization: Match local, formatted, and store country-code variants (e.g.,
+8801712-345678and01712345678), including manual and synced historical orders. - Blocklist & VIP Allowlist: Bulk-manage phones, emails, and IPs, plus 1-click Order Edit actions.
- Order Risk Scoring: Auto-score orders (
Low/Medium/High) with HPOS & Legacy badges and metabox. - Privacy-First Activity Log: Log up to 100 blocked attempts locally with auto-retention, IP anonymization, contact masking, and GDPR export/erase support.
- Classic & Block Checkout: Dynamic COD hiding on Classic Checkout; server-side protection on both Classic and Blocks.
Requirements
- WordPress 6.0+, PHP 7.4+, and WooCommerce 7.0+ (HPOS & Cart/Checkout Blocks compatible).
Privacy & Data Handling
- Runs 100% locally inside your WordPress database; no customer data is sent to third-party servers.
- Stores plugin settings (
cfdg_settings), auto-pruned activity logs (cfdg_logs, daily WP-Cron / 30-day default / max 100), a hashed phone index (cfdg_phone_index, no plaintext phones), and order risk meta (_cfdg_risk_*). - Integrates with WordPress Privacy Policy Guide, Personal Data Exporter, and Personal Data Eraser tools.
- Uninstalling deletes plugin settings, logs, and the hashed phone index; historical order risk meta remains on orders.
Trademark Notice
WooCommerce is a registered trademark of Automattic Inc. This plugin is an independent extension and is not affiliated with or endorsed by Automattic.
Screenshots







Installation
- Upload
codnoxa-cod-order-guard-for-woocommerceto/wp-content/plugins/or install via Plugins > Add New. - Ensure WooCommerce is installed and active.
- Activate Codnoxa – COD Fraud & Duplicate Order Guard for WooCommerce.
- Configure rules under WooCommerce > Codnoxa COD Guard.
FAQ
-
Does this plugin send customer data to external servers?
-
No. All phone normalization, history lookups, risk scoring, and logs run 100% locally inside WordPress with zero external APIs or tracking.
-
Is it compatible with WooCommerce HPOS?
-
Yes. HPOS (
custom_order_tables) compatibility is declared, all queries usewc_get_orders(), and both HPOS and Legacy order screens are supported. -
What happens when a repeat-cancelled buyer checks out?
-
In Smart Prepaid Fallback mode, COD is disabled so they must pay online. You can also choose Hard Block mode.
-
Can I whitelist VIP or wholesale customers?
-
Yes. Add their phone, email, or IP to the VIP Allowlist in settings or click Mark as VIP Trusted on any Order Edit screen.
-
Does it work with WooCommerce Checkout Blocks?
-
Yes.
cart_checkout_blockscompatibility is declared, and server-side validation and risk scoring run on both Classic Checkout and the Store API (Checkout Blocks). -
What data is removed on uninstall?
-
Uninstalling deletes plugin settings (
cfdg_settings), activity logs (cfdg_logs), and the hashed phone index (cfdg_phone_index). Historical order risk metadata stays attached to orders.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Codnoxa – COD Fraud & Duplicate Order Guard for WooCommerce” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Codnoxa – COD Fraud & Duplicate Order Guard for WooCommerce” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release.
- Duplicate Order Cooldown Guard (strict and matching-total modes for phone, email, and IP).
- Smart RTO / Repeat-Cancelled COD restriction with Loyal Customer override.
- COD minimum and maximum order amount limits.
- Manual Blocklist, VIP Allowlist, and 1-click Order Edit metabox actions.
- Local Order Risk Scoring (0-100) with HPOS and Legacy Orders column badges.
- Privacy-first Activity Log (max 100 entries, auto-retention) with IP anonymization, contact masking, and GDPR export/erase support.
- Classic Checkout and WooCommerce Checkout Blocks (Store API) server-side protection.
