Takeed Refusal Guard for WooCommerce
COD blacklist for repeat refusers: tag, hide cash on delivery or warn on the next order.
Install in
Every refused or fake cash-on-delivery order costs you shipping both ways. Takeed Refusal Guard is a COD blacklist built from your own orders: it remembers who refused a parcel, and uses that memory as an anti-fraud check when the same person orders again.
How it works
- Mark an order as Refused at delivery (a new order status, also available as a bulk action in the orders list). You can also choose other existing statuses that should count as a refusal.
- The plugin stores the customer’s phone number (normalised) and e-mail address in its own table on your site.
- At the next checkout, if the phone number or the e-mail has at least the number of refusals you set (default: 1), the plugin applies the action you chose:
- Tag only (default): an order note and the order meta
_takrg_risk. Nothing is blocked, nothing is hidden. Safe to try on a live shop. - Hide Cash on Delivery for that customer. Other payment methods stay available.
- Show a neutral notice asking the customer to choose another payment method.
- Tag only (default): an order note and the order meta
Safe by design (new in 1.1)
- Test mode is the default on a new installation. Orders are only tagged, and an activity log shows what the plugin would have done. Switch to Live when the log looks right.
- Safety breaker. If more than 50% of the checkout attempts in an hour are restricted (and there are at least 5 attempts), the plugin returns to “tag only” by itself and tells the administrator. It stays there until you turn it back on.
- Fail-open. If anything goes wrong while the plugin checks a customer, the order goes through.
- Allow-list. Customers you trust are never touched, whatever their refusals.
What makes it different
- Arab and North-African phone formats built in: Tunisia (+216), Morocco (+212), Algeria (+213), Egypt (+20), Saudi Arabia (+966), UAE (+971), Kuwait (+965), Qatar (+974), Oman (+968), Bahrain (+973).
20 123 456,+216 20123456,00216-20-123-456and٢٠ ١٢٣ ٤٥٦are the same customer. A “default country” setting reads numbers typed without a country code. - Safe by default: the default action only tags the order. The plugin never silently blocks a customer.
- Works with the classic checkout and the block checkout (Store API), and with both order storages: HPOS (custom order tables) and the legacy posts storage.
- Free, no SMS or OTP cost, no account, no external service, no upsell, no ads.
- Arabic-friendly: the admin screens use standard WordPress components and mirror correctly in right-to-left languages. Phone and e-mail fields are always left-to-right.
Also included
- A COD risk column in the orders list (legacy and HPOS screens) showing the refusal count of the customer.
- Block-list and patterns: add an e-mail, a phone number or a pattern such as
*@example.comor+21620*. - Order actions on the order screen: mark as refused, or clear a refusal that was a mistake.
- Count refusals from existing orders with one click, and forget old refusals automatically after a number of months you choose.
- Activity log of the last 500 events, with customers masked.
- Settings under WooCommerce > Refusal Guard: threshold, action, counted statuses, default country, add or remove numbers by hand, CSV import and export.
- WordPress personal data exporter and eraser for the stored records.
- Hooks for developers (see the FAQ), so other plugins, such as Takeed order confirmation, can count their own signals.
Privacy
This plugin stores, in a table of your own WordPress database, for every order that was refused at delivery: the phone number (digits only), the e-mail address (lowercase), the order number and the date. Records can also be added by hand or imported by CSV.
- Nothing is sent to the plugin author or to any third party. The plugin makes no external HTTP requests.
- The records are included in the WordPress personal data export (Tools > Export Personal Data) and removed by the erasure tool (Tools > Erase Personal Data), matched by e-mail address and by the phone numbers tied to it.
- A suggested paragraph is added to your privacy policy page (Settings > Privacy).
- The activity log shows customers masked (the first and last digits of a phone number; the first letter and the domain of an e-mail address). Allow-list and block-list entries are included in the export and the erasure when they are exact matches of the person.
- With “Forget refusals after (months)” you choose how long records are kept; the default keeps them until you delete them.
- Deleting the plugin removes its tables (refusals, rules, log) and its options.
Written by Joobi from the project's own listing. See the source page
1.1.1
- Maintenance release: updated the author profile link and the “Tested up to” version. No functional change.
1.1.0
- New installations start in Test mode: orders are tagged and an activity log shows what the plugin would have done.
- Safety breaker: more than 50% of the checkout attempts in an hour (at least 5) returns the plugin to “tag only” and notifies the administrator.
- Fail-open: any error while checking a customer lets the order through.
- Allow-list, block-list and wildcard patterns (e-mail and phone prefix).
- Order screen actions: mark as refused, clear a refusal. Bulk action unchanged.
- Count refusals from existing orders. Optional retention in months. Activity log with masked customers.
- Privacy exporter and eraser include allow-list and block-list entries.
- Sites updating from 1.0 keep their action and stay in Live mode.
1.0.0
- First release.
Follow this listing's changes (Atom feed)