Pass the menu and read the page

SignupFolio

5 checks for card testing on a card-required trial

Card testing on a card-required free trial shows up as a spike in failed charges with "generic_decline" outcomes, and one practical response is capping how many charge attempts a single customer can make in an hour. Stripe's documentation uses a bound of 5 as its example, and the five checks below show how to find the pattern and set a limit that fits your signups.

> Key takeaways > - Watch for a volume spike and a rising count of generic declines in failed charges. > - Requesting 3D Secure helps, but it does not block every possible 3DS outcome. > Count charge attempts for each customer within an hour. The first attempt in an hour has a value of 0. > - Set a hard bound on hourly attempts. Stripe's example bound is 5. > - Add a bot score to each signup as a fifth signal, alongside the card data.

How scripted card testing shows up on a free-trial signup

Card testing is a way for fraudsters to find out which stolen card numbers still work. Instead of testing one card at a time, they run scripts that try many card numbers at once. As Stripe's guide to card testing explains, the scripts "collect 3DS or issuer responses to validate which card information is valid." The result is a stream of charge attempts that look like ordinary signups, each with a different card.

A card-required free trial is an attractive target for this pattern. The card is collected at signup, and the first charge is often scheduled for later, so a tester can validate a card before any real purchase happens. Your payment logs, not your marketing analytics, are where this traffic becomes visible. Failed charges, repeated attempts from one customer, and unusual response codes are the first signals to look for.

The five checks in this post work as one system. The first two look at aggregate patterns: the overall volume of failed charges and how 3D Secure requests behave. The next two look at individual customers: how many attempts each one makes in an hour, and what limit you put on that count. The fifth adds a bot score to each signup request, which gives you a signal that does not depend on card outcomes at all. Each check is useful alone, but the combination is what separates a real attack from a busy launch day.

Check 1: Watch for the volume spike and generic declines

Your first check is a volume check. Card testing scripts send many attempts in a short window, so the most direct sign is a sudden rise in failed charges compared with your normal baseline. Stripe describes this signal directly: you can see the volume spike on the Developers page, examine 402 failures on the failed Logs page or listen to webhooks and API responses, in particular with an outcome of "generic_decline".

Start by recording a baseline of failed charges for a normal week. Growth teams often skip this and compare today against an average that includes launch spikes, which hides the problem. Once you have a baseline, set an alert that fires when failed charges climb well above it. The Developers page is the quickest place to see the volume shape, so put it on your daily review.

Next, open the failed Logs page and filter for the generic_decline outcome. Card testers often produce many of these because the scripts are sending cards that are invalid, stolen, or never meant to succeed. A rising count of generic declines, especially when it arrives in a burst, is a sign worth investigating.

If your team has a webhook pipeline, route failed-charge events into a channel your growth or fraud owner can see. Failed-charge events and generic_decline outcomes can be seen through webhooks and API responses, so route them into a channel your growth or fraud owner can see. The first check is complete when you can answer one question on any given morning: did failed charges and generic declines rise against the baseline overnight?

Check 2: Compare 3DS requests with what they miss

The second check looks at 3D Secure, the authentication step that card issuers use to confirm a cardholder. Stripe's rules reference includes a rule called Request 3DS, which applies when you use the Payment Intents API or Checkout. In Stripe's words, the rule "request[s] the issuer to do 3D Secure authentication if supported." Adding this rule is a sensible default for a card-required trial, because it asks the issuer to perform 3D Secure authentication if it is supported.

The mistake many teams make is treating a 3DS request as proof that the signup is safe. Stripe is direct about the limit: "Requesting 3DS alone doesn't block all possible 3D Secure outcomes." Authentication depends on what the issuer supports, and not every outcome blocks the charge. A card tester can still get useful responses from the 3DS flow even when the request was made.

The table below sets the 3DS rule beside the two controls covered in checks three and four. Read it row by row: each control measures a different thing, and each has a limit stated in the source.

ControlSignal it usesLimit stated in the source
Request 3DS ruleIssuer 3D Secure authentication, if the issuer supports itDoes not block all possible 3D Secure outcomes
total_charges_per_customer_hourlyCharge attempts for one customer within one hourCounts attempts for one customer within one hour, as the rules reference describes
Example boundA maximum set on the hourly countStated as an example value of 5, not a recommended setting

For this check, the practical step is to split your attempts by 3DS outcome. Pull a week of charge attempts and group them by whether the 3DS request was made and what the result was. If a cluster of attempts shows the same pattern of outcomes across many different cards, treat the cluster as suspicious even when the 3DS request appeared to succeed. The aim is to stop reading a single authentication flag as a verdict and start reading the pattern across attempts.

Check 3: Count charge attempts for each customer each hour

The third check moves from the signup stream to individual customers. Stripe's rules reference describes a variable called total_charges_per_customer_hourly, which tracks charge attempts for a customer within an hour. The quote is specific about how it counts: for the first charge attempt in a given hour for a customer, total_charges_per_customer_hourly has a value of 0. Each later attempt in the same hour raises the value by one, and the variable keeps counting from there.

