Title: Omni COD Return Risk Shield for WooCommerce
Author: Devlusion
Published: <strong>December 5, 2026</strong>
Last modified: December 5, 2026

---

Search plugins

![](https://ps.w.org/omni-cod-return-risk-shield-for-woocommerce/assets/banner-772x250.
png?rev=3846673)

![](https://ps.w.org/omni-cod-return-risk-shield-for-woocommerce/assets/icon-256x256.
png?rev=3846673)

# Omni COD Return Risk Shield for WooCommerce

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

[Download](https://downloads.wordpress.org/plugin/omni-cod-return-risk-shield-for-woocommerce.1.0.1.zip)

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

 [Support](https://wordpress.org/support/plugin/omni-cod-return-risk-shield-for-woocommerce/)

## Description

**Omni by Devlusion — COD Return Risk Shield** helps Sri Lankan WooCommerce merchants
identify repeat Cash-on-Delivery (COD) returners before dispatching parcels, while
strictly protecting buyer privacy.

#### Key Features

 * **Full-Width Order Risk Banner & All Orders Column:** View _Risk of Return_, 
   _Returns Frequency_, and _Buyer Country Tag_ directly above every WooCommerce
   order (fully HPOS / High-Performance Order Storage compatible).
 * **Universal Phone Normalization:** Automatically normalizes all Sri Lankan mobile
   formats (`07x`, `7x`, `+947x`, `+9407x`, `0094...`, spaces/hyphens), all 28 TRCSL
   regional landlines (`011`, `081`, `091`, etc.), and international phone numbers.
 * **Fault-Aware 8-Reason Return Marking:** Mark returned orders with 8 clear tick-
   box reasons. Only customer-fault refusals add a strike; merchant packing errors,
   courier damage, and exchanges never penalize the buyer. Reversible in 1 click.
 * **Omni Shield Analytics Dashboard:** Dedicated WordPress admin menu showing store-
   specific COD analytics and synced monthly quota.
 * **Live & Staging Simulator Modes:** Test safely on LocalWP or staging sites with
   zero quota usage and pre-set simulation phone numbers (`0770009999`, `0770001111`,`
   0770002222`, `0770000000`).

### External Services

This plugin connects to the **Omni by Devlusion Cloud API** (`https://api.omni.devlusion.
com`) to compute anonymous Cash-on-Delivery (COD) return risk assessments, record
fault-aware return events, and display store-specific analytics.

 * **What data is sent:** When you explicitly opt in to connect your store or configure
   your API keys, the plugin sends your WordPress site URL (`home_url()`), store
   name, and—when a WooCommerce order is created or marked as returned—the order
   reference, payment method, order total, and normalized customer phone number.
 * **How customer privacy is protected:** Customer phone numbers are encrypted using
   AES-256-GCM for your private store record and converted to salted SHA-256 hashes
   for cross-merchant risk scoring. Plaintext phone numbers are never shared, sold,
   or exposed to other merchants.
 * **Staging / Simulation Mode:** When Staging Mode is active, requests are never
   added to the shared COD Risk Network and consume 0 monthly quota.
 * **Service Provider:** Devlusion (Pvt) Ltd (Sri Lanka)
 * **Terms of Service:** https://omni.devlusion.com/terms-and-conditions
 * **Privacy Policy:** https://omni.devlusion.com/privacy-policy

## Installation

 1. Upload the `omni-cod-return-risk-shield-for-woocommerce` folder to `/wp-content/
    plugins/` or upload `omni-cod-return-risk-shield-for-woocommerce-1.0.0.zip` via**
    Plugins > Add New > Upload Plugin**.
 2. Activate the plugin through the **Plugins** menu in WordPress (requires WooCommerce
    8.0+). No external requests are made on activation.
 3. Open **WooCommerce > Settings > Omni by Devlusion** (or **Omni Shield** in the 
    sidebar) and click **Activate Free COD Shield (Opt-In)** for 25 free COD checks/
    month (no account required), or enter your existing Merchant ID and API Key.
 4. To test safely without affecting live data, select **Staging / Simulation Mode**
    in Settings and create a test COD order using sample phone numbers (`0770009999`
    High Risk, `0770001111` Medium Risk, `0770002222` Low Risk).
 5. Open **Omni Shield** in the WordPress sidebar to view store analytics and synced
    monthly quota usage.

## FAQ

### Is this plugin free?

Yes. The plugin itself is 100% open-source (GPLv2+). Connecting to the Omni Cloud
API includes **Omni Free** (25 live COD assessments/month at LKR 0) and an optional**
Omni Basics** subscription (LKR 450/month for unlimited live assessments).

### Is it compatible with WooCommerce HPOS (High-Performance Order Storage)?

Yes. HPOS compatibility is explicitly declared via `FeaturesUtil::declare_compatibility('
custom_order_tables', ...)`.

### Do you share my customers’ phone numbers with other stores?

Never. Only anonymous risk badges derived from salted SHA-256 hashes are returned.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Omni COD Return Risk Shield for WooCommerce” is open source software. The following
people have contributed to this plugin.

Contributors

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

[Translate “Omni COD Return Risk Shield for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/omni-cod-return-risk-shield-for-woocommerce)

### Interested in development?

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

## Changelog

#### 1.0.1

 * Fix: Opt-In banner now hides immediately after clicking “Activate Free COD Shield(
   Opt-In)” and displays a Connected status bar with activation confirmation.
 * Fix: Zero-account Opt-In stores now authenticate API calls and analytics using
   their site-bound shop token without requiring a Merchant Portal ID.
 * Improvement: Production WordPress.org builds now lock directly to https://api.
   omni.devlusion.com and hide the Omni API Endpoint URL input from merchant settings(
   custom endpoint URL remains available for UAT/DEV via OMNI_ALLOW_CUSTOM_API_URL).

#### 1.0.0

 * Initial public release with HPOS full-width Risk of Return banner, universal 
   Sri Lankan & international phone normalization, 8 Fault-Aware Return Reasons,
   Omni Shield Analytics menu, and Live/Staging Simulator modes.

## Meta

 *  Version **1.0.1**
 *  Last updated **3 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 8.1 or higher **
 * Tags
 * [cash on delivery](https://wordpress.org/plugins/tags/cash-on-delivery/)[cod](https://wordpress.org/plugins/tags/cod/)
   [fraud prevention](https://wordpress.org/plugins/tags/fraud-prevention/)[sri lanka](https://wordpress.org/plugins/tags/sri-lanka/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/omni-cod-return-risk-shield-for-woocommerce/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/omni-cod-return-risk-shield-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/omni-cod-return-risk-shield-for-woocommerce/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/omni-cod-return-risk-shield-for-woocommerce/)