Skip to content

Configuration

Settings: Add-ons → Manage add-ons → Card-Testing & Checkout Abuse Shield → Settings. Rules and lists have their own pages under Orders → Card-testing shield. Every setting applies to the whole store (all storefronts of CS-Cart Ultimate, the whole marketplace of Multi-Vendor); vendors and storefront administrators have no access.

Setting Default What it does
Enable protection On Off = checkout works as without the add-on (data kept).
Mode Enforce Enforce: suspicious attempts must pass the check or are refused. Monitor only: everything is counted and logged with a “monitor” tag, nobody is stopped.
Protected requests checkout.place_order, orders.repay, stripe.check_confirmation, stripe_connect.check_confirmation One controller.mode per line; controller.* covers every mode. Only POST requests are checked. The first confirmation of an order the same session placed in the last 15 minutes continues that attempt (core Stripe sends place order, then the confirmation); every later request on that order counts as a new attempt, and a request on an order that is still Failed counts as one more failed payment. Add the request of a payment add-on that takes card attempts outside these pages (for example a “pay” button on its own page).
Order statuses that mean “payment failed” Failed An order placed through a protected request that moves to one of these statuses counts as a failed payment of the visitor who placed it.
Low amount 5 Failed payments at or below this order total (primary currency) also count as low-amount failures. 0 = off.
Block duration 60 minutes How long a blocked visitor stays blocked. A new block never shortens a longer one.
Skip the rule checks for returning customers On Signed-in customers with at least one paid order are not asked for the check by the velocity and guest rules. Check-list entries and attack mode with “also ask signed-in customers” still apply; blocks always apply.
Status for failed orders of blocked visitors Keep the status When a visitor is blocked, their failed orders of the last 24 hours move to this status, without e-mails. CS-Cart returned the stock already when the payment failed.
Keep the event log for 30 days Older events (with IP addresses) are deleted.
Permanently delete … on uninstall Off See Installation.
Setting Default What it does
Check Automatic Automatic: the Captcha Pro widget when Captcha Pro 1.1+ is active and its form “Card-testing shield: payment check” is set to spam check, together with the built-in proof of work (a captcha outage never passes on its own); otherwise the built-in check. Built-in: always the built-in check.
Built-in check difficulty Normal The built-in check is a short puzzle (proof of work) the browser solves after the shopper clicks Verify and continue: about a second on a phone at Normal. Scripts must spend the same work on every attempt.
Payment attempts per passed check 4 A passed check covers this many attempts of the same browser session and device.
A passed check is valid for 30 minutes

Captcha Pro adds the form automatically; you find it under Customers → Spam protection → Custom forms. Signed-in customers who Captcha Pro skips (its setting) get the built-in check instead, so nobody passes without a check.

Setting Default What it does
Ask guests for the check From the second payment attempt A common approach: let the first attempt of a session through, ask from the second one. “Only when a rule asks for it” turns this off; “From the first payment attempt” asks every guest.
Minimum order total for guests 0 Guests below this total cannot pay (card testers like small orders). Signed-in customers are not affected.
Setting Default What it does
Switch attack mode on automatically On
Failed payments per hour that start attack mode 15 Counted for the whole store.
Automatic attack mode ends after 120 minutes without a new trigger. Attack mode switched on by hand stays on until you switch it off.
In attack mode: guests must sign in to pay Off
In attack mode: minimum order total for guests 0
In attack mode: also ask signed-in customers for the check Off Guests always get the check in attack mode.
Decline-rate alarm at 40 % Failed share of the payments of the last hour. Shown to administrators in the admin panel and on the dashboard; no e-mail is sent. 0 = off.
Minimum payments in the hour for the alarm 10 Avoids an alarm after one failed payment on a quiet day.

Where the visitor address comes from (see Installation).

Rules (Orders → Card-testing shield → Rules)

Section titled “Rules (Orders → Card-testing shield → Rules)”

Each rule counts one signal in a sliding window. At Check at the visitor must pass the security check; at Block at the visitor is refused for the block duration. 0 switches the step off; the strongest result of all rules applies.

Rule Window Check at Block at
Failed payments per IP address (IPv6: per /64 network) 60 min 2 10
Failed payments per session 60 min 2 4
Failed payments per device (first-party cookie set on checkout) 60 min 2 4
Failed payments per e-mail address 24 h 3 6
Failed payments per card (card forms that post to the store) 24 h - 3
Failed payments per order (confirmations and retries on one order) 24 h - 3
Failed payments per cart (same products and quantities, anyone) 60 min 6 never
Low-amount failures per IP address 60 min 1 6
Payment attempts per IP address 10 min 10 40
Payment attempts per session 10 min 6 15
Payment requests per order (after the first confirmation) 24 h - 4
Different e-mail addresses per IP address 60 min 4 12
Different cards per session 60 min 2 4

An automatic block covers what the rule counted: IP rules block the IP address only, session and device rules the browser (session + device), e-mail, card and order rules that e-mail, card or order. IP rules ask for the check early and block late, because shoppers behind one address (offices, mobile carriers) share their counts. Restore defaults puts every rule back.

Tuning tips: many shoppers behind one IP address (offices, schools, mobile carriers) reach IP rules first, so raise the IP counts or add the address to the allow list. A store with many small honest orders can lower the low amount or switch that rule off.

Lists (Orders → Card-testing shield → Lists)

Section titled “Lists (Orders → Card-testing shield → Lists)”
Type Value Example
IP or range IPv4/IPv6 address or CIDR (/8 or narrower) 203.0.113.0/24
Country ISO code DE
Network (ASN) AS number AS64500
E-mail full address name@example.com
E-mail domain domain and its subdomains example.com
Card BIN first 6 digits 411111

Actions: Allow (never checked or blocked; for staff, partners, your test cards), Ask for the check, Block (payment attempts refused). Allow wins over everything, then block, then check. Entries can expire after 24 hours, 7 days or 30 days. Import with lines type,value,action,note.

Countries come from Cloudflare’s country header when the store runs behind Cloudflare. Otherwise, and for networks (ASN), import a free IP range file in CSV format (plain or .gz):

  • first IP,last IP,country code, or
  • first IP,last IP,AS number,AS organisation

for example the monthly “IP to Country Lite” and “IP to ASN Lite” files of DB-IP (licence CC BY 4.0, which asks for a credit to DB-IP where results are shown). Files over your upload limit: put them by FTP into var/files/kv_card_testing_shield/ and enter the file name. The import runs in steps; keep the page open. No data leaves your server and no lookup service is called.