This numbering matters when you read the counter. A value of 0 means the customer's first attempt in that hour, not a problem. A value of 1 means a second attempt in the same hour. A growth lead should treat any counter above zero as a repeat attempt that needs a reason, such as a customer who mistyped a card. Card testers usually cannot wait an hour between attempts, so they produce high counter values in short bursts.

The table below shows how the counter maps to attempt order within an hour.

Charge attempt in the hourValue of total_charges_per_customer_hourly
First attempt0
Second attempt1
Later attemptsRises by one for each attempt, continuing the count

To apply this check, create a rule or report that surfaces customers whose counter reaches a value you find unusual for your signup flow. Review the flagged customers in batches. A customer retrying a declined card after a bank timeout will usually show a small count, while a script will show a count that climbs quickly. The purpose is to separate customers who retry from customers who are testing many attempts in one sitting.

Check 4: Set a hard bound on hourly attempts

The fourth check turns the counter from check three into a limit. A bound is a maximum you set on the hourly count, and it is the step that limits how many attempts a single customer can make within an hour. Stripe's example uses a bound of 5, and it is introduced as an example, not a standard: for the sake of the example, let's say it has a bound of 5. Use that figure to understand the mechanism, then set your own bound from your data.

Choose the bound by looking at what a normal customer does on your signup. Treat any figure on normal customer behavior here as an assumption to check against your own payment logs. If you see a long tail of customers who make many attempts in an hour and then go quiet, a bound set just above the normal range will catch the tail without disturbing typical signups. Revisit the bound after every major campaign, since a launch can change the normal range.

The table below lists the settings this check depends on, with the values the source gives.

SettingValue from the sourceNote
Starting counter value0 for the first attempt in an hourThe count begins at zero for each customer
Example bound5Given as an example in Stripe's rules reference
Time windowOne hourThe count applies within a given hour

Once the bound is set, write the rule so that it applies to each customer within each hour, not across your entire signup form. A bound scoped to a single customer applies the hourly limit to that one account, which is where a script testing many cards against one account would show up. A global bound alone would block legitimate traffic during a busy hour. Test the rule in a staging or review mode first if your payment tool offers one, and watch the flagged count for a few days before you let it block real signups.

Check 5: Score each signup with a bot score

The fifth check adds a signal that does not depend on the card at all. Cloudflare's bot documentation describes its bot score as an output variable: the predicted probability that a client is human, mapped to the final 1–99 bot score. In practical terms, each request to your signup page can carry a score on a scale from 1 to 99 that reflects how likely the client is to be a human rather than automated traffic.

This matters for card testing because scripts often run from the same kinds of clients. A score that reflects the probability of a human client gives you a second opinion about the request, separate from what the card network returns. When a burst of failed charges lines up with signups from low-scoring clients, the case for an attack becomes much stronger than either signal alone would give you.

To use the score on a free-trial signup, log it on every signup request and store it next to the charge outcome. Then run a weekly comparison. Group the signups by score band and check the failure rate in each band. A band with a much higher failure rate, or a cluster of generic declines, tells you where the testing is coming from. Keep the score in your signup record so that the fraud review can use it later without rebuilding the data.

Turn bot scores into WAF actions

Once each signup request carries a bot score, the next question is what to do with it. Cloudflare's documentation says the score can drive a web application firewall (WAF) rule: you can use bot scores in WAF custom rules to block, challenge, or allow requests based on their score. Those three actions suit different levels of doubt about a signup.

The table below compares the three actions. The source names them but does not give a score cutoff for any of them, so the cutoffs are yours to set from your own data.

WAF actionWhat it does to the requestWhen a growth lead might use it
BlockStops the requestRepeated, strong evidence of automated signups
ChallengeApplies the challenge action to the requestUncertain requests where a real customer should still get through
AllowLets the request proceedRequests you trust, or score bands you have reviewed and accepted

For a card-required trial, start with challenge rather than block when you first add a rule. A challenge gives you evidence about the traffic without shutting out a legitimate customer on a busy day. Once a score band consistently lines up with generic declines and repeated attempts, you can move that band to block. Write each rule down with the date, the band it covers, and the reason, so the team can later see why a signup was stopped.

Where bot scores do not apply

A bot score is not available for every request, and assuming it covers everything is a common gap. Cloudflare states the limit directly: bot scores are not computed for requests to paths that are handled by Cloudflare and will never be blocked or forwarded to the origin. A path that Cloudflare handles itself gets no score, and a request on that path never reaches your origin servers.

For a card-required trial, this means you need to know which paths your signup actually uses. Map the route a signup request takes, from the form submission to the first charge, and check each step against the scoring coverage you have configured. If a step that matters falls outside that coverage, you have no bot score for it, and you need a different signal, such as the card-side checks earlier in this post.

