COD Anti-Fraud for WooCommerce

چۈشەندۈرۈش

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.

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.

ئورنىتىش

  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.

باھالاشلار

بۇ قىستۇرمىغا تېخى باھا يېزىلمىدى.

تۆھپىكار ۋە ئىجادكار

«COD Anti-Fraud for WooCommerce» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە قوشقان.

تۆھپىكار

«COD Anti-Fraud for WooCommerce» نى تىلىڭىزغا تەرجىمە قىلىڭ

ئىجادىيەتكە قىزىقامسىز؟

كودقا كۆز يۈگۈرتۈپ، SVN خەزىنە تەكشۈرۈپ ياكى RSSئارقىلىق ئىجادىيەت خاتىرىسىگە مۇشتەرى بولغىلى بولىدۇ.

ئۆزگىرىش خاتىرىسى

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.