Configuration
Open Add-ons > Manage add-ons > COD Control > Settings. Rules, the blocklist, fees and statistics have their own pages under Orders > COD Control.
General
Section titled “General”| Setting | Default | Description |
|---|---|---|
| Enable | On | Turns the add-on’s checks and records on or off without uninstalling it. |
| Smallest COD order | 0 | Cash on delivery is hidden below this order total (store currency). 0 = no minimum. On Ultimate every storefront has its own value. |
| Largest COD order | 0 | Cash on delivery is hidden above this order total. 0 = no limit. The order total used by the limits and the value rules is the cart total after promotions, including shipping and taxes, without the COD fee. |
| Notice when COD is not offered | empty | Text above the payment methods when COD was hidden. Empty = a neutral default that never says why. A rule can carry its own text. |
| Show the notice at checkout | On | Prints the notice. |
| Vendors manage their own rules | On | Multi-Vendor only. See below. |
Confirmation
Section titled “Confirmation”| Setting | Default | Description |
|---|---|---|
| Ask customers to confirm | Rules only | Rules only: orders that match a “Ask to confirm” rule or the value below. Every COD order. Never. Trusted buyers are never asked. |
| Confirm orders from | 0 | COD orders from this total ask for a confirmation. 0 = off. |
| Confirmation by | Code and WhatsApp | Code: a one-time code to the order phone. WhatsApp: a link that opens a chat with your store number; your team confirms in the COD desk. Staff only: the customer waits for your call. |
| Code delivery | Automatic | Automatic uses Phone OTP Login when it is installed and set to a real delivery, otherwise SMS Notifications for Twilio. COD Control sends nothing itself. |
| Store WhatsApp number | empty | International number, digits only (15551234567). |
| Code length | 6 digits | 4, 6 or 8. |
| Code valid for (minutes) | 10 | 1 to 60. |
| Wrong codes allowed | 5 | After that the customer must ask for a new code. |
| Seconds between codes | 60 | Minimum wait between two codes for one order. |
| Codes per order | 4 | Limits per visitor address (15 an hour) and per phone number (6 a day) apply as well. |
| Cancel unconfirmed orders after (hours) | 0 | 0 = never. Needs the cron URL. Stock goes back through the core status change. |
| Status of cancelled orders | Canceled | |
| Status after confirmation | none | Optional: orders in status Open or Awaiting call move to this status when confirmed. |
Outcomes and automation
Section titled “Outcomes and automation”| Setting | Default | Description |
|---|---|---|
| Statuses that mean delivered and paid | Complete | A good delivery in the buyer’s history. |
| Statuses that mean refused at delivery | Refused at delivery | Counts as a refusal. |
| Statuses that mean returned to sender (RTO) | Returned to sender | Counts as a refusal too. |
| Block buyers after refused orders | 2 | 0 = never block automatically. |
| Cron job | The URL to call every 15 minutes. |
Client IP
Section titled “Client IP”The per-visitor limits use the real visitor address. Behind Cloudflare or a private reverse proxy the defaults work; see the tooltip of the setting for other proxies.
Orders > COD Control > Rules. A rule applies when all of its filled conditions match. Its effect is either Hide COD or Ask to confirm.
| Condition | Notes |
|---|---|
| Order total from / to | Store currency, before the COD fee. |
| Countries | “is one of” or “is not one of”. |
| States | US:CA, IN:MH, one per line. |
| Postcodes | Exact (10115), prefix (101*), range (10000-19999), limited to a country (DE:10*); “is one of” or “is not one of”. |
| Products, categories | Any product / category of the cart (parent categories count). |
| Customer groups | |
| Refused orders of the buyer from | The rule applies to buyers with at least this many refused or returned orders. |
Conditions on country, state and postcode are judged once the customer has entered the address. A rule can carry its own notice text.
Multi-Vendor
Section titled “Multi-Vendor”With Vendors manage their own rules on, vendors get Orders > COD Control in their panel with their own rules, blocklist, COD orders and statistics. A vendor’s rule is checked against that vendor’s share of the cart (value and products); because one payment method covers the whole checkout, a vendor rule that hides cash on delivery hides it for the whole cart. Vendors cannot confirm or cancel a checkout that includes other vendors’ orders, and they never see the marketplace’s rules or lists. Settings and cron are for the marketplace administrator. When the marketplace administrator uses Block buyer or Trust buyer on a vendor’s order, the choice is saved for the marketplace and for that order’s vendor; a vendor’s own click only changes the vendor’s list.