{"id":371117,"date":"2026-10-05T07:43:18","date_gmt":"2026-10-05T07:43:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/cod-anti-fraud-for-woocommerce\/"},"modified":"2026-10-05T07:42:54","modified_gmt":"2026-10-05T07:42:54","slug":"cod-anti-fraud-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/ug.wordpress.org\/plugins\/cod-anti-fraud-for-woocommerce\/","author":23463479,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.2","stable_tag":"1.1.2","tested":"7.1.3","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"COD Anti-Fraud for WooCommerce","header_author":"BeraLab","header_description":"Protegge gli e-commerce WooCommerce dalle frodi sui pagamenti in Contrassegno (Cash on Delivery) calcolando un punteggio di rischio e richiedendo la verifica del numero di cellulare via OTP WhatsApp prima di confermare l'ordine.","assets_banners_color":"504266","last_updated":"2026-10-05 07:42:54","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/beralabs.it","header_plugin_uri":"https:\/\/beralabs.it\/cod-anti-fraud.html","header_author_uri":"https:\/\/beralabs.it","rating":0,"author_block_rating":0,"active_installs":0,"downloads":175,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.1.2":{"tag":"1.1.2","author":"beralabs","date":"2026-10-05 07:42:54","revision":3728316}},"upgrade_notice":{"1.1.2":"<p>Upgrade to version 1.1.2 for security hardening and full WordPress.org standards compliance.<\/p>","1.1.1":"<p>Upgrade to version 1.1.1 for maintenance updates and latest compatibility verification.<\/p>","1.1.0":"<p>Upgrade to version 1.1.0 for WooCommerce HPOS support and enhanced security features.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3728319,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3728319,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3728319,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3728319,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.2"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Plugin settings page in WooCommerce Admin (<code>\/assets\/screenshot-1.png<\/code>).","2":"WhatsApp OTP verification box in WooCommerce checkout (<code>\/assets\/screenshot-2.png<\/code>).","3":"Anti-Fraud Risk Engine meta box in WooCommerce order details (<code>\/assets\/screenshot-3.png<\/code>)."}},"plugin_section":[],"plugin_tags":[23683,31179,9210,3160,286],"plugin_category":[45],"plugin_contributors":[266887],"plugin_business_model":[],"class_list":["post-371117","plugin","type-plugin","status-publish","hentry","plugin_tags-anti-fraud","plugin_tags-cash-on-delivery","plugin_tags-otp","plugin_tags-whatsapp","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-beralabs","plugin_committers-beralabs"],"banners":{"banner":"https:\/\/ps.w.org\/cod-anti-fraud-for-woocommerce\/assets\/banner-772x250.png?rev=3728319","banner_2x":"https:\/\/ps.w.org\/cod-anti-fraud-for-woocommerce\/assets\/banner-1544x500.png?rev=3728319","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/cod-anti-fraud-for-woocommerce\/assets\/icon-128x128.png?rev=3728319","icon_2x":"https:\/\/ps.w.org\/cod-anti-fraud-for-woocommerce\/assets\/icon-256x256.png?rev=3728319","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>COD Anti-Fraud for WooCommerce<\/strong> protects WooCommerce online stores from non-delivered or fraudulent Cash on Delivery (COD) orders by combining dynamic risk evaluation with mandatory WhatsApp OTP verification.<\/p>\n\n<h3>Key Features<\/h3>\n\n<ul>\n<li><strong>Dynamic Risk Engine:<\/strong> Calculates a 0-100 risk score based on guest checkout status, cart total, and past failed\/cancelled COD history.<\/li>\n<li><strong>WhatsApp OTP Verification:<\/strong> Automatically sends a 6-digit verification code to the customer's phone via WhatsApp before confirming COD orders.<\/li>\n<li><strong>Smart Thresholds &amp; Gateways:<\/strong> Configure minimum\/maximum cart amounts for COD, blacklist fraudulent phone numbers or emails, and whitelist trusted VIP customers.<\/li>\n<li><strong>Rate Limiting &amp; Anti-Brute-Force:<\/strong> Built-in rate limiter by phone number and IP address to prevent SMS\/WhatsApp flooding.<\/li>\n<li><strong>Multiple Gateway Support:<\/strong> Out-of-the-box integration with UltraMsg API, extensible for Twilio and custom WhatsApp gateways.<\/li>\n<li><strong>Seamless Checkout UX:<\/strong> Modern inline UI and responsive modal overlay integrated smoothly with WooCommerce checkout (both Classic and Block checkout).<\/li>\n<li><strong>Order Meta &amp; Admin Details:<\/strong> Transparent risk scores and verification timestamps displayed directly inside WooCommerce order details.<\/li>\n<li><strong>HPOS Compatible:<\/strong> Fully compatible with WooCommerce High-Performance Order Storage (HPOS).<\/li>\n<\/ul>\n\n<h3>External services<\/h3>\n\n<p>This plugin connects to the <strong>UltraMsg WhatsApp API<\/strong> to send One-Time Password (OTP) verification messages via WhatsApp to customers choosing the Cash on Delivery (COD) payment method.<\/p>\n\n<ul>\n<li><strong>Service Provider:<\/strong> UltraMsg (UltraMsg Inc.)<\/li>\n<li><strong>Service Website:<\/strong> <a href=\"https:\/\/ultramsg.com\/\">https:\/\/ultramsg.com\/<\/a><\/li>\n<li><strong>Terms of Service:<\/strong> <a href=\"https:\/\/ultramsg.com\/terms-conditions.php\">https:\/\/ultramsg.com\/terms-conditions.php<\/a><\/li>\n<li><strong>Privacy Policy:<\/strong> <a href=\"https:\/\/ultramsg.com\/privacy-policy.php\">https:\/\/ultramsg.com\/privacy-policy.php<\/a><\/li>\n<\/ul>\n\n<p><strong>What data is sent to UltraMsg?<\/strong>\n* The customer's mobile telephone number entered during checkout.\n* The dynamically generated 6-digit OTP verification code text.<\/p>\n\n<p>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.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>cod-anti-fraud-for-woocommerce<\/code> directory to your <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> menu in WordPress.<\/li>\n<li>Go to <strong>WooCommerce &gt; Settings &gt; COD Anti-Fraud<\/strong> to configure settings and your WhatsApp API credentials.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"is%20this%20plugin%20compatible%20with%20high-performance%20order%20storage%20%28hpos%29%3F\"><h3>Is this plugin compatible with High-Performance Order Storage (HPOS)?<\/h3><\/dt>\n<dd><p>Yes, COD Anti-Fraud for WooCommerce is fully compatible with HPOS (Custom Order Tables).<\/p><\/dd>\n<dt id=\"what%20whatsapp%20gateway%20is%20supported%3F\"><h3>What WhatsApp gateway is supported?<\/h3><\/dt>\n<dd><p>The plugin natively supports UltraMsg API and can be easily extended for Twilio and custom API gateways.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20the%20customer%20does%20not%20verify%20the%20otp%3F\"><h3>What happens if the customer does not verify the OTP?<\/h3><\/dt>\n<dd><p>If OTP verification is required based on settings or risk score, checkout submission is prevented until valid OTP verification is completed.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20work%20with%20guest%20checkout%3F\"><h3>Does this plugin work with guest checkout?<\/h3><\/dt>\n<dd><p>Yes, guest checkout is fully supported and analyzed with higher risk evaluation weights.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>WordPress.org standards compliance: sanitized superglobals, nonces validation, and output escaping.<\/li>\n<li>Unified settings option keys across all modules.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Maintenance release: version bump and compatibility verification.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added HPOS compatibility.<\/li>\n<li>Added customizable message templates for WhatsApp OTP.<\/li>\n<li>Enhanced risk engine algorithms and order history lookup.<\/li>\n<li>Added rate limiting and IP abuse protection.<\/li>\n<li>Added whitelist and blacklist management.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Protect WooCommerce Cash on Delivery (COD) orders against fraud by requiring WhatsApp OTP verification and calculating dynamic risk scores.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/371117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=371117"}],"author":[{"embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/beralabs"}],"wp:attachment":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=371117"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=371117"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=371117"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=371117"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=371117"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=371117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}