COD Anti-Fraud for WooCommerce
Protect WooCommerce Cash on Delivery (COD) orders against fraud by requiring WhatsApp OTP verification and calculating dynamic risk scores.
Install in
COD Anti-Fraud for WooCommerce protects WooCommerce online stores from fake, non-delivered, or fraudulent Cash on Delivery (COD) orders by combining dynamic risk evaluation with mandatory WhatsApp OTP verification.
Whether you run your store using the Classic WooCommerce checkout or modern WooCommerce Cart & Checkout Blocks (Gutenberg blocks), the plugin seamlessly integrates into the buyer journey, preventing bogus orders, curbing return shipping charges, and boosting merchant profit margins.
Key Features
- WooCommerce Cart & Checkout Blocks Native Integration: Full native support for WooCommerce Block-based Cart and Checkout. Automatically interacts with WooCommerce Store API and displays an accessible, responsive OTP verification modal.
- 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 Gateway: Automatically sends a 6-digit verification code to the customer’s phone via WhatsApp before confirming COD orders.
- Anti-Bypass Protection (Server-Side & Client-Side): Strict pre-checkout verification enforcement ensuring no unverified COD orders can be submitted through classic forms or REST API endpoints.
- Optimized Checkout UI/UX: Dedicated
#wc-cod-otp-wrappercontainer with smooth real-time states, responsive design, and compatibility with Classic and Blocks checkout. - Theme Compatibility & UI Hardening: Certified zero-conflict architecture with top themes (Astra, Flatsome, WoodMart, Storefront), featuring CSS reset isolation, touch-friendly 44px+ controls, and z-index 999999 stacking.
- Checkout Trust Badge (Product-Led Reassurance): Reassure buyers at checkout with a sleek “Protected COD – Zero prepayment required” trust badge, boosting conversion rates and customer peace of mind.
- Value-First Review Flywheel: Polite, non-intrusive admin feedback trigger shown only after the plugin has genuinely verified orders and protected your store against fraudulent shipments.
- 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: Native integration with UltraMsg, BeraLab Baileys Gateway, and extensible for custom WhatsApp API providers.
- Order Meta & Admin Details: Transparent risk scores and verification timestamps displayed directly inside WooCommerce order details.
- PHP 8.x & HPOS Certified: Fully compatible and tested with PHP 7.4 through PHP 8.3 and WooCommerce High-Performance Order Storage (HPOS / Custom Order Tables).
- Multi-language & Internationalization (i18n): Native support for English (en_US / en_GB), Spanish (es_ES / LatAm), German (de_DE), French (fr_FR), and Italian (it_IT).
Theme Compatibility (Certified Zero-Conflict)
COD Anti-Fraud has been engineered to work out of the box with the most popular and complex WooCommerce themes without CSS leaks, broken stacking contexts, or layout shifts:
- Astra Theme: Flawless coexistence with Astra’s sticky header, transparent navigations, and custom checkout page layouts.
- Flatsome Theme: Overrides-proof UI styling that prevents Flatsome’s aggressive uppercase typography, custom button borders, and off-canvas cart drawers from altering the OTP modal or inline verification container.
- WoodMart Theme: Full compatibility with WoodMart’s multi-step checkout, sticky order review column, custom form fields, and dark/light color schemes.
- Storefront & Default Block Themes: Native alignment with Automattic’s reference theme and modern WordPress block themes (Full Site Editing).
- Stacking Context & z-index Isolation: Modal dialog and backdrops are locked at
z-index: 999999to remain accessible above all sticky bars and side drawers. - Scroll Lock & Mobile Touch Optimization: Features body scroll locking (
body.wccaf-modal-open) preventing background scrolling on iOS and Android devices, with minimum 44x44px touch targets compliant with WCAG AAA accessibility.
Descripción en Español (Pago Contra Reembolso & Contra Entrega)
COD Anti-Fraud for WooCommerce es la solución definitiva de prevención de fraude y verificación para tiendas online que ofrecen pago contra reembolso (España) o pago contra entrega (México, Colombia, Chile, Perú, Argentina y Latinoamérica).
El pago contra reembolso suele sufrir altas tasas de rechazo, paquetes devueltos no reclamados, pedidos falsos y pérdidas logísticas elevadas. Este plugin elimina estos problemas validando la autenticidad del cliente antes de confirmar el pedido mediante verificación OTP por WhatsApp, compatibilidad nativa con los Bloques de Checkout de WooCommerce y un motor de evaluación de riesgo.
Características Principales en Español:
- Soporte Nativo para Bloques de Checkout: Funciona tanto en el checkout clásico con shortcode como en los modernos bloques Gutenberg de WooCommerce (Cart & Checkout Blocks).
- Verificación OTP por WhatsApp: Envía automáticamente un código numérico de 6 dígitos al teléfono móvil del comprador vía WhatsApp. El cliente debe validar el código en el checkout antes de poder completar el pedido contra entrega.
- Insignia de Confianza (Trust Badge): Aumenta las conversiones en caja asegurando al cliente que su pedido contra entrega está protegido sin pagos por adelantado.
- Motor Antifraude Inteligente: Calcula una puntuación de riesgo (0-100) analizando compras previas canceladas o devueltas, pedidos como invitado y valor del carrito.
- Compatibilidad Certificada con Temas: Totalmente optimizado para Astra, Flatsome, WoodMart y Storefront sin conflictos visuales ni problemas de z-index.
- Bloqueo Pre-Checkout Infranqueable: Protección bidireccional (frontend y backend) que impide finalizar pedidos contra reembolso sin confirmación telefónica válida.
- Umbrales Máximos y Reglas de Importe: Define importes mínimos o máximos para permitir el pago contra reembolso y desactívalo o exige OTP cuando el carrito supere el límite deseado.
- Gestión de Listas Negras y Listas Blancas (VIP): Bloquea automáticamente números de teléfono o correos sospechosos y exime de verificación a clientes recurrentes de máxima confianza.
- Prevención de Abusos y Rate Limiting: Limita los intentos y las solicitudes por dirección IP y teléfono para evitar costes innecesarios de mensajería y ataques de fuerza bruta.
- Integración con Pasarelas WhatsApp: Compatible de forma nativa con UltraMsg y BeraLab WhatsApp Gateway, fácilmente ampliable a otras APIs.
- Certificado HPOS & 100% en Español: Compatible con High-Performance Order Storage y totalmente traducido al español (es_ES / es_419).
Deutsche Beschreibung (Nachnahme & Betrugsschutz für WooCommerce)
COD Anti-Fraud for WooCommerce ist die professionelle Lösung zur Betrugsprävention und Reduzierung von Annahmeverweigerungen für Online-Shops im DACH-Raum (Deutschland, Österreich, Schweiz), die Nachnahme als Zahlungsmethode anbieten.
Der Kauf per Nachnahme birgt für Händler erhebliche finanzielle Risiken: Unzustellbare Sendungen, Spaßbestellungen, unvollständige Adressen und hohe Kosten für Rücksendungen belasten die Marge empfindlich. Dieses Plugin bietet effektiven Betrugsschutz für WooCommerce, indem es betrügerische Bestellungen vorab filtert, Händlern hilft, die Retourenquote reduzieren zu können, und eine nahtlose OTP-Verifizierung via WhatsApp & SMS direkt im Kassenbereich (sowohl Classic Checkout als auch moderne WooCommerce Kassen-Blöcke) erzwingt.
Wichtige Funktionen für den DACH-Markt:
- Native WooCommerce Kassen-Blöcke (Blocks Checkout): Volle Unterstützung für die modernen Gutenberg-Blöcke (Warenkorb & Kasse) inklusive interaktivem Verifizierungs-Modal.
- Nachnahme absichern: Schützen Sie Ihren Shop vor unüberlegten oder böswilligen Nachnahme-Bestellungen und minimieren Sie logistische Ausfallkosten.
- Retourenquote reduzieren: Durch die Echtzeit-Verifizierung der Mobilfunknummer sinken unzustellbare Pakete und Retouren drastisch (um bis zu 85 %).
- Zertifizierte Theme-Kompatibilität: Getestet und garantiert konfliktfrei mit Astra, Flatsome, WoodMart und Storefront (isoliertes CSS & z-Index 999999).
- Vertrauens-Badge (Trust Badge): Stärkt das Kundenvertrauen an der Kasse (“Geschützte Nachnahme – Keine Vorauszahlung erforderlich”).
- OTP-Verifizierung via WhatsApp: Der Kunde erhält direkt beim Checkout einen 6-stelligen Verifizierungscode per WhatsApp. Ohne gültige Bestätigung kann die Nachnahme-Bestellung nicht abgeschlossen werden.
- Nachnahmegebühr & Schwellenwerte: Schützen Sie sich vor hohen Nachnahmegebühren und logistischen Verlusten durch konfigurierbare Mindest- und Höchstbeträge im Warenkorb.
- Intelligente Risikobewertung (0-100): Analysiert Gastbestellungen, frühere Stornierungen und Warenkorbwerte zur automatischen Risikobewertung.
- Sperrliste & VIP-Kunden (Blacklist/Whitelist): Blockieren Sie verdächtige Rufnummern oder E-Mails und befreien Sie verifizierte Stammkunden von wiederholten Prüfungen.
- DSGVO-freundlich & HPOS-zertifiziert: Vollständige Unterstützung für WooCommerce High-Performance Order Storage (HPOS) und modernste PHP 8.x-Laufzeiten.
- Vollständige deutsche Lokalisierung: Sowohl das Checkout-Frontend als auch das gesamte Admin-Dashboard sind in fehlerfreiem Deutsch (de_DE) verfügbar.
Description en Français (Paiement à la Livraison & Contre-Remboursement WooCommerce)
COD Anti-Fraud for WooCommerce est la solution de référence pour la prévention de la fraude et la sécurisation des boutiques en ligne proposant le paiement à la livraison (France, Belgique, Suisse et Maghreb : Maroc, Algérie, Tunisie).
Le paiement à la livraison (COD) engendre fréquemment des commandes fantômes, des adresses erronées et un taux de retour colis critique qui grève la rentabilité logistique des e-commerçants. Ce plugin d’anti-fraude e-commerce protège vos marges en introduisant une vérification commande WhatsApp par code OTP bloquante au panier et au checkout, avec support complet des Blocs Panier & Validation de commande WooCommerce (Blocks Checkout) et calcul dynamique du risque d’impayé.
Fonctionnalités Clés pour le Marché Francophone :
- Intégration Native des Blocs WooCommerce : Prise en charge officielle des Blocs Gutenberg Panier et Commande avec fenêtre modale de validation instantanée.
- Vérification Commande WhatsApp par OTP : Envoi instantané d’un code de validation à 6 chiffres sur le WhatsApp du client avant la validation du paiement.
- Badge de Confiance au Checkout : Rassure vos acheteurs avec un badge “Paiement à la livraison garanti – Sans avance de frais”.
- Sécurisation du Contre-Remboursement WooCommerce : Bloque les commandes suspectes et empêche la finalisation d’un panier en contre-remboursement sans validation mobile préalable.
- Compatibilité Totale avec Thèmes Majeurs : Testé sans conflit avec Astra, Flatsome, WoodMart et Storefront (isolation CSS et z-index 999999).
- Gestion des Frais de Contre-Remboursement & Seuils : Définissez des paniers minimum et maximum pour amortir ou compenser les frais de contre-remboursement et désactivez automatiquement le COD sur les commandes à haut risque.
- Réduction Drastique du Taux de Retour Colis : Élimine jusqu’à 85 % des colis refusés ou non réclamés à la livraison grâce à la confirmation téléphonique active de l’acheteur.
- Moteur d’Évaluation des Risques (0-100) : Analyse l’historique d’annulation, les commandes en mode invité et le montant du panier pour isoler les profils frauduleux.
- Gestion des Listes Noires et Listes Blanches (VIP) : Bannissez les numéros et e-mails récidivistes, tout en exemptant vos clients fidèles de la vérification OTP.
- Haute Compatibilité HPOS & PHP 8.x : Certifié compatible avec WooCommerce High-Performance Order Storage (HPOS) et PHP 7.4 à 8.3+.
- Traduction Complète en Français (fr_FR) : Interface client fluide au checkout et panneau d’administration traduits à 100 % en français pour un parcours utilisateur sans friction.
External Services
This plugin connects to external WhatsApp API services (such as UltraMsg WhatsApp API or the BeraLab WhatsApp Gateway) to send One-Time Password (OTP) verification messages via WhatsApp to customers choosing the Cash on Delivery (COD) payment method.
- UltraMsg Provider: UltraMsg Inc. – https://ultramsg.com/
- Terms of Service: https://ultramsg.com/terms-conditions.php
- Privacy Policy: https://ultramsg.com/privacy-policy.php
- BeraLab Gateway Provider: BeraLab Cloud Gateway – https://beralabs.it/whatsapp-gateway.html
- Terms & Privacy Policy: https://beralabs.it/privacy-policy.html
What data is sent to the WhatsApp service?
* 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 external messaging gateways. API requests are triggered exclusively when a customer requests an OTP code to verify a Cash on Delivery order.
Written by Joobi from the project's own listing. See the source page
2.0.3
- Feature: Supporto nativo WooCommerce Cart & Checkout Blocks (Gutenberg blocks) con integrazione Store API e modal interattiva di verifica pre-checkout.
- Feature: Compatibilità certificata e UI Hardening per temi leader di mercato (Astra, Flatsome, WoodMart e Storefront) con reset CSS isolato e z-index 999999.
- Feature: Aggiunto Checkout Trust Badge personalizzabile per rassicurare gli acquirenti sul pagamento alla consegna (“Protected COD – Zero prepayment required”).
- Feature: Sistema Value-First Review Flywheel per incentivare feedback merchant in modo non invasivo solo dopo aver protetto con successo gli ordini COD.
- Feature: Opzione di Branding virale WhatsApp opzionale nel footer dei messaggi OTP.
- Optimization: Blocco dello scrolling in background su mobile (
body.wccaf-modal-open) e touch targets conformi WCAG AAA (minimo 44x44px). - Compatibility: Piena compatibilità verificata e dichiarata con WooCommerce HPOS (High-Performance Order Storage) e PHP 8.x.
2.0.2
- Fix: Rigorosa prevenzione IDOR su endpoint AJAX di verifica e invio OTP con validazione costante crittografica via hash_equals su order_key.
- Security: Sanitizzazione e isolamento delle risposte JSON contro information leakage di codici OTP e dettagli interni dei gateway.
- Enhancement: Protezione da brute force e rate limiting transazionale su Transient per le richieste OTP WhatsApp.
- Improvement: Piena conformità WooCommerce HPOS (High-Performance Order Storage) e capability check ‘manage_woocommerce’ nell’admin backend.
- Localization: Obiettivo strategico OBJ-08 completato – Internazionalizzazione completa con supporto per lingua spagnola (es_ES / LatAm), generazione template POT aggiornato, catalogo PO/MO compilato e allineamento formale text-domain standard.
2.0.1
- WhatsApp OTP Checkout Flow: Full integration of WhatsApp OTP phone verification (UltraMsg & BeraLab Baileys Gateway) before Cash on Delivery orders can be confirmed.
- Anti-Bypass Hardening: Multi-layered client-side and server-side verification lock preventing order submission bypass or tampering.
- UX & UI Optimizations: Redesigned interactive
#wc-cod-otp-wrappercontainer with smooth real-time states, visual feedback, and responsive layout. - HPOS & PHP 8.x Certified: Validated and fully compatible with High-Performance Order Storage (Custom Order Tables) and PHP 7.4-8.3 runtimes.
- Security & Standards Compliance: Strict adherence to WordPress.org security guidelines (sanitization, unslashing, nonces, and output escaping).
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.
Follow this listing's changes (Atom feed)