About this plugin
Card-testing bots don’t use your checkout page. They post orders straight to WooCommerce.
That is why a store can have reCAPTCHA installed and still wake up to hundreds of failed orders, a payment provider asking questions, and fees for every declined card. Kavach stops these bots where they actually come in, and it does it without asking your real customers to click on traffic lights.
How it works
When a shopper opens your checkout, their browser quietly solves a tiny puzzle signed by your store (it takes a few milliseconds). The answer goes along with the order. A bot that posts orders directly to WooCommerce, to the classic checkout handler or to the Store API behind the block checkout, never opened your checkout, so it has no answer and its order is refused before WooCommerce creates it or contacts your payment provider.
Then Kavach adds the limits a card tester runs into even with a real browser:
- Checkout attempts per IP: 10 in 10 minutes by default.
- Failed payments: an IP, an email address or an order that keeps failing is blocked for an hour.
- Pay-for-order protection: stops bots that retry card after card on one failed order’s payment page.
- Saved cards: limits “Add payment method” attempts in My Account, another favourite of card testers.
Attack mode, with an email alert
When failed payments or blocked attempts suddenly pile up, Kavach switches to attack mode by itself and emails you. For a few hours it allows fewer attempts, bans for 24 hours and makes the puzzle harder. Optionally it shows guests only offline payment methods (cash on delivery, bank transfer), so there is no card form left for bots to test.
Logged-in customers are not affected. You can also turn attack mode on and off yourself.
Stop fake cash-on-delivery orders
Fake COD orders cost you shipping both ways. Kavach can hide cash on delivery:
- above an order total you choose (for guests only, or for everyone)
- from customers who already cancelled or refused COD orders (matched by email or phone)
- for postcodes you choose (prefixes like 110* work)
- for blocked phone numbers and emails
Blocklists
- Throwaway email addresses (Mailinator, YOPmail, 10 Minute Mail and about 200 more), on by default
- Emails and whole domains
- Phone numbers (matched from the end, so 9876543210 also blocks +91 98765 43210)
- IP addresses and ranges (203.0.113.0/24)
- Postcodes and billing countries
- An allowlist for your own IPs
See it working
The overview shows how many attempts were blocked today and this week, why they were blocked, and the busiest IP addresses, with one-click buttons to block or unblock them. The activity log lists every blocked attempt and failed payment with the reason.
Safe to try
Start in Monitor only mode: Kavach logs what it would block and lets every order through. When you are happy with what you see, switch to blocking.
Works with
- Block checkout and classic (shortcode) checkout
- Stripe, WooPayments, PayPal, Square, Razorpay and other gateways; Kavach works before the payment, so it does not depend on the gateway
- Express payment buttons (they skip the puzzle but get every other check)
- High-Performance Order Storage (HPOS)
- Sites behind Cloudflare (real visitor IPs are detected safely)
Privacy
Kavach does not send anything to any outside service. com) of blocked attempts and failed payments, and deletes them after 30 days (you can change this). It adds a suggested paragraph to your privacy policy page.