Card Attack Shield

Card-testing bots post straight to WooCommerce’s checkout endpoints, so most security plugins never see them. Card Attack Shield puts a limit in front of every checkout path, and the blocked attempts never reach your payment gateway or cost you a fee.

What it stops

  • Repeated checkout attempts. 5 per IP every 10 minutes by default, counted across the classic checkout, block checkout, Store API and PayPal’s card fields.
  • Scripts posting straight to checkout. The classic checkout form carries a signed token and must be at least 3 seconds old. Apple Pay and Google Pay keep working.
  • Attacks that get through anyway. 10 failed orders in 15 minutes locks guest checkout for 30 minutes and emails you. Logged-in customers can still buy.
  • $1 test charges. An optional minimum order total.

It also switches on WooCommerce’s own Store API rate limit, which is off by default, and logs every block to WooCommerce > Status > Logs.

Install

  1. Download the zip above.
  2. In WordPress, go to Plugins > Add New > Upload Plugin, choose the zip, then Activate.
  3. Place a test order as a guest from your phone to confirm customers can still check out.

There’s nothing to configure. To change a limit, add one line to wp-config.php. The Emergency Kit lists every setting.

Tested on

WordPress 7.1, WooCommerce 11.3, block checkout, Stripe, PHP 8.4, on a live store behind Cloudflare. Requires PHP 7.4 and WooCommerce 8.0 or later.