← Back
Payments

WooCommerce Pincode Blocking for COD: Stop Cash on Delivery in High-Risk Areas

If you’ve been running a WooCommerce store with Cash on Delivery for any length of time, you’ll have noticed patterns. Certain cities, certain postcodes, certain pin codes — they produce a disproportionate share of your Returns to Origin. Geographic blocking lets you take action on that data.

Why Block COD by Location?

Not all locations are equal for COD reliability. Factors that increase RTO rates in specific areas include:

  • Lower delivery success rates from carrier partners in that region
  • Higher incidence of impulsive or speculative ordering behaviours
  • Areas where your carrier has historically struggled with last-mile delivery
  • Regions with a high proportion of first-time online shoppers

Smart COD Control lets you block COD for any combination of countries, states, and specific pincodes/postcodes.

Setting Up Geographic Restrictions

Navigate to WooCommerce → Smart COD → Location Rules. You have several levels of control:

Country-Level Blocking

Block COD entirely for specific countries. Useful if you ship internationally and COD fraud is disproportionately high from certain countries.

State/Region-Level Blocking

Block COD for entire states or regions within a country. Less blunt than country-level blocking but still broad.

Pincode/Postcode Blocking

The most targeted option. Paste in a list of pincodes (comma-separated or one per line) and COD is blocked for orders destined for those locations. The customer sees COD listed but greyed out with a message like “Cash on Delivery is not available for your location.”

Building Your Blocklist

Start with your return data. Export your WooCommerce orders, filter for COD returns, and extract the postcodes. Sort by RTO rate. Any postcode with an RTO rate above your acceptable threshold (typically 20–30%) is a candidate for blocking.

Revisit and update your blocklist quarterly — RTO patterns shift as your customer base, carrier partnerships, and product mix evolve.

Allowlist Mode

Instead of blocking specific locations, you can switch Smart COD Control to allowlist mode — COD is disabled everywhere by default, and only explicitly allowed for specific pincodes. This is useful for stores that want to offer COD as a targeted feature for verified-delivery areas only.

Combining with Other Rules

Geographic rules stack with other Smart COD Control rules. You might allow COD in a problematic postcode only for customers with an order history — blocking new customers while allowing verified repeat buyers.

Need help building your location rule strategy? Visit the ThePluginForge support page.

Download Smart COD Control free →