Cash on Delivery in WooCommerce: How to Offer COD in India Without Losing Money to RTO and Fake Orders
Set up cash on delivery in WooCommerce for India: enable COD, limit it by amount, pin code or product, add a COD fee, confirm orders, cut RTO and fakes.

On this page
- What COD really costs
- Step 1: Enable COD in WooCommerce
- Step 2: Limit where COD is offered
- Step 3: Add a COD fee, or reward prepaid instead
- Step 4: Confirm COD orders before you ship
- Step 5: Spot fake and risky orders
- Step 6: Partial prepaid, or advance plus COD
- Step 7: Act fast on failed deliveries
- COD remittance and reconciliation
- Quick check
- When to get help
- FAQs
- Enable COD under WooCommerce payments, limit it to the shipping methods your courier supports, and add rules for order value, pin code or product with a plugin or a little code.
- Confirm COD orders by WhatsApp, SMS or a call before dispatch, hold unconfirmed ones, and use a COD fee, a prepaid incentive or a partial advance to filter non-serious buyers.
- Act quickly on failed delivery reports, reconcile courier COD remittances against your orders every week, and tighten rules where refusals keep happening.
To offer cash on delivery in WooCommerce, enable it under WooCommerce > Settings > Payments > Cash on delivery and choose which shipping methods allow it. Then protect your margin: limit COD by order value, pin code or product, show any COD fee before the order is placed, confirm COD orders by WhatsApp, SMS or a call before you dispatch, and nudge buyers towards paying online with a small incentive or a part payment. Finally, track refused deliveries (return to origin, or RTO) by product and pin code, and tighten the rules where losses concentrate.
Many Indian shoppers still want COD, especially from a store they haven't bought from before, but every refused parcel costs you shipping both ways. Setting up COD rules like these is part of my WooCommerce development work.
Shipping zones, rates and courier integrations are in WooCommerce shipping setup for India.
The costs below are the same on any platform; if you sell on Shopify, cash on delivery on Shopify shows how to set up COD, fees and order confirmation there, and Shopify development in India covers the full store setup.
What COD really costs
| Cost | When it hits | How to reduce it |
|---|---|---|
| The courier's COD charge, often a fixed fee or a percentage of the amount, whichever is higher | Every delivered COD order | A COD fee, or incentives to pay online |
| Return-to-origin freight: forward and return shipping on parcels that aren't delivered | Every refused or failed COD delivery | Confirmation, limits and fast action on failed attempts |
| Damaged or unsellable returns | Returned parcels, especially fragile, perishable or custom items | No COD on those products |
| Slower cash flow | Always: the courier pays you some days after delivery | Prepaid nudges and a clear remittance cycle |
| Staff time | Confirming orders and chasing failed deliveries | Automated confirmations once volumes grow |
Check your courier or aggregator's rate card for its COD charge and RTO terms, and put both in your budget; WooCommerce store running costs shows where they fit.
Step 1: Enable COD in WooCommerce
Go to WooCommerce > Settings > Payments. In recent versions, cash on delivery sits under offline payment methods. The settings:
- Title: what shoppers see at checkout. If your courier's agents accept UPI at the door, "Pay on delivery (cash or UPI)" is clearer than "Cash on delivery".
- Description: shown when COD is selected. Mention any COD fee and that you'll confirm the order by WhatsApp or phone.
- Instructions: added to the thank-you page and order emails.
- Enable for shipping methods: leave empty for all methods, or pick specific ones. Because each shipping zone has its own methods, this is also the built-in way to allow COD only in certain zones.
- Accept for virtual orders: leave off unless you genuinely collect cash for services.
WooCommerce marks new COD orders as Processing, since payment is due on delivery. It never knows whether the cash was collected, so mark orders Completed only once the courier confirms delivery. If you want to confirm every COD order before it is packed, a developer can make new COD orders start On hold instead, with a small snippet in a custom plugin or code snippets plugin:
add_filter( 'woocommerce_cod_process_payment_order_status', function( $status, $order ) {
return 'on-hold';
}, 10, 2 );
Customers then receive the "order on-hold" email instead of the processing one, so rewrite its wording under WooCommerce > Settings > Emails to say you'll confirm shortly. A courier integration that picks up Processing orders automatically won't take these until you move them to Processing, which is the point.
Step 2: Limit where COD is offered
| Rule | Built into WooCommerce? | How to do it |
|---|---|---|
| Only in certain zones | Yes | "Enable for shipping methods", using the methods in those zones |
| Only for certain pin codes | Partly | A zone limited to those pin codes with its own COD-enabled method, or a pin code checker plugin |
| Above or below an order value | No | A conditional payments plugin or a code snippet |
| Not for certain products or categories | No | A plugin or a code snippet |
| Not for customers who refused before | No | A blocklist plugin, or a manual check during confirmation |
Pin code rules work best when shoppers learn about them on the product page, not at the last step; pin code delivery checkers covers showing delivery and COD availability early. Your courier must also accept COD for those pin codes.
For an order value limit, this snippet hides COD when the cart total is above a limit you set. The number is a placeholder, not a recommendation:
add_filter( 'woocommerce_available_payment_gateways', function( $gateways ) {
if ( is_admin() || ! WC()->cart ) {
return $gateways;
}
$limit = 5000; // placeholder: use your own limit
if ( WC()->cart->get_total( 'edit' ) > $limit ) {
unset( $gateways['cod'] );
}
return $gateways;
} );
It suits the classic checkout. The newer block checkout handles payment methods differently, so test it there, or use a plugin that states block checkout support. At the time of writing, WooCommerce's own Conditional Shipping and Payments extension and several free conditional payment plugins handle value, product, category and pin code rules from a settings screen.
Products worth excluding from COD include custom-made or personalised items, perishables, and high-value items that are expensive to ship back.
Step 3: Add a COD fee, or reward prepaid instead
WooCommerce has no COD fee setting, so a fee needs a payment-based fees plugin or custom code. Whichever you use, the fee must appear in the checkout totals as soon as COD is selected, and be mentioned in the COD description, so nobody is surprised at the door. Ask your CA how the fee should be taxed and shown on your GST invoice; WooCommerce GST setup covers the invoice side.
Many stores frame it the other way round: a small discount or free shipping for prepaid orders. The economics are similar, but a reward feels better than a penalty. WooCommerce coupons can't be limited to a payment method on their own, so this also needs a gateway-based discount plugin. Make paying online genuinely easy too, with UPI offered first on mobile; accepting online payments in India covers gateways and UPI.
If COD disappears from checkout or orders will not place at all, work through the guide for WooCommerce checkout not working.
Step 4: Confirm COD orders before you ship
| Method | How it works | Suits |
|---|---|---|
| A call or WhatsApp message from your team | Confirm name, full address with a landmark, the product, the amount and a good delivery time | Small and new stores |
| Automated WhatsApp confirmation | An approved WhatsApp Business API template with Confirm and Cancel buttons, sent through a provider that updates the order | Growing order volumes |
| Phone verification at checkout | A one-time code by SMS before the order is placed | Stores with many fake or wrong numbers |
| A checkout platform with COD risk checks | Scores each COD order and can switch off COD for risky ones | Higher-volume D2C stores |
SMS in India needs DLT registration of your sender ID and message templates first, and WhatsApp templates need Meta's approval; order notifications by email, SMS and WhatsApp explains both. At the time of writing, Indian checkout and logistics platforms such as GoKwik, Razorpay's Magic Checkout and Shiprocket offer some form of COD risk scoring or confirmation, but most replace or sit over the WooCommerce checkout, so compare what you'd give up as well as what you'd gain.
Decide what happens to orders that never confirm: for example, two attempts, then cancel. Cancelling an order in WooCommerce restores the stock it had reduced.
Step 5: Spot fake and risky orders
- Vague or incomplete addresses, or a pin code that doesn't match the city.
- Numbers that never answer, or that refused a delivery before.
- Several COD orders from the same number or address in a short time.
- Unusually large quantities, or a first order of high value on COD.
- Obvious test names and junk in the fields.
Make phone and pin code required fields, add a landmark field, since Indian addresses often depend on one, and check the format of 10-digit mobile numbers and 6-digit pin codes. Keep a list of numbers with repeated refusals and ask those customers to pay in advance.
Step 6: Partial prepaid, or advance plus COD
Asking for part of the amount online, such as the shipping charge, with the balance collected on delivery filters out most non-serious orders while keeping COD's reassurance. WooCommerce doesn't do this natively; deposit or partial-payment plugins, including WooCommerce's own Deposits extension at the time of writing, or a checkout platform can. Two details matter: explain clearly at checkout what is paid now and what on delivery, and make sure the COD amount on the courier shipment is the balance, not the full order total.
Step 7: Act fast on failed deliveries
- Dispatch quickly. The longer the wait, the more likely the buyer has changed their mind or bought elsewhere.
- Send tracking updates by WhatsApp or SMS, including an out-for-delivery message, so the buyer keeps cash ready and answers the courier's call.
- Work the NDR list daily. Couriers and aggregators raise a non-delivery report after a failed attempt. Call the customer, correct the address or reschedule within the courier's window, before the parcel heads back as RTO.
- Compare couriers by pin code. If one courier keeps failing in an area, route those orders through another.
A clear routine for who handles confirmations, NDRs and status changes each day is in WooCommerce order management.
COD remittance and reconciliation
The courier or aggregator collects the cash and pays it to you after delivery, on a cycle set in your agreement. Some offer faster remittance for an extra fee at the time of writing, and aggregators often deduct shipping and RTO charges from what they pay you. Before choosing one, check the remittance cycle, the COD charge, what gets deducted and the reports you receive.
Reconcile every week: match the remittance report against your WooCommerce orders, mark matched orders Completed, and chase anything delivered but not paid. Over time, track the share of orders on COD and the RTO rate by product, pin code, traffic source and courier. Those figures show exactly where to tighten rules and where COD is working well.
Quick check
Go to WooCommerce > Settings > Payments > Cash on delivery and check "Enable for shipping methods". If it is empty, COD is offered on every method. Then place a test COD order with a cart above and below any limit you have set, and confirm the order lands as Processing with the right order email sent.
When to get help
If COD orders are causing high returns, COD shows up where it shouldn't, or you want limits and confirmation steps that standard settings can't do, get the checkout set up and tested. That is part of WooCommerce development. Send the details through the contact form for a fixed quote.
FAQs
How do I enable cash on delivery in WooCommerce?
Go to WooCommerce > Settings > Payments, open Cash on delivery, enable it, and set the title, description and the shipping methods it applies to. Check that your courier supports COD for the areas you allow.
How do I disable COD above a certain order amount?
WooCommerce has no built-in setting for this. Use a conditional payments plugin, or a short code snippet that removes COD from the available payment methods when the cart total is above your limit, and test it on your checkout.
Can I charge an extra fee for cash on delivery?
Yes, with a payment-based fees plugin or custom code. Show the fee in the checkout totals as soon as COD is selected and mention it in the COD description, and ask your CA how it should appear on your GST invoice.
How do I reduce RTO on COD orders?
Confirm orders before dispatch, limit COD for risky products, values and pin codes, ship quickly with tracking updates, act on failed delivery reports the same day, and offer a reason to pay online or a partial advance.
How do I offer COD only for certain pin codes?
Create a shipping zone limited to those pin codes with its own shipping method, then allow COD only for that method. For many pin codes, or for live courier serviceability, use a pin code or conditional payments plugin.
When does the courier pay me the COD money?
After delivery, on the remittance cycle in your courier or aggregator agreement, usually with charges deducted. Check the cycle and deductions before you sign up, and reconcile each payment against your orders.
Need help with your website?
I'm a freelance WordPress developer building fast, SEO-friendly websites since 2020. Tell me what you need and I'll reply with a plan and a fixed quote, usually within 24 hours.


