What is Card Testing and How to Protect Your Ecommerce Website
Education

What is Card Testing and How to Protect Your Ecommerce Website

August 18, 2025 clock Calculating time...
What is card testing

Card testing (also called “carding” or “card checking”)  is a type of payment fraud where fraudsters use automated tools or bots to test credit card numbers by making small purchases or attempting to authorize transactions on e-commerce sites.  

These attacks typically involve submitting numerous card numbers using automated scripts. They may appear as  testing cards on your payment page or attempting to add a card-on-file via the account profile page, which typically requires a card verification. The goal  is to find out which cards are still active and have available credit. Preventing these attacks requires applying multiple layers of security and controls.  

To stop or reduce card testing on your site, implement the following best practices.

 1. Use the Moneris Checkout (MCO) hosted payment solution

  •     MCO has built-in payment fraud detection tools which are easy to enable without any additional integration effort

  •     Ensure you’ve enabled fraud prevention tools like AVS (Address Verification System), CVV (Card Verification Value), 3D Secure, Kount and minimum transaction amount limit

  •     Enable auto-decisioning  to prevent potential card testing transactions from being sent to the Issuer for authorization 

  •     MCO leverages Cloudflare, a cloud company security provider that offers enterprise-grade firewall protection against DDoS attacks, malicious bots and other web security vulnerabilities

2. Implement bot protection (CAPTCHA)

  •    Most card testing attacks use scripts and automated tools to quickly test a large number of cards on a merchant website

  •    Use Google reCAPTCHA v3 or hCaptcha on your checkout and payment forms

  •     Google reCAPTCHA v3 provides a score between 0 and 1 to help identify potential bot activity, without requiring user interaction

  •     hCaptcha presents users with a challenge, such as identifying images—easy for humans but difficult for bots

What is card testing

3. Rate limiting and device fingerprinting

  •     Card testing often involves high-frequency attacks using stolen or generated cards

  •     Set up rate limiting on how many times a user/IP can attempt a transaction in a short period

  •     Use device fingerprinting to track suspicious devices and compare them with known fraud patterns

4. Monitor transaction patterns

  •     Card testers often submit many low-value transactions or multiple failed attempts

  •     Flag accounts with excessive failed attempts

  •     Watch for multiple transactions from the different accounts using the same email or device 

  •     Monitor for patterns like many small purchases, rapid transaction submissions, or unusual card BINs (Bank Identification Numbers) for example: a card issued in a foreign country.

  •     Use the Moneris Kount Enterprise solution for real-time fraud monitoring

 5. Use velocity, threshold and user rules

  •     Legitimate customers typically do not make multiple rapid-fire transactions

  •     Limit the number of attempts per IP/device/account/email/card number per hour/day

  •     Block suspicious IPs or locations, for example: a user who normally logs in from Vancouver suddenly makes a high-value purchase from an IP in Germany, using a VPN, and ships to a P.O. box in Florida. That combination would likely trigger fraud alerts.

  •     Use Web Application Firewalls (WAFs) such as Cloudflare Bot Management, to  block card-testing patterns

User rules:

  •     Require the user to register before checkout and add verification such as a code or email confirmation

  •     Limit the number of user accounts that can be added in a certain period

  •     Limit the number of cards that can be added to a customer account 

  •     Add a session time limit with a timeout mechanism

What is card testing

6. Log and analyze failed transactions

  •     Card testing can often be detected early by monitoring transaction declines

  •     Set up alerts for a sudden spike in declines

  •     Analyze logs to identify common IP addresses and devices used in attacks

7. Protect your API keys

  •     If your API token is compromised, attackers can bypass your website entirely

  •     Re-generate your Moneris API token in the Moneris Resource Center: Ensure refunds, voids, or pre-authorizations are completed before generating a new token

  •     Review your API keys safeguarding policies

8. Guard against front-end website attacks

  •     Fraudsters may attempt to exploit your website's front-end

  •     Protect your public APIs (e.g. via authentication tokens)

  •     Hide non-customer-facing payment endpoints

  •     Ensure your website uses HTTPS to encrypt all communication between the front-end and back-end servers

  •     Restrict the use of API keys on your front-end as much as possible

  •     Use WAF services like Cloudflare, AWS WAF, or Akamai to detect and block attacks

What is card testing

9. Regularly update plugins and software

  •     Outdated software can be  vulnerable to fraud

  •     Regularly patch your e-commerce platform, and keep all plugins and libraries up to date

Why protecting your site from card testing matters

It is important that you protect your website from card testing. The consequences can be severe and include:

  1. Excessive card brand feesCard brands may charge fees for each unauthorized attempt

  1. Chargeback feesThere is a fixed fee associated with the handling of each individual chargeback

  1. Reputational damage to your businessCardholders upset with your business for an unauthorized charge on their card

  1. Gateway merchant account may be temporarily disabledYour merchant account may be temporarily disabled until card testing is resolved, affecting your ability to serve legitimate customers

While Moneris offers fraud prevention tools, it is the merchant’s responsibility to implement the necessary security layers to prevent card testing. A layered approach is always the most effective way to limit this type of fraud.

 

Author Profile

Chris Hale

Author Profile

Chris Hale, CPP, is a certified payments professional specializing in ecommerce gateways, fraud prevention and alternative payments. He has worked in various roles in the payments industry, delivering and managing product solutions, while always focusing on enhancing the customer or merchant experience.

Recommended Articles

Illustration explaining what contactless payment is, highlighting the ease of tap-to-pay technology.

What Is Contactless Payment? A Guide to How It Works and Why Your Business Needs It

What is contactless payment and how does contactless payment work? Discover how this technology speeds up transactions and improves customer experience with secure, fast processing. Learn what contactless payment is and how contactless payment works to streamline transactions. Find out how it benefits your business with faster and more secure payments.

Woman swiping a card

13 Essential POS System Features for Your Retail Business

A POS system is so much more than just ringing a transaction and printing a receipt. A smart POS system can help you run and grow your business. Here’s a list of essential POS system features that you should look for.

Business owner setting up a credit card machine, learning how to get a credit card machine for their business.

How Does Cashless Payment Work: A Guide

Going cashless is not just a trend—it’s the future of business. Learn more about how they work and why your business can benefit from them, with insights from Moneris.