Fraudulent orders cost stores the product, the shipping, the chargeback fee and sometimes their payment account. Card testing attacks, where bots use a checkout to check thousands of stolen card numbers, can rack up fees and get a store flagged by its payment provider. This guide covers how I protect WooCommerce stores from both.
Types of e-commerce fraud
Common types include orders placed with stolen cards, card testing with many small transactions, friendly fraud where a genuine customer disputes a legitimate charge, account takeover using stolen passwords and refund or coupon abuse.
Each needs slightly different defences, but good gateway tools, monitoring and clear policies help with all of them.
What card testing looks like
Card testing attacks show as a sudden burst of orders, often small amounts, many failing, with different cards, names and addresses but similar patterns, sometimes from the same IP ranges. They may hit the checkout or the add payment method page.
Even failed attempts can cost fees with some providers and damage your account’s standing. Act quickly when you see the pattern.
- 1Gateway toolsRadar and risk rules
- 2Bot protectionCAPTCHA on checkout
- 3Rate limitsFirewall rules
- 43D SecureStrong authentication
- 5Order reviewBefore shipping
Use your gateway’s fraud tools
Stripe Radar, WooPayments fraud protection and PayPal’s risk tools analyse each payment using data from millions of transactions. Enable them and adjust rules to block or review high-risk payments, such as those with mismatched countries or many attempts.
These tools are the most effective first line of defence because they see patterns across many stores. See WooCommerce payment gateways compared.
Add CAPTCHA to checkout
Adding Cloudflare Turnstile or reCAPTCHA to the checkout and add payment method pages blocks many automated card testing attempts. Choose an invisible or low-friction option so real customers are not inconvenienced.
WooCommerce and gateway plugins increasingly include bot protection; check whether yours already does before adding another plugin.
Rate limiting and firewall rules
Limit how many orders or payment attempts can be made from one IP address or session in a short period. Firewall rules at Cloudflare or in a security plugin can challenge or block suspicious traffic to checkout and payment endpoints.
WooCommerce includes rate limiting options for some endpoints. See do you need a WAF.
3D Secure and strong authentication
3D Secure asks the cardholder to confirm payments with their bank, often through an app. In the UK and EU, strong customer authentication is required for many online payments. 3D Secure shifts liability for some fraud chargebacks to the card issuer.
Most modern gateways apply 3D Secure automatically when needed. Make sure your gateway and checkout support it.
Review risky orders
Before shipping, review orders with warning signs: billing and shipping addresses in different countries, express shipping on high-value items to a new customer, multiple orders with different cards, free email addresses combined with large orders or addresses at freight forwarders.
Contact the customer if something looks wrong. A short phone call or email often confirms genuine orders and deters fraudsters.
Protect customer accounts
Attackers use leaked passwords to log into customer accounts and use saved payment methods. Rate limit login attempts, add CAPTCHA to login if needed and alert customers to password changes. See brute force attack protection.
Limit what can be changed without re-entering the password, such as email addresses and payment methods.
Coupon and refund abuse
Limit coupons to one per customer, set expiry dates and minimum spends, and watch for coupons shared on deal sites. For refunds, require returns before refunding where your policy allows, and keep records of customer communication.
Patterns of repeated refund claims from the same customer or address are worth investigating.
Handling chargebacks
When a chargeback arrives, respond within the deadline with evidence: order details, delivery tracking, signed proof of delivery for high-value items, IP address, customer communication and your policies. Clear product descriptions and policies help win disputes.
Track chargeback rates. High rates can lead to payment account restrictions.
Monitor and alert
Set up alerts for unusual order volumes, many failed payments or sudden spikes in new accounts. An activity log records order and refund changes by staff. Review payment provider dashboards regularly.
If an attack is happening
Temporarily enable stricter checkout protection, block the attacking IP ranges at the firewall, disable guest checkout briefly if necessary and contact your payment provider. Cancel and refund fraudulent orders before shipping.
After the attack, review settings to prevent it happening again and check whether any orders slipped through.
High-risk products and markets
Some products attract more fraud than others: electronics, gift cards, luxury goods, digital downloads and anything easy to resell. Stores selling these need stricter rules, such as manual review above a certain order value, signature on delivery and limits on quantities per order.
Shipping to countries you rarely serve, freight forwarders and newly created accounts ordering high-value items are common risk signals. Adjust your gateway’s fraud rules to match your real customer base, so genuine buyers pass easily while unusual orders are held for review.
Getting help
Fraud and card testing protection is part of my WooCommerce development service and website protection service. For the wider picture, see WooCommerce security basics.
For Shopify stores, read Shopify store security.
Key takeaways
- Enable your payment gateway's fraud tools first.
- Add low-friction CAPTCHA and rate limiting to stop card testing.
- Review risky orders before shipping and contact customers when unsure.
- Respond to chargebacks quickly with clear evidence.
Frequently asked questions
What is card testing?
Bots using your checkout to test stolen card numbers, usually with many small payments.
How do I stop card testing on WooCommerce?
Use gateway fraud tools, CAPTCHA on checkout, rate limiting and firewall rules.
Does 3D Secure prevent fraud?
It reduces fraud and shifts liability for many chargebacks to the card issuer.
Should I disable guest checkout?
Only temporarily during an attack. Guest checkout helps conversions.
What evidence helps win chargebacks?
Tracking, proof of delivery, IP address, customer messages and clear policies.
Can fraud close my payment account?
High fraud or chargeback rates can lead to restrictions. Act quickly.
Are digital products at higher fraud risk?
Yes, because they are delivered instantly and easy to resell. Use stricter gateway rules and limit download attempts.
