On this page
What this issue is
Card testing (also called carding) is when criminals hold a list of stolen card numbers and need to know which ones still work. They use an automated script to try each card on a real checkout, often for a tiny amount, because a small approved charge proves the card is live. Your store is just the testing ground.
Typical targets are low-priced products, free or pay-what-you-want items, donation forms, and any checkout with no CAPTCHA and weak card checks.
Why it costs you leads or sales
You pay for every attempt. Processors often charge a fee per failed or declined payment, and approved test charges later turn into chargebacks (disputes) with extra fees. Too many disputes or declines can get your account limited or suspended, which stops real customers from paying at all.
Fraud tools may also start declining genuine buyers, and your order and conversion data fills up with junk. Your analytics can show a surge of checkout starts that never become real revenue.
Example: illustrative numbers showing how a bot burst dwarfs normal checkout traffic.
Day 1
Bots find a low-priced product or donation form with no bot protection.
Day 1-2
Hundreds of small payment attempts arrive; most are declined, and you pay a fee on each.
Days 3-30
Approved test charges are disputed by the real card owners, creating chargebacks.
After
Your processor reviews your dispute and decline rates and may limit your account.
How to check if your site has it
Look in your payment provider dashboard and your store's order list, not in your funnel. These signs together point to card testing:
- A sudden spike in failed or declined payments, often within minutes
- Many small orders or charges of the same low amount
- Many different card numbers from the same IP address, or a small set of IPs
- Random or fake-looking names and emails on orders
- Declines with reasons like incorrect CVC, incorrect postcode or expired card
- Failed attempts that never match real visitor sessions in your analytics
- Warning emails from your processor about decline rates or disputes
How to fix it
Stop the attack first, then add layers so it cannot restart. No single control is enough, so use several.
Turn on payment-side fraud rules
In your payment provider, require CVC and postcode (AVS) checks and block payments that fail them. In Stripe, use Radar rules; other providers have similar fraud settings.
Add rate limits
Limit how many payment attempts one IP, session or email can make in a short time. Use your provider's rules or a web application firewall (WAF).
Put bot protection on the payment step
Add a CAPTCHA or managed challenge on checkout or donation forms, using your platform's or WAF's own feature.
Block abusive sources
Block the attacking IPs, ranges or countries you do not sell to, at your WAF or host.
Pause risky products or forms if needed
If the attack is heavy, temporarily disable the targeted low-price product, free item or donation form.
Contact your processor
Tell them you are under attack. They can tighten rules and note the cause if your decline rate rises.
Use Shopify's fraud tools
Open Settings > Payments and check your gateway's fraud settings. Turn on CVV and postal code matching. Review Orders for fraud analysis.
Keep checkout bot protection on
Shopify protects checkout by default; avoid custom flows that bypass it. Consider a fraud app from the Shopify App Store for extra rules.
Set gateway fraud rules
In WooCommerce > Settings > Payments, open your gateway (for example Stripe) and enable CVC and postcode checks.
Add CAPTCHA and a firewall
Use a CAPTCHA plugin that supports the WooCommerce checkout, and a WAF plugin or a service in front of your site to rate-limit requests to checkout.
Rate-limit the payment endpoint
Limit requests per IP to your payment or checkout API route at the server, framework or WAF level.
Verify a CAPTCHA token server-side
Require a valid token before creating a payment intent, and reject the request if it is missing or invalid.
limit_req_zone $binary_remote_addr zone=checkout:10m rate=10r/m;
server {
location /checkout {
limit_req zone=checkout burst=5 nodelay;
# proxy_pass or fastcgi_pass as usual
}
}How to confirm it's fixed
- Failed and declined payments per hour fall back to your normal level
- No more bursts of identical small charges
- Your processor's decline rate and dispute rate stop rising
- A real test purchase by you still completes
- Blocked or challenged requests show up in your WAF or fraud tool logs
How to prevent it happening again
- Keep CVC and postcode checks on permanently
- Keep a CAPTCHA or managed challenge on checkout and donation forms
- Use a WAF with rate limiting in front of the site
- Set processor alerts for decline spikes and dispute rates
- Review failed payments weekly
- Be careful with free items, tiny-price products and open donation amounts, which attract testers
How FunnelGuard handles this
This is outside what FunnelGuard checks. Card testing happens in your payment provider and at the edge of your site, and needs fraud and bot-protection tools: your processor's fraud rules (such as Stripe Radar), a web application firewall with rate limiting, and CAPTCHA or bot management.
What FunnelGuard does do is run your real checkout journey on a schedule and check each step and tracking hit. It stops before payment unless your store's test mode is set up, never enters real card details and never bypasses CAPTCHAs or bot protection. That helps you notice if a new protection accidentally breaks your own checkout, but it is not a defence against card testing.
Questions people ask
What is a card testing attack?
A card testing attack is when bots try lists of stolen card numbers on a real checkout, usually for small amounts, to see which cards still work. The valid ones are then used for bigger fraud elsewhere. Your store pays fees and may face chargebacks.
Why am I getting lots of small failed payments on my store?
A burst of small failed or declined payments, often with wrong CVC or postcode, is the classic sign of card testing bots. Check whether the attempts share IP addresses, use fake names, or hit one low-priced product or donation form.
How do I stop card testing on my checkout?
Turn on CVC and postcode checks in your payment provider, add rate limits, put a CAPTCHA or managed challenge on the payment step, and block abusive IPs at your firewall. Use several layers, as one control alone rarely stops it.
Can card testing get my payment account suspended?
Yes. High decline rates and later chargebacks can lead your processor to limit, hold or close your account. Contact them early if you are under attack and fix the cause quickly.
Why do card testers target donation forms and cheap products?
Small or open amounts raise fewer alarms and cost the criminal little, while a successful charge still proves the card is live. Forms without CAPTCHA or fraud rules are the easiest targets.
Does a CAPTCHA stop card testing?
It helps a lot by blocking simple bots, but it is not enough on its own. Combine it with processor fraud rules and rate limiting, since some attackers use human solvers or other tricks.
Can FunnelGuard detect card testing attacks?
No. Card testing needs payment fraud tools and bot protection. FunnelGuard monitors your own checkout journey, such as steps and tracking, and is not a fraud or attack detection tool.
Related issues
- OPS-161Credential stuffing on loginFix guide
- OPS-158Exposed admin login (/wp-admin, /administrator) without protectionFix guide
- OPS-179SQL injection in formsFix guide
- OPS-177Reflected XSS in form fields or searchFix guide
- OPS-155Outdated CMS core with known CVEsFix guide
- OPS-156Outdated plugins/themes with known CVEsFix guide