Card testing is when fraudsters run stolen card numbers through a payment form to learn which cards still work, and donation and membership forms are a common target. GivingTuesday is December 1, 2026, according to GivingTuesday’s own site. Year-end giving pages are busiest then, which is when a card testing attack hurts most.
Small-dollar forms with guest checkout are easy to script. This post covers how card testing works, the signs to watch for, the fixes to put in place before December 1, and a plan for the night an attack starts. Processor settings are as of November 15, 2026.
The short version: check your processor dashboard for spikes in declines and tiny payments. Put a CAPTCHA or Turnstile on the form and verify it on the server. Add rate limits per IP and per customer. Turn on your processor’s fraud rules. Set a sensible minimum gift. If an attack starts, slow the form, refund the charges that got through, and fix the integration before you reopen it.
What card testing is and why donation forms get hit
Stripe’s card testing guide defines it as "a type of fraudulent activity where someone tries to determine whether stolen card information is valid." Stripe lists other names for it: carding, account testing, enumeration and card checking. PayPal’s article on carding attacks describes the same thing, with thieves using bots to check stolen card details.
Stripe says testers use scripts to try many cards at once, through two routes. One is saving a card, because card checks during setup "don’t typically show up on cardholder statements." The other is small payments, which cardholders are less likely to notice. Donation forms fit both routes. Many accept any amount and need no account.
The cost lands on you, not the fraudster. Stripe lists the damage:
- Disputes and fraud warnings from cardholders who notice the charges.
- Higher decline rates, which can make issuers decline your real donors "even after card testing ceases."
- Extra fees, such as authorization fees on some pricing plans and dispute fees.
- Strain on your site from the flood of requests.
- Bad data, since test payments can look like new donors in your reports.
Signs of card testing on a donation or membership form
Most attacks are easy to see once you look. Stripe says "most attacks are obvious in your Stripe Dashboard." Here is what Stripe and PayPal tell merchants to watch for, and where a nonprofit team would see it.
| Sign | Where to look | Source |
|---|---|---|
| A sudden spike in failed or blocked payments | Processor dashboard home and payments list | Stripe |
| A spike in 402 errors, many with a “generic_decline” outcome | Stripe’s developer logs, webhooks or API responses | Stripe |
| Many low amounts with nonsense names and emails | Payments list, CRM or AMS donor records, receipt emails | Stripe |
| Multiple failed transactions, rapid low-dollar payments, many attempts from one device | Processor fraud reports, server logs | PayPal |
Your own systems show it too: junk donor records in the CRM or AMS, bounced receipt emails, and bursts of form posts from a few IP addresses in server or CDN logs.
Disputes arrive weeks later, so do not wait for one. Put a daily look at failed payments on someone’s calendar from now through December 31.
A 30-minute card testing check before GivingTuesday
You can do this pass on each donation, membership and event payment form this week.
- List every form that takes a card. Include old campaign pages, event forms and "update your card" pages.
- Check each form’s integration. Stripe says its hosted Checkout and latest Payment Element have built-in card testing controls. A custom form or older plugin may not.
- Scan 90 days of declines. A steady trickle of tiny declines can mean a slow test is already running.
- Test the CAPTCHA. Submit the form with the widget blocked. If the payment goes through, the server is not checking it.
- Check the minimum gift. Decide whether a $1 gift is worth the risk.
- Know who can change processor rules, and who your developer or plugin vendor is.
- Check your keys. No secret processor key should sit in theme files, a public repo or a shared document.
If you use a plugin or a hosted giving platform, Stripe notes that preventing card testing "typically requires code-level changes." Its advice is to show the guide to the developer or vendor who wrote the code.
Fix 1: a CAPTCHA or Turnstile checked on the server
Card testing runs on scripts, and a challenge on the form slows scripts down. The catch is that the check has to happen on your server. A widget on the page alone does nothing.
Cloudflare’s Turnstile docs are blunt about this: "The client-side widget alone does not protect your forms." Your server must send each token to Cloudflare’s Siteverify API. Cloudflare says tokens are valid for 300 seconds and are meant for single use. Without the server check, "Tokens can be forged."
Stripe’s guide gives a short checklist if testing continues after you add a CAPTCHA. Make sure it is required on all requests that validate a card or take a payment. Make sure it is checked on the server. If your CAPTCHA gives a score, raise the threshold. If that fails, switch from an invisible challenge to a visible one, or try a different product.
Turnstile is one free option. Cloudflare’s Turnstile plans page lists a Free plan with up to 20 widgets and unlimited challenges, and says it "can be used independently" of other Cloudflare services. Google reCAPTCHA and hCaptcha work the same way: the server must verify the result. Test any challenge with a keyboard and a screen reader, since one real donors cannot pass costs you gifts.
Fix 2: rate limits per IP and per customer
Rate limits cap how many tries one source gets. Stripe gives an example: limit the number of new customers a single IP address can create in one day. It also suggests limits on cards added to one account and on purchases of the same product.
Stripe warns that IP rules alone are rarely enough, because testers spread across many addresses. It suggests combining controls. In its example, the first payment from an IP goes through, and later tries from that IP for several hours must pass a CAPTCHA.
You can set limits in a few places:
- At the CDN or firewall. Cloudflare’s rate limiting docs say the Free plan gets one rule, counted by IP over 10 seconds. Pro gets two rules with periods up to one minute. Business gets five.
- In the application. Your form code or plugin can limit attempts per session, per email or per donor record.
- At the processor. Velocity rules, covered next.
Watch out for shared IP addresses. Offices, campuses and mobile carriers put many people behind one address. A limit tight enough to stop a script can also block a staff giving drive on GivingTuesday.
Fix 3: processor fraud rules for card testing
Your processor already sees every attempt, so it is the best place for rules. Stripe and Braintree are two examples of what to look for in your own processor’s settings.
Stripe’s Radar docs list four plans: Lite, Standard, Plus and Pro. Card testing prevention is listed on all four. Custom rules, backtesting, block lists and manual reviews need Plus or Pro. Stripe says Standard, Plus and Pro charge a fee for each screened transaction.
Custom rules can count attempts over time. Stripe calls these velocity rules and says a common use is to reduce card testing. Stripe’s Radar rules guide gives examples such as Block if :blocked_charges_per_ip_address_hourly: > 1. Stripe also names rules that block charges when the CVC or ZIP check does not pass.
On Braintree, PayPal’s Braintree fraud tools overview says the tools "may not be enabled on your account by default." The basic tools include risk thresholds with customized velocity checks, plus AVS and CVV checks, at no extra fee. Premium tools cost extra. Rejected attempts show as Gateway Rejected with a reason.
PayPal’s carding article also suggests velocity limits by amount, IP, billing address, card BIN or device, plus honeypot fields.
Fix 4: a minimum gift and fewer open doors
Both Stripe and PayPal say testers favor small amounts. A minimum gift of a few dollars removes the cheapest tests. Pick a number your fundraising team can live with. This is a judgment call, and it will not stop testers on its own.
Stripe also suggests making the form harder to reach. Requiring a login or a valid session before payment helps. So do CSRF tokens, which Stripe says stop some types of card testing. For an open donation form, a session check on the server may be enough.
Two more steps from Stripe matter. Keep your secret API key private, since a leaked key lets testers create payments directly. Stripe’s key guidance says to use restricted keys and to rotate any exposed key "immediately even if you aren’t sure anyone saw it." And send the processor more data. Stripe says the IP address, email, name and billing address help its models tell real donors from scripts.
If you also want to let AI shopping agents complete gifts, plan the rules together. Our post on AI shopping agents and donation pages and our look at Cloudflare agent controls cover that side.
The night a card testing attack starts
Stripe’s checklist for an active attack is short: identify it, refund fraudulent payments, add controls, then keep watching. Here is how that plays out for a small team.
- Confirm it. Check the dashboard for the spike in declines and tiny payments. Note the start time.
- Slow the form. Turn on a visible challenge, tighten the rate limit, or require a session. If none of that is ready, pause the form or point the donate button to your processor’s hosted page.
- Tighten processor rules. Add a velocity rule or raise your risk settings for the night.
- Do not retry failed cards. Stripe warns that retrying cards from fraudulent customers "repeats the original attack."
- Check your keys. If a secret key could have leaked, roll it.
- Call for help. Contact your processor’s support and your developer or plugin vendor with the times and examples.
After the attack: refunds, records and follow-up
Refund the test charges that succeeded. Stripe recommends refunding suspicious payments "to avoid disputes." A refund costs less than a dispute and keeps your dispute rate down.
Then flag or remove junk donor records in the CRM or AMS so they do not inflate year-end reports. Watch your decline rate for real donors for a few weeks, since Stripe says high declines can linger.
Last, fix what let it through before you reopen fully. Our posts on the Drupal Commerce access bypass and the WordPress form upload flaws show how often payment and form plugins need updates.
Frequently Asked Questions
What is card testing?
Card testing is when fraudsters use scripts to run stolen card numbers through a payment form to see which cards work. Stripe also calls it carding, account testing, enumeration or card checking.
Why do donation forms get targeted?
Many donation forms accept small amounts, need no login and respond right away. That makes them quick and cheap for scripts to test cards on.
How do I know if my form is under attack?
Look for a sudden spike in declined or blocked payments, many tiny payments, and donor names or emails that make no sense. Stripe says most attacks are obvious in the dashboard.
Does adding a CAPTCHA stop card testing?
It helps only if your server verifies it. Cloudflare says the Turnstile widget alone does not protect a form. Stripe says to require the check on every request that validates a card or takes a payment.
Do I need to pay for Stripe Radar to stop card testing?
Stripe lists card testing prevention on all four Radar plans. Custom velocity rules need Radar Plus or Pro, and Stripe charges a per-transaction fee on Standard, Plus and Pro.
Should I refund card testing charges?
Yes. Stripe recommends refunding suspicious payments that got through to avoid disputes. Do not retry the failed cards.
Will blocking IP addresses stop it?
Rarely on its own. Stripe says single rules such as IP blocks are usually not enough, because testers spread their attempts. Combine rate limits, a server-checked challenge and processor rules.
Should we set a minimum donation?
It is worth considering. Stripe and PayPal both say testers favor small amounts. A low minimum removes the cheapest tests, though it will not stop an attack by itself.