Skip to Content
Shopify
  • By business model
    • B2C for enterprise
    • B2B for enterprise
    • Retail for enterprise
    • Payments for enterprise
    By ways to build
    • Platform overview
    • Shop Pay
    By outcome
    • Growth solutions
    • Shopify
      Platform for entrepreneurs & SMBs
    • Plus
      A commerce solution for growing digital brands
    • Enterprise
      Solutions for the world’s largest brands
  • Customer Stories
    • Everlane
      Shop Pay speeds up checkout and boosts conversions
    • Brooklinen
      Scales their wholesale business
    • ButcherBox
      Goes Headless
    • Arhaus
      Journey from a complex custom build to Shopify
    • Ruggable
      Customizes Headless ecommerce to scale with Shopify
    • Carrier
      Launches ecommerce sites 90% faster at 10% of the cost on Shopify
    • Dollar Shave Club
      Migrates from a homegrown platform and cuts tech spend by 40%
    • Lull
      25% Savings Story
    • Allbirds
      Omnichannel conversion soars
    • Shopify
      Platform for entrepreneurs & SMBs
    • Plus
      A commerce solution for growing digital brands
    • Enterprise
      Solutions for the world’s largest brands
  • Why trust us
    • Leader in the 2024 Forrester Wave™: Commerce Solutions for B2B
    • Leader in the 2024 IDC B2C Commerce MarketScape vendor evaluation
    • A Leader in the 2025 Gartner® Magic Quadrant™ for Digital Commerce
    What we care about
    • Shop Component Guide
    • Shopify TCO Calculator
    • Mastering Global Trade: How Integrated Technology Drives Cross-Border Success
    How we support you
    • Premium Support
    • Help Documentation
    • Professional Services
    • Technology Partners
    • Partner Solutions
    • Shopify
      Platform for entrepreneurs & SMBs
    • Plus
      A commerce solution for growing digital brands
    • Enterprise
      Solutions for the world’s largest brands
  • Latest Innovations
    • Editions - Winter 2026
    Tools & Integrations
    • Integrations
    • Hydrogen
    Support & Resources
    • Shopify Developers
    • Documentation
    • Help Center
    • Changelog
    • Shopify
      Platform for entrepreneurs & SMBs
    • Plus
      A commerce solution for growing digital brands
    • Enterprise
      Solutions for the world’s largest brands
  • Try Shopify
  • Get in touch
  • Get in touch
Shopify
  • Blog
  • Enterprise ecommerce
  • Total cost of ownership (TCO)
  • Migrations
  • B2B Ecommerce
    • Headless commerce
    • Announcements
    • Unified Commerce
    • See All topics
Type something you're looking for
Log in
Get in touch

Powering commerce at scale

Speak with our team on how to bring Shopify into your tech stack

Get in touchTry Shopify
blog|Enterprise ecommerce

How Shopify’s Machine Learning Blocks Approximately 90% of Card Testing Attacks to Protect Merchant Sales

Card testing creates failed transactions that degrade a business’s trust with banks. Shopify developed a proprietary model to detect and block these attacks before they can cause harm.

by Amit Moran
fluorescent green credit card on black background

Commerce moves fast. Shopify moves faster.

Try Shopify

Few metrics shape merchant revenue more directly than the payment authorization rate. Authorization rate is the percentage of attempted transactions that a customer's bank approves, and even small dips can mean significant lost sales. One of the biggest unseen threats to those rates is card testing—a tactic where fraudsters use a merchant's checkout to validate stolen credit card numbers.

While card testing doesn't always result in chargebacks, it creates failed transactions that degrade a merchant's trust with banks. This often leads to a lingering drop in authorization rates, meaning legitimate customer payments are unjustly declined long after the attack has stopped.

To solve this, Shopify implemented a proprietary platform-level machine learning model to detect and block these attacks before they ever reach the bank.

By blocking approximately 90% of card testing attacks on guest credit card checkouts (which are the main card-testing attack vector), this model helped merchants get 13% more of their legitimate sales approved by banks. Here's how Shopify's unique approach to fraud intelligence protects your authorization rates without adding friction for real buyers.

Key takeaways

  • Card testing damage is indirect but costly. The real cost isn't failed transactions—it's months of degraded trust with banks and soft declines on legitimate customers.
  • Platform-scale signals matter. Attacks that look distributed to individual processors are obvious when you can see patterns across millions of merchants.
  • Smart intervention preserves conversions. By targeting high-risk attempts before they hit the network, Shopify blocks 90% of card testing attacks and delivers a 13% lift in authorization rates—protecting merchant revenue without adding friction for real buyers.

Why traditional defenses fall short

Attackers have evolved, even as payment networks have deployed increasingly robust card testing models. They've abandoned easily detectable, brute-force tactics—like hundreds of attempts per minute from a single IP address—in favor of sophisticated, distributed campaigns.

Today's attackers spread low-volume attempts across thousands of distinct merchants and route their traffic through residential proxies. These networks of real home internet connections (often everyday consumer devices) make automated fraud traffic appear to originate from legitimate shoppers, rather than from data centers or known bad IPs. The result: Each individual attempt looks like a plausible customer, meticulously mimicking authentic transaction patterns.

