| 开发者 | jahirulwp |
|---|---|
| 更新时间 | 2026年11月3日 00:40 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
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, up to 50 per run. 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 tab under WooCommerce → Settings → OrderSieve:
ordersieve folder to /wp-content/plugins/, or install it from Plugins → Add New.Yes. The time check and the email check both work on the block checkout. The hidden field needs the classic checkout, because the block checkout does not show extra fields added in PHP.
It is very unlikely. All three checks look for machine behaviour: people do not see the hidden field, take longer than a few seconds to check out, and rarely use throwaway email addresses. Every blocked attempt is logged so you can review it, and the rejection message can tell shoppers how to reach you.
Go to Tools → OrderSieve Logs. It lists the 100 most recent blocked attempts and cleanup runs. The same entries are under WooCommerce → Status → Logs with the source ordersieve.
No. On the classic checkout no order is created. On the block checkout the unfinished order is cancelled without sending the "Cancelled order" email.
No. It only deletes orders that OrderSieve blocked and flagged, older than the number of days you set, at most 50 per run. Orders you cancelled or trashed yourself are never touched.
Yes. If a cached or custom checkout page is missing the signed start time, or it does not match the shopper's session, OrderSieve uses the age of the shopper's WooCommerce session instead of blocking the order.
Express checkout can be very quick, so now and then a one-click payment may beat the minimum time. If that happens on your store, lower the minimum time, set it to 0, or turn the time check off with a filter:
add_filter( 'ordersieve_run_time_trap', '__return_false' );
Add a test domain such as example.com under Additional blocked email domains, then place a test order with an @example.com email address. The order is rejected and the attempt shows up under Tools → OrderSieve Logs. Remove the test domain afterwards.
Yes, with the ordersieve_disposable_domains filter. Subdomains of each domain you add are blocked too:
add_filter( 'ordersieve_disposable_domains', function ( $domains ) { $domains[] = 'example.com'; return $domains; } );
ordersieve_run_time_trap (filter) – bool $run. Return false to skip the time check.ordersieve_disposable_domains (filter) – string[] $domains. Lowercase domains to block.ordersieve_block_message (filter) – string $message. The message shown to a blocked shopper.ordersieve_blocked (action) – string $reason, string $email. Fires whenever an attempt is blocked. The reason is honeypot, time-trap or disposable-email.Checkouts are no longer screened and the daily cleanup stops. Your settings and logs are kept, so everything picks up where it left off when you turn it back on. Deleting the plugin removes its settings, scheduled cleanup and log entries.
No. See the Privacy section above.