Why WooCommerce COD vanishes for some deliveries

Put two otherwise identical baskets through checkout. Both contain the same item, use the same postcode and have the same customer details. Select delivery option one and cash on delivery appears. Select delivery option two and it disappears.

Abstract delivery routes showing different cash on delivery availability

For a Dubai retailer promising COD, that is enough to create an abandoned order and an awkward message to the sales team. The useful question is not whether COD is enabled somewhere in WooCommerce. It is whether the payment method is allowed for the exact basket and delivery choice the customer has made.

Start with the COD policy, not the panic switch

It is tempting to enable COD everywhere just to get it back on screen. Don’t do that until you have written down where the business actually accepts payment on delivery.

COD can carry fulfilment costs, failed-delivery risk and operational limits. A retailer may accept it for local courier delivery, decline it for remote zones, and exclude collection or a third-party delivery method. Those can all be sensible commercial rules. A payment option is available only when its rules match the order.

Decide what should happen for each shipping choice before changing settings:

  • Which delivery methods should permit COD?
  • Are there delivery rates or zones where it must be excluded?
  • Should virtual-only orders be allowed to use COD?
  • Are mixed baskets with physical and virtual products treated differently by the business?
  • Is COD a promised route on product pages, banners or delivery information?

That last point matters. Advertising a route that vanishes at the final step dents trust quickly, particularly where the customer expects to confirm an order over delivery rather than pay by card.

Compare the basket against the gateway rules

WooCommerce documents that its Cash on Delivery gateway can be limited to selected shipping methods and rates. It also has a separate setting for whether virtual orders are accepted. Those controls explain a fair few cases where COD is enabled but absent at checkout. See the WooCommerce Cash on Delivery documentation for the documented settings.

Direct answer: WooCommerce cash on delivery may not show for a shipping method because the COD gateway is disabled, the selected shipping method or rate is not permitted in COD settings, or the basket is virtual and virtual orders are not accepted. Check the live checkout using the same products, postcode and delivery selection as the affected customer before assuming there is a fault.

Checkout condition What to compare Likely decision
COD missing for one delivery choice Selected shipping method and rate against the methods permitted in COD settings Allow that route only if it matches fulfilment policy
COD missing for every basket Gateway enabled state, currency, store status and checkout configuration Restore availability only after confirming the intended scope
COD missing for a service or download Whether the order is virtual and whether virtual orders are accepted Set the virtual-order rule deliberately
COD missing despite matching settings Payment plugins, checkout customisation and conditional rules Investigate the extension or custom-code layer

Check the shipping method as WooCommerce sees it

There is a mildly annoying detail in WooCommerce troubleshooting: the customer-facing delivery label is not always the useful identifier. A shop may show two friendly choices such as standard Dubai delivery and express delivery, while the underlying shipping methods, rates or plugin-generated instances differ.

Open the COD settings and compare the permitted shipping methods with the method selected during the failing checkout test. Then test it again using the same address and cart. A different postcode, shipping class, minimum spend threshold or free-shipping condition can change the offered rate and make a previous test irrelevant.

An illustrative Dubai delivery setup

Imagine a retailer offers standard local delivery and same-day delivery. COD appears with standard delivery but not same-day delivery. That may be correct if same-day orders are handled by a courier that requires payment before dispatch. If both routes are meant to accept COD, compare the allowed COD shipping methods with the actual rate produced for each selection.

Do not rely on the wording in a delivery banner. The checkout is where the rules meet the order.

Do virtual products belong in the COD rule?

Virtual orders are a separate decision. A consultation booking, digital voucher or download may not need physical fulfilment, even if the shop also sells delivered goods. WooCommerce has a setting specifically for accepting COD on virtual orders, so it is worth checking rather than trying to make a virtual product look physical.

Keep product setup honest. Marking a digital product as physical merely to expose a payment method can introduce shipping charges and muddle fulfilment. Equally, enabling COD for all virtual orders may be wrong for the business model. Set the rule that fits the sale, then test it.

Only chase an extension conflict when the settings agree

If COD is active, the intended shipping method is permitted, and the virtual-order setting matches the basket, then move to the checkout layer. Conditional payment gateway plugins, delivery-date tools, multi-currency extensions, page-builder checkout templates and custom snippets can all affect which payment methods are returned.

Take a copy of the facts before touching plugins during business hours: product IDs, quantities, customer country and postcode, chosen shipping rate, whether the products are virtual, active coupons, and the payment methods shown. It is dull admin work, but it stops a developer testing a simpler basket and declaring the issue gone.

At that point, the work becomes a scoped WooCommerce website repair assessment: establish whether core settings produce the expected availability, then isolate any extension or checkout override that changes it.

Run an accepted-basket and excluded-basket test

A fix is not proved because COD appears once. Use two controlled baskets after any change:

  1. Create an order that should show COD, using the intended delivery method and a realistic address.
  2. Create an order that should exclude COD, such as an unsupported delivery option or virtual-only order if that is policy.
  3. Confirm the visible payment choices at checkout for both.
  4. Place a test order only where your store process allows it, then cancel or clearly mark it for internal handling.
  5. Check order emails, stock behaviour and fulfilment notes so a test does not become someone’s unexpected delivery job.

This is part of sensible checkout maintenance. The broader discipline is covered in WooCommerce checkout maintenance and order testing: test the sale before a customer finds the gap for you.

FAQ: Can cash on delivery be limited to particular shipping methods?

Yes. WooCommerce’s COD settings allow the gateway to be restricted to chosen shipping methods and rates. This is useful where COD is only viable for selected local delivery routes, collection arrangements or fulfilment partners. Test the actual shipping rate generated by the customer address, because similarly named delivery options can still be different configured rates.

Have the checkout availability rules checked against the payment options you advertise. It is a small piece of checkout logic, but it needs to match what the business is willing and able to fulfil.