Payment networks are structurally disadvantaged against these tactics. They only enter the picture at the moment of authorization—the final step in a long buyer journey. This means they have no visibility into how a shopper arrived at checkout, what they did on the storefront, or how their behavior compares to legitimate buyers. With only the transaction payload to work with, networks must lean on aggregated, lagging signals (e.g., decline rate spikes, BIN-level patterns, chargeback feedback loops) that take time to materialize. By the time those signals trigger a response, the damage to a merchant's authorization profile is already done.

Shopify's advantage: Platform-level detection

Shopify has a uniquely holistic view of commerce. We see everything about the traffic flowing through a merchant's store, from the moment a visitor lands on the site to the moment they click "pay."

To combat distributed card testing, we engineered a proprietary machine learning model that scores every payment attempt before it touches the processor—exclusively available to merchants using Shopify Payments. This preemptive system uses a supervised machine learning model, trained on historical, network-level fraud patterns, to analyze signals across three deep, proprietary dimensions:

  1. Behavioral patterns. How does this attempt compare to legitimate buyer behavior? Velocity, timing, and interaction patterns that distinguish good intent orders from malicious attacks.
  2. Network-level signals. Patterns visible only at Shopify's scale—cross-merchant and cross-processor activity, device fingerprints, and infrastructure indicators that reveal coordinated attacks.
  3. Transaction context. The combination of payment method, merchant category, and buyer history that helps distinguish a first-time customer from a fraudster testing cards.

When the model flags a high-risk attempt, we intervene before the transaction reaches the payment network—stopping bad actors while giving legitimate customers a path to complete their purchase.

Results: Higher auth rates and protected GMV

By intercepting these attacks early, we ensure that only the safest, highest-quality traffic is sent to processors and the customer's bank:

  • 90% attack interception. Our model catches 90% of card testing attacks. This means far fewer fraudulent attempts ever reach the point where they can damage a merchant's risk profile.
  • 13% authorization rate improvement. By keeping merchant trust high with banks, we boosted legitimate payment success rates by 13%.

For legitimate buyers, the impact is invisible. Malicious traffic is effectively mitigated without any adverse impact on legitimate business or authentic revenue.

AM
by Amit Moran
Published on Jun 17, 2026
Share article
  • Facebook
  • Twitter
  • LinkedIn
by Amit Moran
Published on Jun 17, 2026
Spring Editions Promotion

The latest in commerce

Get news, trends, and strategies for unlocking new growth.

By entering your email, you agree to receive marketing emails from Shopify.

start-free-trial

Unified commerce for the world's most ambitious brands

Learn More

subscription banner
The latest in commerce
Get news, trends, and strategies for unlocking unprecedented growth.

Unsubscribe anytime. By entering your email, you agree to receive marketing emails from Shopify.

Popular

Headless commerce
Headless Commerce: Complete Guide for Businesses (2026)

Aug 29, 2023

Growth strategies
How To Increase Conversion Rate: 14 Tactics for 2025

Oct 5, 2023

Growth strategies
7 Effective Discount Pricing Strategies to Increase Sales (2025)

Ecommerce Operations Logistics
Third-Party Logistics (3PL): What It Is and How It Works

Ecommerce Operations Logistics
Ecommerce Returns: Average Return Rate and How to Reduce It

Industry Insights and Trends
Global Ecommerce Statistics and Trends (2026)

Customer Experience
15 Fashion Brand Storytelling Examples & Strategies for 2025

Growth strategies
SEO Product Descriptions: 7 Tips To Optimize Your Product Pages

Powering commerce at scale

Speak with our team on how to bring Shopify into your tech stack.

Get in touchTry Shopify
  • Shopify

    • What is Shopify?
    • Shopify Editions
    • Careers
    • Investors
    • Newsroom
    • Sustainability
  • Ecosystem

    • Developer Docs
    • Theme Store
    • App Store
    • Partners
    • Affiliates
  • Resources

    • Blog
    • Compare Shopify
    • Guides
    • Courses
    • Free Tools
    • Changelog
  • Support

    • Shopify Help Center
    • Community Forum
    • Hire a Partner
    • Service Status
  • Australia
    English
  • Canada
    English
  • Hong Kong SAR
    English
  • Indonesia
    English
  • Ireland
    English
  • Malaysia
    English
  • New Zealand
    English
  • Nigeria
    English
  • Philippines
    English
  • Singapore
    English
  • South Africa
    English
  • UK
    English
  • USA
    English

Choose a region & language

  • Australia
    English
  • Canada
    English
  • Hong Kong SAR
    English
  • Indonesia
    English
  • Ireland
    English
  • Malaysia
    English
  • New Zealand
    English
  • Nigeria
    English
  • Philippines
    English
  • Singapore
    English
  • South Africa
    English
  • UK
    English
  • USA
    English
  • Terms of Service
  • Legal
  • Privacy Policy
  • Sitemap
  • Your Privacy ChoicesCalifornia Consumer Privacy Act (CCPA) Opt-Out Icon