Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…
About WooCommerce Smart COD
WooCommerce Smart COD PRO is a plugin that extends the functionality of the WooCommerce Cash on Delivery Gateway. It allows you to add multiple extra fees and restrictions based on factors such as customer location and selected shipping method. The plugin is highly customizable and comes with a dedicated support team.Screenshots



Frequently asked questions
What does the WooCommerce Smart COD plugin do?
This plugin extends WooCommerce Cash on Delivery Gateway, allowing you to add multiple extra fees and restrictions based on customer location, selected shipping method, and other factors. It supports various restriction cases to cover different scenarios.
What are some of the restrictions available in the plugin?
Restrictions can be enabled or disabled easily. Available restrictions include shipping zone, shipping method, country, state, postal code (with ranges), city, user role, products in cart (with variations), product categories, cart amount, and shipping class.
Can I display messages when COD is not available?
Yes, you can define an informational message to display before payment methods when the COD method is not available for a customer. You can also define different messages for each restriction reason.
Changelog
1.9.12
- Explain the retirement of the free edition during December in a new dismissible admin notice, the settings page and the plugin’s own Installed Plugins row.
- Clarify in the readme that existing installations keep their features and settings without requiring a PRO purchase.
- Link to a transition guide using the familiar Smart COD for WooCommerce identity.
- Keep existing COD features, settings, checkout behaviour and optional data-sharing choices unchanged.
1.9.11
- Updated – Show the standard Smart COD PRO benefits notice after the Black Friday offer ends. Each notice can be dismissed separately.
1.9.10
- Added – Set the name customers see for the COD fee in Classic Checkout and Checkout Blocks. The setting is included in Free settings backups.
- Updated – Show a dismissible Black Friday offer in WordPress admin through November 30, 2026.
- Compatibility – Tested with WordPress 7.1.4 and WooCommerce 11.3.0.
1.9.9
- Improvement: Settings restore preview now separates changed and unchanged fields, counts changes and avoids offering a restore when nothing has changed.
- Improvement: Refreshed PRO notices and the settings card with a more compact, responsive layout and clearer feature explanations.
- Update: Replaces Smart COD AI upgrade links with the new Smart COD PRO on woosmartcod.com, preserving country-specific destinations.
- Update: Adds the launch offer deadline and automatically removes discount messaging when the offer expires.
- Localization: Updates Greek, Italian, Czech, Slovak and Spanish translations.
1.9.8
- Fix – Refresh COD restrictions and fees when country, region, city, postcode or registered address fields change in Checkout Blocks.
- Fix – Preserve typed address values while checkout updates are pending and apply the latest changes without duplicate manual cart updates.
- Reliability – Preserve the original order-creation metadata when delivering lifecycle updates and retries.
- Compatibility – Tested with WordPress 7.1.3 and WooCommerce 11.2.1.
- Added – Make the dismissible Smart COD AI announcement and detailed settings card available for the public launch.
1.9.7
- Reliability – Synchronize plugin version and the explicitly enabled or disabled sharing preference in signed background updates, with revision acknowledgments and retries. Existing sharing choices remain unchanged.
-
Fix – Preserve empty checkout payment fragments when the WooCommerce session expires, avoiding a fatal HTML parsing error.
-
Added – Free settings export and same-store restore with preview, explicit confirmation and protection against expired previews or intervening changes.
- Security – Exclude sharing consent, credentials, PRO-only options and order/customer data from settings backups.
- Tests – Add backup validation and restore safety contracts to the mandatory release checks. Classic and Blocks checkout behavior is unchanged.
1.9.6
- Maintenance – Remove inactive PRO advance-payment integration code from the Free Blocks adapter and frontend. COD restrictions, fees and Classic checkout behavior remain unchanged.
- Tests – Add regression checks for Free/PRO separation and crafted advance-payment inputs; verify Classic and Blocks parity with and without HPOS.
1.9.5
- Fix – Remove the COD fee in the same shipping update when WooCommerce or another plugin makes COD unavailable, in Classic and Checkout Blocks.
- Localization – Include complete Greek and Italian catalogs for plugin settings, notices and frontend messages; keep WooCommerce-native text in its own translation domain.
- Compatibility – Add native Cart/Checkout Blocks support on WooCommerce 9.9+, including COD restrictions, fees and lifecycle capture, while preserving Classic checkout.
- Feature – Add a configurable successful-COD history allowance: 100% by default, 50-100%, same-store only and never overriding other COD rules.
- Compatibility – Tested with WordPress 7.1.3 and WooCommerce 11.2.1.
- Collection – Record prospective physical COD creation snapshots and later outcomes, even without tracking or a 24-hour wait, whenever the existing sharing setting is enabled.
- Transparency – Explain collection versus qualifying negative evidence, excluded order types, historical limitations, transmitted data and cross-store ML training in the settings and service disclosure.
- Settings – Keep both editions opt-in and off by default, with one sharing setting for new and existing installations; no additional activation or expansion notice.
- Reliability – Use signed, durable background revisions with exact acknowledgments, bounded batches, retries and deduplication; exclude changed or late snapshots from the prospective training cohort.
- Release – ML collection is not live ML scoring. Backend compatibility, disclosure publication and release verification must precede plugin distribution.
1.9.4
- Feature – Add optional COD Protection that can hide Cash on Delivery when checkout identity matches an eligible dispatched-then-cancelled COD order from the same store.
- Privacy – Send only locally generated SHA-256 identity tokens during checkout lookups; raw email and telephone values are never sent and lookup requests are not persisted by the service.
- Reliability – Keep checkout fail-open with a one-second timeout, strict response validation and short session caching.
- Admin – Place the opt-in directly below the main COD switch and show a one-time dismissible admin reminder.
- Localization – Add Greek translations for COD Protection and its data-sharing disclosure.
1.9.3
- Compatibility – Replace deprecated product-category queries with the current WordPress API; minimum WordPress version is now 4.5.
- Security – Prevent direct access to the admin display template.
- Transparency – Ship the checkout JavaScript in readable, uncompressed form and clarify optional country-level data pooling.
- Compatibility – Declare WooCommerce as a required plugin.
- Security – Harden the category search endpoint and escape merchant-facing admin values.
- Reliability – Safely handle malformed saved settings and sanitize checkout selections used by COD rules.
1.9.2
- Privacy – Make cancelled COD data sharing an explicit, default-off merchant opt-in; existing opt-out values do not count as consent.
- Admin – Remove remote promotional notifications and prominent PRO promotions from the Free plugin.
- Admin – Remove the remote settings-manager request and PRO-only locked fields; retain the existing local-pickup fee option.
- Admin – Use the Select2 script supplied by WooCommerce instead of bundling a second copy.
- Performance – Collect and transmit eligible order evidence only through small, rate-limited background batches; checkout and ordinary storefront requests remain unaffected.
- Enhancement – Recognise shipment data from supported tracking integrations and preserve custom fulfilment-status evidence without storing customer data in scheduled jobs.
- Enhancement – Add a conservative fallback for physical COD orders only on shops without a recognised tracking integration, after a minimum one-day order lifetime.
- Reliability – Re-scan historical eligible orders gradually after this upgrade and enrich the existing central event row without creating duplicate orders.
- Reliability – Include a bounded snapshot of earlier completed, tracked COD orders for the same shopper at the same shop.
- Privacy – Stop pending collection and delivery work when the merchant turns sharing off.
1.9.1
- Privacy – Tokenise email, telephone, postcode, city and region locally before relay; raw customer identity and location values never leave the store.
- Privacy – Introduce identity token scheme 1 for deterministic, checkout-compatible matching.
1.9.0
- Performance – Remote settings and promotional notices are cached and refreshed only in wp-admin; storefront, AJAX and REST requests no longer make external HTTP requests.
- Feature – Collect cancelled COD shipment metadata in rate-limited batches.
- Feature – Queue privacy-minimised Smart COD AI shipment events for secure delivery.
- Enhancement – Prepare operating-country-scoped customer matching tokens and remove local transport data after central acknowledgement.
- Reliability – Exclude cancelled COD orders unless a valid courier tracking code provides dispatch evidence.
- Compatibility – Updated WordPress and WooCommerce compatibility metadata.
1.7.3
- Fix – Deprecated creation of dynamic properties
1.6
- Fix – Bad require on admin partial
- Fix – Add method_exists before restriction check
1.5
- Fix – Don’t show extra fee, if it is 0
- Fix – Fix deprecated ternary operation
- Fix – Admin ui fixes
1.4.9.6
- Fix – Fix issue with states on admin.
1.4.9.5
- Tweak – Improved the way the DOMDocument parses the payment div to attach the custom message.
- Fix – Add support for the newly introduced WooCommerce settings, “shipping method enable”
- Fix – Fix the way the plugin calculates the total cart amount. Until now it would add the extra fee cost if any.
- Feature – You can select what defines the total cart amount by checking / unchecking taxes and shipping costs.
- Fix – Restore broken tiptip descriptions on admin page.
1.4.9.4
- Feature – Added a new filter to change the cod fee title ( wc_smart_cod_fee_title ).
1.4.9.3
- Fix – Fix extra fee outside of cod.
1.4.9.2
- Fix – Fix warnings on checkout, WC issue when payment method is one, translatable fee.
1.4.9.1
- Fix – Minor fixes on order pay page
1.4.9
- Fix – Fix issues with wrong shipping zone – method calculation.
1.4.8
- Fix – Minor fixes, custom select2 version missing, remove version check notice, fix some public code running outside checkout page.
1.4.7
- Feature – Add restriction based on shipping method inside shipping zone
- Feature – Optimize extra fee – shipping method inside shipping zone
- Tweak – Rewrite shipping method getter function.
1.4.6
- Fix – Optimize shipping method calculation
1.4.5
- Feature – Shipping Class Restriction
- Feature – City Restriction
- Feature – Product Restriction now supports variable products
- Feature – Extra Fee now can be taxable
- Feature – Postal Codes now supports ranges
- Fix – Warnings on custom messages
1.4.4
- Fix – Fix issue with wrong calculation on amount restriction.
- Feature – Now you can have different messages per restrict reason.
1.4.3
- Fix – Fix issue with notice on empty extra fee.
1.4.2
- Fix – Fix issue with cod getting disabled, when ‘enable for shipping methods’ is empty.
1.4.1
- Fix – Fix issue with extra fee appears in restricted shipping method.
1.4.0
- Tweak – Select2 compatibility for older woocommerce versions
- Feature – Restriction mode is now independent per field ( enable / disable )
- Feature – Price now can be percentage for every price field with rounding option
- Feature – Added restriction for states / counties
- Feature – Added restriction for user roles
1.3.6
- Tweak – Product and product categories are now fetched asynchronously to resolve timeout issues.
1.3.5
- Feature – Restrict cod gateway based on customer’s cart product’s categories.
- Feature – Restrict cod gateway based on customer’s cart products.
1.3.4
- Tweak – Tweak the way the plugin calculates the availability based on postal codes.
- Feature – Restrict cod gateway based on customer’s cart amount.
- Feature – Added filter for developers: wc_smart_cod_fee
1.3.3
- Fix – Fix warning on empty foreach.
1.3.2
- Fix – Fix issue with cod check method running outside checkout, creating problem with wp menus.
1.3.1
- Feature – Added custom information message when the cod is not available.
1.3
- Feature – Added restriction mode option – exclude or include –
- Feature – Added different price per country
- Fix – Fix issue when delimiter was a “,”
1.2
- Feature – Different amount charge, based on shipping method.
- Feature – Different amount charge, based on shipping zone and shipping method.
- Feature – Added a quick link to WooCommerce Cod Settings as a notice, when the plugin get’s activated.
- Fix – When you select a country or postal code which doesn’t have cod available, while you previous where on country or postal code which have the cod available, the extra fees will be applied on ajax request.
- Tweak – Clean up settings on database when a shipping zone get’s deleted
- Tweak – Don’t store settings on database when they are not required.
1.1.2
- Add support for older PHP versions ( < 5.4 ).
1.1.1
- Add support for older WooCommerce versions ( < 2.6 ).
1.0
- Deploy of the first version of the plugin.