Card-Testing & Checkout Abuse Shield
Edition: CS-Cart & Multi-Vendor · Latest version: 1.0.0 · Compatible with: CS-Cart & Multi-Vendor 4.17.2 – 4.21.x, PHP 7.4 – 8.3 · Changelog: view
Stops card-testing bots at checkout: it counts payment attempts and failed payments per IP address, session, device, e-mail, card and cart, asks suspicious visitors for a quick security check, blocks them for a while when failures pile up, and switches the store into attack mode during a wave. It works with every payment method, because it reads the order statuses CS-Cart already sets.
The problem
Section titled “The problem”Card testers use scripts to try stolen card numbers on small orders until one goes through. Each attempt is a declined payment on your account. A night of card testing leaves hundreds of failed orders, raises your decline rate with the card issuers, can bring payment provider fees and disputes, and makes honest payments look riskier afterwards. CS-Cart has no limit on how often one visitor may try to pay.
Who it is for
Section titled “Who it is for”- Stores and marketplaces that take card payments (any gateway: Stripe, PayPal card fields, Braintree, Square and others, or a card form that posts to the store);
- Stores that have already seen a wave of small failed orders from guest checkouts;
- Multi-Vendor operators: one policy for the whole marketplace, vendors cannot weaken it.
How it works
Section titled “How it works”- Every payment attempt (place order, pay again, and the card confirmation requests of the built-in Stripe and Stripe Connect add-ons; more on request) passes a gate before CS-Cart processes it. The confirmation that belongs to the order a shopper has just placed is part of the same attempt.
- The gate counts attempts and failed payments in sliding windows per IP address, session, device, e-mail, card, cart and order, plus low-amount failures, different e-mails per IP address and different cards per session. Card after card tried on the same order is counted on that order, from any address.
- A visitor who reaches a rule’s “check” count must pass a quick security check above the Place order button: the Captcha Pro widget when Captcha Pro is installed (built-in, Cloudflare Turnstile or hCaptcha), otherwise a built-in check that needs no external service. Guests get the check from their second attempt by default.
- When a rule reaches its “block” count, what it counted (the IP address, the browser, the card, the e-mail or the order) is refused for the block duration (60 minutes by default), with a neutral message. Their failed orders can move to a status of your choice without e-mails.
- When too many payments fail in an hour, attack mode switches on: every guest needs the check, and you can require sign-in or a minimum order total for guests. It switches off after a quiet period.
- A high decline rate in the last hour raises an alarm in the admin panel (no e-mail).
- Allow, check and block lists for IP addresses and ranges, countries, networks (ASN), e-mails, e-mail domains and card BINs.
- The event log shows every decision; the CSV export is ready for your payment provider.
Compatibility
Section titled “Compatibility”- CS-Cart, CS-Cart Ultimate, Multi-Vendor and Multi-Vendor Ultimate 4.17.2 to 4.21.x.
- Tested on CS-Cart Ultimate 4.17.2 and Multi-Vendor 4.17.2 (PHP 8.1); code checked against Multi-Vendor 4.21.2 (PHP 8.3, Smarty 5).
- Works with every payment method; works next to Captcha Pro and Order Risk Guard.
- Full page cache (4.21): nothing is added to cached pages; the check appears only on checkout and order pages.
What it does not do
Section titled “What it does not do”- It does not replace your payment provider’s own fraud tools (Stripe Radar, PayPal Fraud Protection and similar). Keep them on; this add-on stops the attempts before they reach the provider.
- It does not judge whether one order is fraudulent; for order risk scores and cash-on-delivery checks use Order Risk Guard.
- It does not see card numbers of hosted card fields (iframes of the payment provider). Card and BIN rules work only for card forms that post the number to your store; all other rules work with every payment method.
- No compliance claim of any kind is made.