How to Stop Card Testing Attacks on Your WooCommerce Store

Card testing attacks can cost a WooCommerce store fees, chargebacks and even its payment account. Here is how to spot and stop them.
How to Stop Card Testing Attacks on Your WooCommerce Store

One morning you open your WooCommerce orders and see hundreds of failed payments for one or two dollars, all made within minutes, from different names and addresses. That is a card testing attack. Bots are using your checkout to find out which stolen card numbers still work.

It looks harmless because most payments fail, but it is not. This guide explains why card testing is dangerous, how to recognise it and how to stop it with the right settings and the free MIVAQ Cardwall for WooCommerce plugin.

What is card testing?

Criminals buy large lists of stolen card numbers. Before they use them for big purchases, they test which ones are still valid by making small payments on real stores. Small online shops are popular targets because many have no bot protection on checkout.

Why card testing hurts your store

  • Gateway fees: many payment providers charge for every attempt, even failed ones.
  • Chargebacks: successful test payments are later disputed by the real card owners.
  • Account reviews: a high decline rate can make Stripe, PayPal or your bank review, limit or close your account.
  • Messy data: fake orders fill your order list, emails and reports.
  • Server load: thousands of checkout requests slow the site for real customers.

Warning signs

Sign What it looks like
Many failed payments Dozens or hundreds of declines in a short time
Tiny order values Cheapest product, often under five dollars
Random customer details Odd names, mismatched countries, throwaway emails
Same IP or IP ranges Many attempts from one address or data centre
Guest checkouts No account, no browsing before checkout
Odd hours Spikes in the middle of the night for your region

How the bots get through

Most attacks do not even load your checkout page in a browser. The bots send requests straight to the checkout or the WooCommerce Store API. That is why a normal form CAPTCHA on the page often does not help: the bot never sees it.

How to stop card testing

1. Verify that checkout comes from a real browser

Block orders that did not load the checkout page and pass a browser check. This alone stops most scripted attacks.

2. Limit attempts

Set rate limits per IP address, per email and per card. A real customer rarely needs more than a few attempts in an hour.

3. Lock out after failed payments

After a number of declines from the same source, block checkout for a period of time.

4. Use a hidden bot trap

A hidden field that humans never see but bots fill in reveals automated submissions without bothering customers.

5. Score risk

Combine signals such as disposable email domains, country mismatch, speed of submission and order value into a risk score. Hold risky orders for review instead of shipping them.

6. Keep block and allow lists

Block known bad IPs and emails, and allow your trusted customers so they are never stopped.

Stop it automatically with MIVAQ Cardwall

We built MIVAQ Cardwall for WooCommerce to do all of the above in one free plugin. It runs on your own server, needs no API key and no outside service.

  • Browser verification for classic and block checkout, including the Store API.
  • Rate limits per IP, email and card, plus failed-payment lockout.
  • Hidden bot trap and risk scoring with adjustable weights.
  • Block and allow lists, an automatic attack mode and a clear activity log with CSV export.
  • A dashboard showing blocked checkouts, held orders and top reasons.

Install it from Plugins → Add New in WordPress by searching “MIVAQ Cardwall”, activate it and choose a protection preset. Real customers check out exactly as before.

What to do during an active attack

  1. Turn on stricter protection or attack mode.
  2. Temporarily raise the minimum order value if your products allow it.
  3. Contact your payment provider and tell them you are under attack; they may help with fees.
  4. Cancel unpaid fake orders and refund any successful test payments quickly to avoid chargebacks.
  5. Review your logs to block the main IP ranges.

After the attack

Keep protection on. Attackers often come back to stores that were easy targets. Review your security basics too: updates, strong passwords and backups. Our WordPress security checklist and WooCommerce malware removal guide cover the rest.

Need help with your website?

MIVAQ Creative Solutions designs, fixes and grows websites on WordPress, WooCommerce, Shopify and Wix for small businesses. Tell us what you need and we will send you a clear plan and a custom proposal for your project.

Frequently asked questions

Does a CAPTCHA stop card testing?

Not always. Many bots send orders directly to the checkout API without loading the page, so they never see the CAPTCHA. Browser verification and rate limits work better.

Will card testing protection block real customers?

Good protection is invisible to real shoppers. MIVAQ Cardwall uses checks that real browsers pass automatically.

Is MIVAQ Cardwall free?

Yes. It is a free plugin on WordPress.org and needs no API key or account.

Should I refund successful test payments?

Yes, refund them quickly. It reduces the chance of chargebacks and shows your payment provider you are handling the problem.

Keep reading

Website Migration SEO Checklist: Move Your Site Without Losing Rankings
SEOWeb
A step-by-step website migration SEO checklist covering planning, redirects, launch day checks and the first weeks after going live.
How to Choose Web Hosting for a Small Business Website
Web
A plain-English guide to hosting types, the features that really matter and how to pick the right plan for your business website.
Shopify Product Page Optimization: 16 Ways to Boost Conversions and SEO
Shopify
Sixteen practical improvements that help Shopify product pages rank higher and convert more visitors into buyers.

Need help putting this into practice?

We turn ideas like these into working websites, stores and growth plans. Tell us what you are working on.