🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 11, 2026

How to Stop Card Testing Attacks on Gravity Forms Payment Forms

GravityExtra
How to Stop Card Testing Attacks on Gravity Forms Payment Forms

It usually starts at night. Your Stripe or PayPal dashboard fills up with dozens of $0.50 and $1.00 payments, most of them declined, each with a random name and a different email address. Your Gravity Forms donation or payment form has been found by a card-testing bot, and it is using your form to check which stolen card numbers still work.

This guide explains what Gravity Forms card testing looks like, why regular spam protection does not stop it, and how the Gravity Forms Payment Fraud Shield Premium Add-on blocks these attempts before they reach your payment gateway.

If you process cards through Windcave, the Gravity Forms Windcave add-on keeps card details on the hosted page.

What Card Testing Does to a Gravity Forms Site

Card testing (also called carding) is when fraudsters run stolen card details through a real payment form to see which ones are accepted. Stripe’s card testing guide describes the usual signs: a spike in failed payments and suspicious payments with low amounts and nonsensical names and emails.

Why it hurts even when every card is declined
Fees. Depending on your gateway and pricing plan, attempts and the disputes that follow can cost money.
Decline rate. Stripe warns that a high decline rate can make all of your transactions look riskier, so real customers may be declined more often.
Disputes. Some stolen cards go through, and the real cardholder later reports the charge as fraud.
Noise. Fake payments and entries bury real orders and make your numbers unreliable.

Why Spam Protection Alone Does Not Stop It

Gravity Forms has good anti-spam tools. The built-in honeypot can include a Submission Speed Check (added in Gravity Forms 2.9.21) that flags submissions made too quickly to be human, and the official Cloudflare Turnstile Add-On is included with Basic, Pro, Elite and Nonprofit licenses. These tools judge whether a visitor looks like a bot.

Card testers are different: they behave like customers. Some site owners report carding attempts that carried on after they added a CAPTCHA, each attempt with a new name and email. What spam tools do not look at is payment behaviour: how many payments one IP address, email or network tried in the last ten minutes, how many were declined, and whether the amount is a suspicious $0.50.

Your Options to Stop Gravity Forms Card Testing

1. Gateway protection

Your payment gateway has its own defences. Stripe says its recommended integrations (Payment Element and Checkout) include automated controls such as rate limiters and CAPTCHA triggers, and Radar plans that support custom rules can add velocity rules. Keep these switched on. They act once the attempt reaches the gateway.

2. Anti-spam fields and server rules

Turnstile, reCAPTCHA, the honeypot and firewall or hosting rate limits all help, and you should use them where they fit. Stripe also notes that simple rules based on a single signal, such as IP addresses, are usually not enough on their own, which is why combining several checks works best.

3. Payment Fraud Shield

A Gravity Forms add-on that checks payment behaviour on your own site, during form validation, before any payment add-on charges the card. Blocked attempts never reach your gateway.

What Payment Fraud Shield Does

  • Automatic protection for every form with an active payment feed, with a per-form override.
  • Attempt limits per IP address, per email address and per network (/24 IPv4 or /48 IPv6), each with its own time window.
  • Attack spike detection on a whole form: new attempts are paused, or challenged when Turnstile is set up.
  • Decline lockout after several declined payments from the same IP address or email.
  • Minimum amount guard that blocks tiny test charges such as 0.50 or 1.00.
  • Disposable email blocking with a bundled list and your own extra domains.
  • Reuses the Gravity Forms honeypot and speed check on the payment step.
  • Optional Cloudflare Turnstile check shown only when the risk is high, so most real customers never see it.
  • An activity log with Unblock and Always allow, plus an email alert during an attack (at most one per hour).
  • Privacy first: full IP addresses and emails are never stored, only shortened and masked versions.

How to Set It Up

Requirements: WordPress 6.5+, PHP 7.4+, Gravity Forms 2.7+, a payment add-on with an active feed, and the add-on activated with your GravityExtra license under Forms → Settings → Fraud Shield.

Step 1: Check the protection rules

The defaults are a good start: 5 attempts per IP in 10 minutes, 5 per email in 60 minutes, 15 per network in 10 minutes, 60 per form in 10 minutes, and a lockout after 3 declines in 24 hours. If your smallest real payment is well above a dollar, set a Minimum payment amount too.

Fraud Shield Protection rules settings with payment attempts per IP address, per email address and per network, each with a time window
Attempt limits per IP address, email address and network.

