Cash on Delivery in WooCommerce: Setup, COD Fee & Fake Order Fixes (Pakistan)

Cash on delivery WooCommerce setup – phone checkout over an open parcel with cash and a delivery scooter

In Pakistan, most of my store clients get the majority of orders on COD — and the biggest headache is fake orders. So when someone asks me about cash on delivery WooCommerce setup, I never stop at “turn it on”. I also set up the fee, the checks and the confirmation flow around it.

I’m Muhammad Talha, a WordPress developer in Lahore. I build WooCommerce stores for Pakistani businesses and set up COD, JazzCash/Easypaisa and courier flows for them.

In this guide I’ll show you how to enable COD, add a COD fee, fix COD not showing at checkout, and cut down fake orders.

WooCommerce payment settings with the cash on delivery toggle, COD fee tag and order confirmation call icon

Why Cash on Delivery Matters for Pakistani WooCommerce Stores

Most buyers here still don’t shop with cards. Many don’t have one, and many who do don’t want to type card details on a store they’ve never heard of.

COD removes that fear. The buyer sees the parcel first, then pays the rider. For a new brand, that trust is often the difference between a sale and a closed tab.

First-time buyers are the biggest group here. One clothing store I worked on got almost no orders until we made COD the first option at checkout.

But COD has a real cost. When a buyer refuses the parcel or the order was fake, you still pay the courier both ways. Your stock is stuck in transit for days. Do this enough times and it eats your profit.

So the goal isn’t just to offer COD. It’s to offer it in a controlled way.

How to Enable Cash on Delivery in WooCommerce (Step by Step)

COD is built into WooCommerce, so you don’t need any plugin for the basic setup. Menu names can change slightly between versions. You can also check the official WooCommerce cash on delivery documentation.

Step 1: Turn On Cash on Delivery

Go to WooCommerce → Settings → Payments. In newer versions, Cash on Delivery sits under the “Take offline payments” section, next to bank transfer and check payments.

Enable Cash on Delivery, then open its settings (the “Manage” or three-dot option, depending on your version).

Step 2: Set the Title and Description

The title is what buyers see at checkout. Keep it clear, for example: “Cash on Delivery – pay the rider when you receive your parcel”.

Use the description for anything the buyer must know before choosing it, like a COD fee or that you will call to confirm.

Step 3: Write the Instructions

Instructions show on the thank-you page and in the order email. I always use something like: “Our team will call/WhatsApp you to confirm your order before dispatch. Please keep your phone on.”

This one line alone cuts down “I never ordered this” refusals, because the buyer expects the call.

Step 4: Choose “Enable for Shipping Methods”

This setting limits COD to selected shipping methods. Leave it empty to allow COD with every method.

Use it if, for example, you deliver COD only in cities where your courier collects cash, and offer prepaid only elsewhere. Set your zones in WooCommerce → Settings → Shipping first, then pick the methods here.

Step 5: Keep “Accept for Virtual Orders” Off

For a store selling physical products, keep this off. There is no rider and no parcel for a virtual product, so there’s no one to collect cash.

Step 6: Place a Test Order

Save the settings. Open your store in an incognito window and place a real test order with COD.

Then check two things: the order shows as Processing in WooCommerce → Orders, and both you and the “customer” got the order email with your instructions.

COD orders go to “Processing” by default. You mark them “Completed” yourself after the courier has collected the cash. The WooCommerce guide to managing orders explains each status.

How to Add Cash on Delivery Charges in WooCommerce

This is the question I get most after setup. Here is the clear answer: core WooCommerce does not include a COD extra fee. There is no “fee” box in the COD settings.

To charge extra for COD, you need a plugin or a small code snippet.

Option A: Use a COD Fee Plugin

Go to Plugins → Add New and search “cash on delivery fee” on wordpress.org. Pick one that was updated recently, has good reviews, and says it works with your WooCommerce version.

If your store uses the newer block checkout, also check that the plugin says it supports the Checkout block. Many older fee plugins only work with the classic checkout.

Option B: Add a Small Code Snippet

If you don’t want another plugin, this snippet adds a fee only when the buyer picks COD. Add it with a code snippets plugin or in your child theme’s functions.php, never in the parent theme.

// Add a COD fee only when Cash on Delivery is selected
add_action( 'woocommerce_cart_calculate_fees', 'mt_add_cod_fee', 20, 1 );
function mt_add_cod_fee( $cart ) {
    if ( is_admin() && ! defined( 'DOING_AJAX' ) ) {
        return;
    }

    $cod_fee = 0; // Set your COD fee in PKR here

    if ( $cod_fee > 0 && WC()->session && 'cod' === WC()->session->get( 'chosen_payment_method' ) ) {
        $cart->add_fee( 'Cash on Delivery Fee', $cod_fee, false );
    }
}

// Refresh checkout totals when the payment method changes
add_action( 'wp_footer', 'mt_refresh_checkout_on_payment_change' );
function mt_refresh_checkout_on_payment_change() {
    if ( ! is_checkout() || is_wc_endpoint_url() ) {
        return;
    }
    ?>
    <script>
    jQuery( function( $ ) {
        $( 'form.checkout' ).on( 'change', 'input[name="payment_method"]', function() {
            $( document.body ).trigger( 'update_checkout' );
        } );
    } );
    </script>
    <?php
}

Change $cod_fee = 0; to your amount, for example PKR 1,500. This snippet is for the classic (shortcode) checkout. On the block checkout, use a plugin that supports blocks instead.

Always test it on staging first. Select COD and check the fee appears, then switch to another method and check it disappears.

Tip: Mention the fee in the COD description, like “A COD fee of PKR 200 applies.” Buyers who get surprised by a fee at the last step often leave, or refuse the parcel.

WooCommerce Cash on Delivery Not Showing? 6 Fixes

When a client tells me “WooCommerce cash on delivery not showing”, it’s almost always one of these six.

1. COD Is Limited to a Shipping Method That Isn’t Selected

If “Enable for shipping methods” has only Flat rate, and checkout defaults to Free shipping, COD disappears. Add the missing method, or leave the field empty.

2. The Cart Has Only Virtual or Downloadable Products

With “Accept for virtual orders” off, COD hides for carts with no shipping. Check that your physical products aren’t ticked as Virtual by mistake.

3. Store, Zone or Country Settings Exclude the Address

If the buyer’s address doesn’t match any shipping zone, there is no shipping method, so COD can vanish too. Check your selling locations and that every city you serve is covered by a zone.

4. Block Checkout vs Classic Checkout

Newer stores use the Checkout block. Older ones use the [woocommerce_checkout] shortcode, and some themes or page builders use their own checkout template.

A plugin or snippet built for one may not work on the other. Check which checkout your page uses before blaming COD itself.

5. The Checkout Page Is Cached

If a cache plugin or CDN serves an old copy of checkout, payment options can break or show wrong. Always exclude checkout from cache, along with cart and my-account.

6. A Plugin Conflict

Payment, shipping and “conditional checkout” plugins can hide COD. On a staging copy, deactivate everything except WooCommerce and switch to a default theme. If COD comes back, turn plugins on one by one to find the culprit.

How I Stop Fake COD Orders

This is the part most guides skip, and it’s where store owners actually lose money. Here’s what I set up for clients.

Confirm Every Order Before Booking the Courier

No COD order goes to the courier until someone confirms it by call or WhatsApp. I usually add a custom “Pending confirmation” order status with a small snippet, so the team sees exactly which orders still need a call.

Confirmed orders move to Processing and get booked. Unreachable ones get cancelled after a set number of tries. For one home-decor store, this single step brought returns down noticeably within the first month.

Set a Minimum Order Amount for COD

Very small COD orders often cost more to ship and return than they earn. I hide COD below PKR [X] using a snippet or a conditional payments plugin.

Ask for a Partial Advance on High-Value Items

For expensive products, I ask for a small advance online and the rest on delivery. Someone who pays even a little upfront rarely refuses the parcel. I covered setting up JazzCash and Easypaisa on WooCommerce in a separate guide.

Disable COD for Risky Products or Cities

Look at your returns. If one product or one city keeps coming back, switch that to prepaid only. It’s better to lose a few orders than to keep paying for parcels that come back.

Block Repeat Fake Numbers and Fix the Phone Field

Keep a simple list of numbers that placed fake or refused orders, and check new orders against it. I also make the phone field required and validate the format (an 11-digit mobile number starting with 03), so “123” can’t go through.

Track Which Ads Bring Real Orders

Some ad campaigns bring lots of orders that never get confirmed. I set up GA4 and Meta Pixel purchase tracking for stores, so you can compare confirmed orders with fake ones per campaign. Start with GA4 conversion tracking.

COD Setup Checklist

TaskWhy It MattersDone?
Enable Cash on Delivery in PaymentsMost Pakistani buyers expect it☐
Write a clear title and descriptionBuyers know exactly how they’ll pay☐
Add confirmation instructionsBuyers expect your call, fewer refusals☐
Set “Enable for shipping methods”COD only where your courier collects cash☐
Keep “Accept for virtual orders” offNo rider to collect cash on virtual items☐
Add and display the COD feeCovers COD costs without surprising buyers☐
Exclude checkout from cachePayment options load correctly☐
Set up order confirmation flowFake orders never reach the courier☐

When to Get Professional Help

You can do the basic setup yourself in a few minutes. But get help if:

  • Your COD fee isn’t calculating, or shows on the wrong payment method
  • COD keeps disappearing at checkout and the fixes above didn’t help
  • Too many fake orders are eating your courier budget
  • You need a proper courier booking and WhatsApp confirmation flow

This is everyday work for me. My WooCommerce store development Pakistan service covers COD, local payments, couriers and tracking. If you’re starting from zero, read my full WooCommerce store setup guide first.

Need an ecommerce website developer in Lahore to handle it for you? Message me directly.

FAQs

How do I enable cash on delivery in WooCommerce?

Go to WooCommerce → Settings → Payments and enable Cash on Delivery (in newer versions it’s under “Take offline payments”). Then set the title, description and instructions, and save.

Can I charge an extra fee for cash on delivery in WooCommerce?

Yes, but not with core WooCommerce alone. You need a COD fee plugin or a small code snippet that adds the fee only when Cash on Delivery is selected.

Why is cash on delivery not showing at checkout?

Usually COD is limited to a shipping method that isn’t selected, the cart has only virtual products, the address isn’t in a shipping zone, the checkout page is cached, or a plugin is hiding it.

What order status does WooCommerce give COD orders?

COD orders go to “Processing” by default. The store owner marks them “Completed” after the courier has collected the cash.

Conclusion

Setting up cash on delivery in WooCommerce takes minutes. Making it profitable takes a bit more: a clear fee, a checkout that always shows COD, and a confirmation step that stops fake orders before they reach the courier.

Start with the six steps above, then work through the checklist. If you’d rather have it done properly the first time, I’m one message away.

Want to go through these 10 questions together?

Send me a message on WhatsApp — I’ll answer each one for your project.

Picture of Muhammad Talha

Muhammad Talha

Muhammad Talha is a WordPress Developer in Lahore with experience building fast, SEO-ready WordPress, WooCommerce and Shopify websites for businesses in Pakistan, Ireland and the USA.

On this page

Need a WordPress site?

Get a rough estimate for your project in 2 minutes.

Scroll to Top