
外掛標籤
開發者團隊
② 後台搜尋「OrderSieve – Fraud & Fake Order Blocker for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
Sooner or later every WooCommerce store gets them. Orders from names that are just random letters. A burst of checkouts testing stolen card numbers. Sign-ups from addresses that disappear an hour later. Each one lands in your orders list, sends you an email and throws off your reports.
OrderSieve looks at every checkout before the order is placed and turns away the ones that were clearly not made by a person, or that come from someone you have already blocked. The checks run in the background, so your customers check out exactly as before. The recommended settings are on as soon as you activate the plugin, and you can fine-tune them from one settings page.
OrderSieve requires WooCommerce 8.0 or later.
What it checks
A hidden field. The checkout form gets an extra field that people never see. Bots that fill in every field give themselves away. It works on both the classic and the block checkout.
How fast the checkout was. A person needs a few seconds at least to fill in a checkout form. Checkouts submitted faster than that, 3 seconds by default, are turned away. On the classic checkout the start time is signed and tied to the shopper’s session, so it cannot be forged or reused. On the block checkout it is the moment the shopper first added something to the cart.
The email address. Addresses from throwaway providers such as mailinator.com or temp-mail.org are rejected, along with any subdomain of them. You can add your own domains to the list.
How many orders come from one place. Card testers place order after order to find out which stolen card numbers work. Each IP address and each email address may place 10 orders an hour by default. Past that, checkouts from them are turned away until the hour is up.
How many payments failed. After 5 failed payments in an hour from the same IP address or email address, further checkouts from them are turned away. This counts orders your payment gateway marks as Failed.
Your own block lists. Block IP addresses and ranges, email addresses and domains, and billing countries. From the logs screen you can block the IP address or email of any blocked attempt with one click. Entries that can never match, such as a mistyped address, are pointed out on the settings screen.
Fake-looking names (optional). Turn this on to reject billing names with a web address or digits in them, strings like “xkqjzv” or “asdfghjkl”, or the same first and last name. It is off by default, and names written in other scripts or with accents are never judged on their spelling.
Let trusted customers through
IP addresses on your allow list, such as your office, skip every check. So do logged-in customers whose account email is on your allow list, which is handy for wholesale buyers who place many orders. The allow list uses the account email, not the email typed at checkout, so nobody can get past the checks just by typing an allowed address.
What happens to a blocked checkout
The shopper sees your rejection message and the order is not placed. On the classic checkout no order is created at all. On the block checkout the check runs before WooCommerce creates a customer account, holds coupons, reserves stock or takes payment. The unfinished order is cancelled and gets a note with the reason, and you are not sent a “Cancelled order” email about it.
With logging on, which is the default, every blocked attempt is logged with the reason, the email address entered and the IP address.
It fails on the safe side
When OrderSieve cannot tell how long a checkout took, for example for a shopper whose cart was started before the plugin was activated, it lets the order through. A lost sale costs more than a stray junk order, so the time check only ever blocks when it is sure.
Keep an eye on what was blocked
WooCommerce → OrderSieve Logs shows the 100 most recent blocked attempts, with the time, the reason, the email address and the IP address. Each entry has buttons to add its IP address or email to your block list. The same entries are in WooCommerce → Status → Logs under the source ordersieve, whether WooCommerce writes its logs to files or to the database. From the logs screen you can clear the log or run the junk order cleanup straight away.
Clean up junk orders
Blocked block-checkout orders stay in your orders list as cancelled. If you would rather not keep them, turn on the cleanup. Once a day, through WooCommerce’s Action Scheduler, it deletes orders that OrderSieve blocked and that are older than the number of days you choose, in batches of 50 until none are left, so even a large backlog after an attack clears quickly without slowing your site. Orders OrderSieve did not block are never touched, including ones you cancelled yourself. The cleanup is off by default.
What you can adjust
Everything lives on one page under WooCommerce → OrderSieve Settings:
Turn all checks on or off.
The minimum time a checkout must take, from 0 to 60 seconds. 0 turns the time check off.
Whether to block throwaway email providers, and your own list of extra domains, one per line.
Whether to block fake-looking names.
Where the visitor’s IP address is read from: the connection itself, or the header set by Cloudflare or another proxy in front of your site.
The most orders and the most failed payments allowed per IP address or email, and the time window they are counted over. 0 turns either limit off.
Blocked IP addresses, email addresses and billing countries, and allowed IP addresses and customer accounts.
The message a blocked shopper sees. Leave it empty and shoppers get the default message in their own language.
Whether blocked attempts are logged.
How many days to keep blocked orders before the cleanup deletes them, from 0 to 365. 0 turns the cleanup off.
For developers
Filters let you add domains to the block list, change the rejection message, allow-list shoppers, change how names are judged, or skip the time check, for example on a store that relies on one-click express payments. An action fires on every blocked attempt, so you can count attempts or alert someone. The available hooks are listed in the FAQ below.
Privacy
OrderSieve runs entirely on your own server. It does not call out to any service, load anything from a CDN, collect usage data or set cookies of its own. The time check stores one timestamp in the shopper’s existing WooCommerce session. The order and failed payment limits keep short-lived counts in a single database option, stored under a one-way hash of the IP address or email address that is salted with your site’s secret keys, and each count is removed once its time window ends. When an attempt is blocked and logging is on, the reason, the email address entered and the IP address are written to your WooCommerce logs, where they stay on your server and follow your WooCommerce log retention setting. OrderSieve also saves the shopper’s IP address on each order, so a failed payment reported later by your payment gateway is counted against the right address; when you erase a customer’s personal data, WooCommerce anonymizes it along with the rest of the order. Suggested text for your privacy policy is added under Settings → Privacy → Policy Guide.
When you delete the plugin it removes its settings, its counts, its scheduled cleanup and its log entries.