A missing score is also not evidence that a request is human. It only means the score is absent. When you build the weekly comparison, show missing scores as their own group, so that a gap in coverage does not quietly disappear into a healthy-looking average.

Set alert thresholds that rarely fire by chance

An alert is useful only when it fires for real problems and stays quiet on normal days. A threshold that is too sensitive trains your team to ignore the channel. A threshold that is too loose misses a real burst of testing. The goal is an alert that rarely fires by chance.

Start from the baseline you recorded for check one. Compare each day's failed charges and generic declines to that baseline, not to the previous day, because one unusually quiet or busy day can distort a short comparison. Require the rise to persist across more than one reading before it pages anyone, unless the jump is large enough to be plainly abnormal. Keep the logic simple enough that someone can explain in one sentence why it fired.

Then review the alerts themselves. After a few weeks, count how many fired and how many led to a real finding. If most were noise, widen the threshold a little and record the change. If an attack passed without an alert, tighten it. Note each change alongside the campaign or launch that prompted it, since a major campaign can shift what normal looks like on your signup flow.

Putting the five checks into one weekly review

The five checks work best as one routine rather than five separate dashboards. A weekly review gives you a fixed place to read each signal, compare it with the last week, and decide whether anything needs action. Start with volume, because that is where a spike is most visible. Stripe notes that the volume spike is visible on the Developers page, and that you can examine 402 failures on the failed Logs page and listen to webhooks and API responses, especially for generic_decline outcomes.

Next, review 3DS outcomes, but read them as a pattern rather than a verdict. Stripe's rules reference is clear that requesting 3DS alone doesn't block all possible 3D Secure outcomes, so a clean-looking authentication flag does not close the review. Then check the hourly counter and the bound, and finish with bot scores by band. The table below gives a simple weekly checklist.

CheckWhat to review each weekSignal to note
Volume and generic declinesFailed charges against the baselineA rise in generic_decline outcomes
3DS requestsAttempts grouped by 3DS outcomeThe same outcome pattern across many cards
Hourly counterCustomers whose counter rises above zeroCounts that climb quickly within one hour
Hourly boundCustomers who reached the boundA cluster that hits the limit repeatedly
Bot scoreFailure rate by score bandA band with a much higher failure rate

Record the review in a short note with the date, the figures, and one decision: no action, a rule change, or an escalation. Over time, the notes become the record you need when you tune thresholds.

When a check fires, act in a fixed order

When one of the checks fires, a fixed sequence keeps the response consistent and stops the team from jumping straight to a blocking rule. Work through the same steps each time.

  1. Confirm coverage. Check that the affected path is one where bot scores are computed. Cloudflare's documentation says scores are not computed for requests to paths that are handled by Cloudflare, so a missing score on that path is a coverage gap, not a clean result.
  2. Confirm the card-side pattern. Look at the volume, the generic declines, and the 3DS outcomes for the same window. A single signal is a reason to look closer, while two or more signals together make a case for action.
  3. Apply the hourly bound. If individual customers are over the bound, review those customers and act on the flagged ones.
  4. Choose a WAF action. Based on the score band, apply block, challenge, or allow as a WAF custom rule. Start with challenge for new or uncertain bands, and move to block only after the evidence is consistent.
  5. Log the outcome. Record which checks fired, which action you took, and what happened in the next review.

Keeping the order fixed makes the response auditable. It also prevents one noisy signal from triggering a blocking rule that catches real customers.

Reader questions

Does requesting 3DS stop card testing on its own? No. The Request 3DS rule asks the issuer to do 3D Secure authentication if it is supported, and Stripe notes that requesting 3DS alone doesn't block all possible 3D Secure outcomes. Treat it as one signal among several.

What does a counter value of 0 mean? It means the customer's first charge attempt in a given hour. For a second charge attempt within the same hour, it has a value of 1, and so on. The counter counts attempts within that hour, so a higher value means more repeat attempts.

Is a bound of 5 the number I should use? Not as a default. Stripe introduces it as an example, for the sake of the example, let's say it has a bound of 5. Set your own bound from how normal customers behave on your signup flow.

Where do I look for a card-testing volume spike? Stripe points to the Developers page for the volume shape, the failed Logs page for 402 failures, and webhooks and API responses, particularly for an outcome of generic_decline.

Why do scripts produce so many generic declines? Scripts try many card numbers at once and collect 3DS or issuer responses to validate which card information is valid. Many of those cards will fail, which is why a burst of generic declines is a useful warning sign.

What is a bot score? Cloudflare describes it as the predicted probability that a client is human, mapped to the final 1–99 bot score. It gives a second opinion about the client that is separate from the card outcome.

Can a bot score cover every request on my site? No. Scores are not computed for requests to paths handled by Cloudflare, and those requests will never be blocked or forwarded to the origin. Check which of your signup paths the score actually covers.

Can I act on a bot score directly? Yes. You can use bot scores in WAF custom rules to block, challenge, or allow requests based on their score. Start with the least disruptive action and tighten it as the evidence builds.

Sources and check date

Related posts

More posts