Title: Threshold: COD Rules for WooCommerce
Author: flyingstar
Published: <strong>November 18, 2026</strong>
Last modified: November 18, 2026

---

Search plugins

![](https://ps.w.org/threshold-cod-rules-for-woocommerce/assets/banner-772x250.png?
rev=3809255)

![](https://ps.w.org/threshold-cod-rules-for-woocommerce/assets/icon-256x256.png?
rev=3809255)

# Threshold: COD Rules for WooCommerce

 By [flyingstar](https://profiles.wordpress.org/star2727/)

[Download](https://downloads.wordpress.org/plugin/threshold-cod-rules-for-woocommerce.0.1.0.zip)

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

 [Support](https://wordpress.org/support/plugin/threshold-cod-rules-for-woocommerce/)

## Description

A refused Cash on Delivery order costs you shipping both ways, a locked-up product
and a lost sale. Threshold gives you the controls to stop that, and a dashboard 
that shows how much it saves.

**Get a part of the money before you ship**

Partial COD asks the customer for a percent or fixed advance. They pay it online
with any payment method you already use, and the order then shows only the balance
to collect on delivery. A customer who has paid something rarely refuses at the 
door. You can also set a lowest advance that covers your shipping cost, so a refusal
never loses money, whatever the order value.

**Decide when COD is offered**

 * Show COD only inside the order value range you choose.
 * Hide COD, allow it, or ask for an advance by country, state, postcode (ranges
   and wildcards), customer type, user role, product, category, shipping class or
   shipping method.
 * Each rule reads as one plain line and has its own message for the customer.

**Charge for the handling**

 * COD fee: fixed, percent, or both, with a lowest and highest amount, optional 
   tax and your own label.

**See what it does for you**

 * A dashboard with COD orders, advance collected, balance to collect, refusal rate
   and the money kept from refusals.
 * “Does the advance help?” compares the refusal rate with and without an advance,
   using your own orders.
 * A widget on the WordPress Dashboard for a quick look.

**Built to stay out of your way**

 * Works with the classic checkout and the block checkout. Compatible with High-
   Performance Order Storage.
 * Nothing runs on ordinary page views. Classes load only when needed, and the data
   lives in one small table of its own.
 * Customers get an email asking for the advance and another when it is received.
   Unpaid advances cancel after the hours you set and stock is released.
 * Order actions: mark the balance collected, or record that the customer refused
   delivery.

**How the advance works**

The customer’s order keeps its full total. A small linked order for the advance 
amount is created and paid through WooCommerce’s normal pay-for-order page, so every
payment gateway you already use works without extra setup. When it is paid, the 
main order is updated and the balance due is shown to the customer and to you.

**Good to know**

 * Offline gateways such as bank transfer confirm the advance only when you mark
   the advance order as paid.
 * The COD fee is calculated from the cart contents plus shipping.

### Threshold Pro

Threshold Pro is available now for stores that want to go further. It is a separate
download for one site, with updates included, and it replaces the free plugin without
losing your settings or data.

**What Pro adds**

 * A risk score for every COD order, with the reasons shown on the order. It can
   flag the order, ask for an advance, send an email code or hide COD.
 * Customer risk: blocklist, repeat refusals, and an advance for first-time customers.
 * An email code (OTP) to confirm COD orders before you ship.
 * Day and time rules and sale periods.
 * Fee and advance tiers by order value.
 * Reminders for unpaid advances, minute-level auto cancel, and signed webhooks.
 * A courier update API to mark delivered or returned orders.
 * A pincode checker for the product page.
 * CSV export of your COD orders.

**Get Threshold Pro:** https://threshold.flyingstar.in/

## Screenshots

[⌊The dashboard: COD orders, advance collected, balance to collect and refusal rate
for 7, 30, 90 or 365 days, with refusals by pincode.⌉⌊The dashboard: COD orders,
advance collected, balance to collect and refusal rate for 7, 30, 90 or 365 days,
with refusals by pincode.⌉[

The dashboard: COD orders, advance collected, balance to collect and refusal rate
for 7, 30, 90 or 365 days, with refusals by pincode.

[⌊Checkout: the customer sees how much to pay now and how much on delivery.⌉⌊Checkout:
the customer sees how much to pay now and how much on delivery.⌉[

Checkout: the customer sees how much to pay now and how much on delivery.

[⌊Partial COD settings, with a calculator that shows what a real order looks like.⌉⌊
Partial COD settings, with a calculator that shows what a real order looks like.⌉[

Partial COD settings, with a calculator that shows what a real order looks like.

[⌊Rules: hide COD in some places, offer it only to some customers, or ask for an
advance. Each rule reads as one line.⌉⌊Rules: hide COD in some places, offer it 
only to some customers, or ask for an advance. Each rule reads as one line.⌉[

Rules: hide COD in some places, offer it only to some customers, or ask for an advance.
Each rule reads as one line.

[⌊COD fee settings with a live example.⌉⌊COD fee settings with a live example.⌉[

COD fee settings with a live example.

[⌊The orders list shows which COD orders have a balance to collect.⌉⌊The orders 
list shows which COD orders have a balance to collect.⌉[

The orders list shows which COD orders have a balance to collect.

[⌊An order with its advance, the linked advance order and the COD balance.⌉⌊An order
with its advance, the linked advance order and the COD balance.⌉[

An order with its advance, the linked advance order and the COD balance.

[⌊Does the advance help? Refusal rate with and without an advance.⌉⌊Does the advance
help? Refusal rate with and without an advance.⌉[

Does the advance help? Refusal rate with and without an advance.

[⌊The page the customer pays the advance on, with any payment method you use.⌉⌊The
page the customer pays the advance on, with any payment method you use.⌉[

The page the customer pays the advance on, with any payment method you use.

[⌊The WordPress Dashboard widget: orders, balance to collect and refusal rate for
the last 7 days.⌉⌊The WordPress Dashboard widget: orders, balance to collect and
refusal rate for the last 7 days.⌉[

The WordPress Dashboard widget: orders, balance to collect and refusal rate for 
the last 7 days.

## Installation

 1. Upload the plugin and activate it. WooCommerce must be active.
 2. Make sure Cash on Delivery is enabled in WooCommerce > Settings > Payments.
 3. Open WooCommerce > Threshold and set your limits, fee and advance.

## FAQ

### Does it work with the block checkout?

Yes. The fee, the advance note and the redirect to the advance payment page all 
work with the block checkout and the classic checkout.

### Which payment gateways can take the advance?

Any gateway that works on WooCommerce’s pay-for-order page. Cash on Delivery itself
is removed from that page.

### Is there a Pro version?

Yes. Threshold Pro adds the risk score, email code confirmation, day and time rules,
tiers, courier API and CSV export. See https://threshold.flyingstar.in/.

### Will it slow my store down?

No. It runs only at checkout and in its own admin screens, keeps its data in one
small table, and does any heavy work in the background.

### Where do the advance orders appear?

They are hidden from the orders list so they do not look like extra sales, and each
one is linked from its main order. WooCommerce Analytics does not count them as 
revenue.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Threshold: COD Rules for WooCommerce” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ flyingstar ](https://profiles.wordpress.org/star2727/)

[Translate “Threshold: COD Rules for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/threshold-cod-rules-for-woocommerce)

### Interested in development?

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

## Changelog

#### 0.1.0

 * First release.

## Meta

 *  Version **0.1.0**
 *  Last updated **11 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [cash on delivery](https://wordpress.org/plugins/tags/cash-on-delivery/)[cod](https://wordpress.org/plugins/tags/cod/)
   [cod fee](https://wordpress.org/plugins/tags/cod-fee/)[partial payment](https://wordpress.org/plugins/tags/partial-payment/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/threshold-cod-rules-for-woocommerce/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/threshold-cod-rules-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/threshold-cod-rules-for-woocommerce/reviews/)

## Contributors

 *   [ flyingstar ](https://profiles.wordpress.org/star2727/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/threshold-cod-rules-for-woocommerce/)