| 开发者 | gihantha |
|---|---|
| 更新时间 | 2026年11月15日 13:42 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
gihantha-cash-on-delivery-order-protection folder to /wp-content/plugins/.No. All data stays in your own WordPress database. The plugin makes no external requests.
Yes. Phone numbers are read using the customer's billing country, so +44 7700 900123 and 07700 900123 count as the same customer for the blacklist and the repeat-order check. Numbers from any country must be complete (8 to 15 digits including the country code), and Sri Lankan numbers must also be valid mobile numbers (you can allow landlines in the settings). If you do not want phone validation at all, untick "Validate phone numbers". The blacklist, repeat-order blocking, COD limit, COD fee and delivery tracking keep working.
Include the country code, for example +44 7700 900123. Numbers without a country code are read as numbers from your store's country.
When you mark an order as refused / returned, the refusal is added to that phone number's history. When a number reaches the refusal limit in settings (default 2), it is blocked from using COD.
Yes, we recommend it. In the block checkout, edit the Checkout page, select the Phone field and set it to required. If a customer leaves it empty, COD Protection asks them for a valid mobile number before a COD order can be placed.
Go to WooCommerce > COD Protection > Phone numbers and click Trust or Reset next to their number.
Yes. All checks and the COD fee work on both the block and the classic checkout.
Deleting the plugin removes its table and settings. Deactivating keeps them.