Fraud prevention watches your checkout for signs of automated or malicious shopper behavior — card testing, bot-driven checkout attempts, and similar abuse. It records what it sees, and, when you turn on automatic blocking, it stops the attempts it flags before they become orders.
Fraud prevention is free and is included with your store. There is nothing to install or purchase.
Availability. Fraud prevention is currently available on WordPress.com stores running on WP Cloud. It is not yet available on other hosting platforms.
What it does not do. Fraud prevention looks for automated and malicious shopper behavior. It is not a complete fraud solution. It does not score individual buyers for credit risk, does not detect friendly fraud or chargeback abuse, and does not replace the fraud controls your payment gateway provides.
Automatic blocking
↑ Back to topAutomatic blocking is enabled by default for eligible stores. If you previously turned it on, turned it off, or opted out of automatic enrollment, your choice is preserved.
To check or change the setting, go to WooCommerce → Settings → Fraud prevention. Select or clear Block flagged payment attempts automatically, then select Save. Your custom rules still apply when automatic blocking is off.
How fraud prevention works
↑ Back to topEvaluation
When a shopper reaches a supported checkout flow, fraud prevention evaluates the attempt in real time using browser and behavioral signals. Each attempt gets one of these results:
| Result | What happens |
| Not flagged | Checkout continues normally. |
| Flagged, automatic blocking off | Checkout continues. The attempt is recorded as Allowed with a Flagged badge. |
| Flagged, automatic blocking on | Checkout is stopped. The attempt is recorded as Blocked. |
| Matched one of your rules | Your rule decides the outcome, whatever the automated result was. |
Evaluation continues even when automatic blocking is off
↑ Back to topThis is the most important thing to understand about the setting. The Block flagged payment attempts automatically checkbox controls blocking only. It does not control evaluation.
With the setting off:
- Supported payment attempts are still evaluated.
- Payment attempts can still be recorded and appear in your payment activity list.
- Your allow and block rules still apply.
- Nothing is blocked automatically.
Review flagged activity to see which attempts fraud prevention identified while automatic blocking was off.
Fraud prevention fails
↑ Back to topIf the verification service cannot complete its checks, automatic fraud prevention allows the attempt to continue. A matching custom block rule can still block it. Other checkout or payment errors can also prevent a payment.
A block applies to one attempt only
↑ Back to topBlocking stops the checkout attempt in front of it — not the shopper, and not their session. If the same shopper tries again, the new attempt is evaluated from scratch and may well succeed. If the shopper is blocked again, you can create an allow rule for their email address or IP address.
What the shopper sees
↑ Back to topA blocked shopper sees a neutral message that does not mention fraud:
We are unable to process this request online. Please contact support (your store’s email address) to complete your purchase.
The email address comes from your WooCommerce email settings, falling back to your site’s admin email. Use an address you monitor so a shopper can contact you for help.
Finding fraud protection in your store
Go to WooCommerce → Settings → Fraud prevention.
The page has three sections:
- Automatic blocking — turn automatic blocking on or off.
- Custom rules — create a rule, or go to your rules list.
- Payment activity — a 30-day summary, with a link to your payment activity.
Turning on automatic blocking
On WooCommerce → Settings → Fraud prevention, select Block flagged payment attempts automatically, then select Save.
Before you turn it on, review flagged payment activity. If an attempt looks like it came from a real customer, create an allow rule for them first. If your store has a staging site, you can also enable the setting there and place a few test orders to confirm your checkout behaves the way you expect.
After you turn it on, check your payment activity list over the next few days. For an attempt blocked in error, create an allow rule and ask the shopper to try again.
Payment activity summary
↑ Back to topThe Payment activity card summarizes the last 30 days:
| Metric | Meaning |
| Flagged by fraud prevention | Attempts flagged as suspicious but allowed, because automatic blocking was off. Shown only while automatic blocking is off. |
| Blocked automatically | Attempts blocked by fraud prevention. |
| Allowed by rules | Attempts allowed because they matched one of your allow rules. |
| Blocked by rules | Attempts blocked because they matched one of your block rules. |
When automatic blocking is on, the Flagged by fraud prevention metric is hidden.
Select View all payment activity for the detail behind these numbers.
Payment activity
↑ Back to topWooCommerce → Settings → Fraud prevention → View all payment activity
Payment activity shows recorded payment attempts from the last 30 days, newest first. Older activity records are deleted automatically.
Columns
| Column | Notes |
| Provider | The payment gateway used for the attempt. |
| Date and time | Shown in your browser’s time zone. |
| Customer email | Shows an Allow rule or Block rule marker if one of your rules currently targets this address. |
| IP | Same rule marker as above. |
| IP location | Country resolved from the IP. Context only — you cannot write rules on it. |
| Billing address | Country, city, and postcode. Context only — you cannot write rules on it. |
| Outcome | See below. |
Outcomes
| Badge | Meaning |
| Allowed | Not flagged. Checkout proceeded. |
| Allowed + Flagged | Fraud prevention considered the attempt suspicious but allowed it, because automatic blocking was off at the time. Select the information icon for an explanation and a link to the setting. |
| Blocked | Blocked automatically by fraud prevention. |
| Allowed by rules | Matched one of your allow rules. |
| Blocked by rules | Matched one of your block rules. |
In the Outcome filter, the flagged-but-allowed case appears as Allowed, flagged.
Finding things
- Tabs: All, Allowed, Blocked.
- Search: by email or IP.
- Filters: Provider, Outcome, and Merchant rule (With matching rules / Without matching rules).
- Sorting, filters, and layout preferences are remembered between visits.
What you will not see
Fraud prevention does not show the individual signals behind an automated decision or a risk score.
A note on rule markers
The Allow rule / Block rule marker next to an email or IP reflects your current rules, not what happened at the time. If you create a rule today, it appears next to matching older attempts — but it did not affect them. Historical outcomes never change.
Custom rules
↑ Back to topRules are exact allow and block instructions you write yourself. They override whatever fraud prevention decides.
WooCommerce → Settings → Fraud prevention → View rules.
What a rule can match
Each rule matches one exact value:
- an email address — for example, shopper@example.com
- an IP address — IPv4 or IPv6, for example, 192.0.2.1
Rules do not support wildcards, domains, ranges, or partial matches. You cannot write rules on IP location or billing address.
How rules are applied
Rules are evaluated in this order:
- A matching allow rule wins. If an attempt matches both an allow rule and a block rule, it is allowed.
- A matching block rule wins over the automated decision.
- If no rule matches, the automated decision applies.
Three consequences worth knowing:
- Rules apply even when automatic blocking is off. Turning the setting off does not pause your rules.
- Rules apply regardless of payment gateway.
- Rules apply to future attempts only. Creating, editing, or deleting a rule never changes a past attempt or an existing order.
Creating a rule
From Settings → Fraud prevention, select Create rule, then choose:
- Action — Allow or Block
- Rule type — Email address or IP address
- Value — the exact address
Select Create rule to save. You are taken to the rules list, where the new rule appears.
If a rule for that value already exists, you will be told, and offered View rule instead of creating a duplicate.
Creating a rule from a checkout attempt
This is usually the faster route, and it avoids retyping customer data.
In the payment activity list, open the row’s actions menu. What you are offered depends on the row:
| Situation | Available actions |
| Attempt was blocked, no rule yet | Allow this email address / Allow this IP address |
| Attempt was allowed, no rule yet | Block this email address / Block this IP address |
| A rule already matches | Edit email address rule / Delete IP address rule, and so on |
| Flagged but allowed, automatic blocking off | Turn on automatic blocking, plus the actions above |
The value is filled in from the attempt and cannot be changed — confirm and save.
Note the last row. When fraud prevention flags an attempt and you have automatic blocking off, the right fix is usually to turn automatic blocking on, not to write a one-off block rule. A block rule only stops that one email or IP; an attacker rotating addresses will get straight past it.
Editing and deleting rules
In the rules list, use Edit or Delete on any rule.
Deleting is straightforward: “This rule will no longer apply to future checkout attempts. Past attempts won’t be affected.” Your payment activity history stays intact.
Best practices
- Keep your rule set small. Rules are exact matches and they override the automated system. A large rule set is hard to reason about and gets stale.
- Be careful with IP rules. An IP address is often shared — by a household, an office, a school, a mobile carrier, or a VPN. A block rule on an IP can block people who have nothing to do with the attempt you saw. Prefer an email rule where you have a choice.
- Use allow rules for known-good customers, particularly repeat wholesale or B2B buyers whose ordering patterns can look automated.
- Use block rules for confirmed abuse you have already investigated.
- Do not use block rules as a substitute for automatic blocking. Rules handle the cases you already know about. Automatic blocking handles the ones you do not.
- Revisit your rules periodically. Rules stay in force until you edit or delete them.
What is covered
↑ Back to topCheckout flows
Fraud prevention evaluates these flows:
- Checkout block (the default WooCommerce checkout)
- Classic (shortcode) checkout
- Pay for order pages
- Add payment method (My Account)
- Change payment method for WooCommerce Subscriptions
- PayPal Payments express and smart buttons — product page, cart, mini-cart, checkout, and pay-for-order — plus card fields and saved-payment-method setup
Recording and protection depend on the attempt reaching fraud prevention. Heavily customized checkouts, headless storefronts, and unsupported payment flows may not be recorded or protected. If your store uses a custom checkout, review your payment activity list to confirm attempts are being recorded before you rely on automatic blocking.
Payment gateways
Fraud prevention records attempts from all gateways that reach it, and shows the gateway in the Provider column so you can see the coverage on your own store.
Your rules apply across every gateway.
Data and privacy
↑ Back to topFraud prevention sends information about supported payment attempts to a verification service. This can include customer, order, payment method, browser, and checkout activity information.
Your store also keeps a payment activity record for each recorded attempt. Depending on what is available, the record can include the customer’s email address and IP address, billing name and location, payment provider, the decision, and a matching custom rule. The payment activity list shows the last 30 days of recorded attempts. Older activity records are deleted automatically.
Payment activity can still be recorded when automatic blocking is off. Custom rules remain until you edit or delete them. Other records, including WooCommerce logs and information held by the verification service, can have different retention periods.
If you need a recorded payment attempt removed before it expires, contact your store’s support team. Deleting a payment activity record from your store does not necessarily delete other records.
Developers can also manage payment activity and custom rules with WP-CLI.
Troubleshooting
↑ Back to topA real customer was blocked.
Find the attempt in your payment activity list and create an allow rule for their email address from the row’s actions menu. Ask the customer to try again. If the payment still fails, contact support.
I am seeing flagged attempts but nothing is being blocked.
Automatic blocking is off. Go to WooCommerce → Settings → Fraud prevention and select Block flagged payment attempts automatically, then select Save.
Nothing is appearing in my payment activity list.
Clear any search or filters. If payment activity is still missing, your checkout flow might not reach fraud prevention. See “What is covered” and contact support if you need help.
My rule does not seem to work.
Check three things: the value is an exact match (rules do not support wildcards or partial matches); there is no allow rule for the same shopper, since allow always wins; and the attempt happened after you created the rule, since rules never apply retroactively.
I blocked an IP and now other customers cannot check out.
IP addresses are frequently shared. Delete the IP block rule and use an email block rule instead.
I want to stop automatic blocking.
Clear the checkbox on WooCommerce → Settings → Fraud prevention and select Save. It will stay off. Your rules continue to apply.
Getting help
↑ Back to topIf you have questions about fraud prevention on your store, contact WooCommerce support through your store’s support channel.
Questions and support
↑ Back to topDo you still have questions and need assistance?
This documentation is about the free, core WooCommerce plugin, for which support is provided in our community forums on WordPress.org. By searching this forum, you’ll often find that your question has been asked and answered before.
If you haven’t created a WordPress.org account to use the forums, here’s how.
- If you’re looking to extend the core functionality shown here, we recommend reviewing available extensions in the WooCommerce Marketplace.
- Need ongoing advanced support or a customization built for WooCommerce? Hire a Woo Agency Partner.
- Are you a developer building your own WooCommerce integration or extension? Check our Developer Resources.
If you weren’t able to find the information you need, please use the feedback thumbs below to let us know.