WordPress 7.1.2: critical core security fix. Update now, then check inactive themes and comments.

Details

Firewall & login

WooCommerce rate limits and coupon protection

Configure Security Ninja Pro WooCommerce rate limits and coupon brute-force protection under Firewall → WooCommerce.

WooCommerce Protection (Pro) adds rate limits and coupon brute-force protection for WooCommerce stores. It sits under Security Ninja → Firewall → WooCommerce. Cloud Firewall should be enabled for full enforcement with the rest of the firewall stack.

WooCommerce Protection settings under Firewall

What it covers

  • Rate limiting: checkout attempts, add-to-cart actions, and order placement
  • Coupon abuse: temporary ban after too many invalid coupon tries
  • Country blocking: when country rules apply to login forms, WooCommerce login and registration are included

Blocked attempts are logged in Security Ninja → Events (search for woo_ related actions).

Rate limiting defaults

ActionDefault limitDefault window
Checkout3 attempts5 minutes (300 seconds)
Add to cart10 actions1 minute (60 seconds)
Order placement2 orders10 minutes (600 seconds)

When a limit is hit, WooCommerce shows an error (checkout may send the customer back to the cart). Adjust the numbers to match a busy store versus a quiet one.

Coupon brute-force protection

Coupon abuse protection settings

Defaults: 3 failed coupon attempts within 3 minutes (180 seconds) → ban coupon use for that IP for 15 minutes (900 seconds).

  • Works with classic forms, AJAX, and WooCommerce block cart/checkout.
  • A valid coupon clears the failure counter.
  • Ban messages include remaining time; normal use resumes when the ban ends.

Configuration

  1. Go to Security Ninja → Firewall → WooCommerce.
  2. Enable rate limiting and/or coupon protection.
  3. Set limits, windows, and ban duration.
  4. Save settings.
  5. Place a test order and apply a valid coupon to confirm normal shoppers are unaffected.

If real customers are blocked, raise the limits and review Events for false positives.

Still stuck? Get help or contact us.

Larger screenshot

Enlarged image