Step 2: Confirm your payment forms are protected

Open a payment form and go to Settings → Fraud Shield. Forms with an active payment feed are protected automatically; you can also choose Always protect this form or Off for this form.

Payment Fraud Shield form settings with Protection set to Automatic, Always protect this form or Off for this form
Automatic protection for a form with an active payment feed.

Step 3: Add Turnstile and test

Optionally paste a Cloudflare Turnstile site key and secret key and keep Only when the risk is high. Then run a few test payments, including a declined test card, with your gateway in test or sandbox mode. Each gateway handles its own card form, so confirm on your own site that attempts and declines are counted before you rely on it.

Step 4: Watch the log

Forms → Fraud Shield shows attempts checked, blocked and declined in the last 24 hours, and every blocked attempt with its reason. If a real customer was caught, click Unblock or Always allow.

Payment Fraud Shield screen with 24 hour stats and recent blocked attempts showing shortened IP addresses, masked emails, amount, reason and Unblock and Always allow buttons
Blocked attempts with shortened IP addresses, masked emails and the reason.
Behind Cloudflare or another proxy? Check the visitor IP first

Fraud Shield uses the visitor IP address that Gravity Forms records. If your site is behind a proxy, load balancer or CDN, Gravity Forms may record the proxy’s address for everyone, and all customers would share one limit. Make sure Gravity Forms receives the real visitor IP (for example with the gform_ip_address filter or your host’s real-IP setting) before you tighten any limit.

The full list of settings, messages, alerts and developer filters is in the Payment Fraud Shield setup guide.

Who It Is For

  • Nonprofits with donation forms. Open donation forms with a custom amount are a favourite target for small test charges.
  • Event and registration forms. Combine it with Advanced Coupons & Discounts for conditional and single-use discount codes.
  • Service businesses taking deposits. Protect every account you take payments into, including forms using the Multi-Account Payment Router.
  • Agencies managing many client sites, where one attack can put a client’s merchant account at risk.

Comparison: Fraud Shield vs Spam Tools vs Gateway Rules

Feature Payment Fraud Shield GF honeypot and Turnstile Gateway fraud tools Do nothing
Where it runs On your site, before the card is charged On your site, at submission At the gateway, after the attempt arrives –
Attempt limits per IP, email, network Yes, each with its own window No Depends on gateway and plan No
Lockout after declined payments Yes No Depends on gateway and plan No
Minimum amount guard Yes No Depends on gateway and plan No
Bot and CAPTCHA checks Reuses GF honeypot; Turnstile only when risky Yes Stripe: CAPTCHA triggers in recommended integrations No
Blocked attempts reach the gateway No No, when caught Yes, then blocked there Yes
Cost From $39/year (1 site) Included with Gravity Forms Depends on gateway and plan Fees, declines and disputes

These layers work best together: keep your gateway’s protection and your anti-spam tools switched on, and use Fraud Shield to limit payment behaviour on your own site.

Frequently Asked Questions

How do I know my Gravity Forms payment form is being card tested?

Look for a burst of small payments in your gateway dashboard, mostly declined, with random names and changing emails, often with no matching completed orders. Stripe also points to spikes in failed payments and card errors.

Will Fraud Shield block real customers?

Each limit allows several attempts per visitor and can be adjusted, and with Turnstile set up, risky visitors get a quick check instead of a block. If someone is caught, click Unblock or Always allow in the log, and add your office or staff to the allowlist.

Does it work with my payment gateway?

Fraud Shield protects any form with an active feed from a Gravity Forms payment add-on, such as Stripe, PayPal, Square, Authorize.Net or GravityExtra gateways. Because each gateway handles its own card form, run test and declined test payments in sandbox mode before going live.

Does it store card numbers or full IP addresses?

No. It never sees card numbers with tokenised gateways and stores only salted hashes, shortened IP addresses and masked emails, deleted after the number of days you choose.

What is not included in version 1.0?

Country allow or block lists, card BIN or fingerprint rules, Stripe Radar rule suggestions and automatically turning off a payment feed.

Stop Card-Testing Bots Before They Reach Your Gateway

Attempt limits, decline lockout, a minimum amount guard and a smart Turnstile check for every Gravity Forms payment form. Plans start at $39/year for one site, $69 for five sites and $149 for ten.

Protect My Payment Forms →

or read the Payment Fraud Shield setup guide

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr