Checkout Guard: Block Spam Woo Orders

وەسف

Ensure the security of your WooCommerce store with Checkout Guard, a powerful plugin designed to fortify your checkout process. Checkout Guard offers a range of features to protect your online store from spam and unwanted orders.

Key Features:

1. Email Restrictions:

Easily restrict checkout for specific emails and email domains. Keep out unwanted traffic and enhance the security of your online transactions.

2. Country-Based Restrictions:

Implement checkout restrictions based on user billing country. Tailor your store’s accessibility and ensure a smoother shopping experience for your targeted audience.

3. IP Address Blocking:

Take control of your store’s security by restricting checkout for specific IP addresses. Safeguard against malicious activity and maintain a secure online environment.

4. Total Cost Range Restrictions:

Fine-tune your order regulations by restricting checkout for orders within a specified total cost range. Customize the limits to align with your store’s pricing policies.

Important: This plugin is an extension of the WooCommerce plugin, and it cannot function independently.

Filters and Actions

Multiple hooks exist that allows you to customize the plugin even further. If you need any extra hooks, please don’t hesitate to ask.

سکرین شۆتەکان

دامەزراندن

  1. Upload “Checkout Guard: Block Spam Woo Orders” plugin into the directory wp-content/plugins/.
  2. Enable “Checkout Guard: Block Spam Woo Orders” plugin.

پهد

How do I block an entire domain instead of just one email?

Enter *@bad-domain.com on its own line in the Email Restrictions blocklist. That blocks every billing email at that domain, and nothing else.

You can also enter the bare domain, bad-domain.com. The difference is precision: a bare domain matches anywhere in the address, so it will also catch someone@notbad-domain.com. The *@ form matches the domain exactly. Prefer the wildcard unless you specifically want the looser match.

What wildcard patterns can I use in the email blocklist?

As of version 1.1.0 the * wildcard stands for any run of characters, and the pattern must match the whole address:

  • *@bad-domain.com blocks every address at that domain.
  • spam*@bad-domain.com blocks spammer@bad-domain.com but leaves nice@bad-domain.com alone.
  • *.edu blocks every address ending in that TLD.

Catch-all entries such as * or *@* would block every order on your store, so they are rejected and removed when you save.

Does the IP address block support wildcards?

Yes! As of version 1.0.2, Checkout Guard supports IPv4 wildcard blocking. You can enter notation styles like 192.168.1.* to drop bad requests originating from entire local subnets or localized bot nets.

How does the country-based restriction determine location?

The plugin performs a direct structural assessment against the user’s selected Billing Country right at the moment they attempt to progress through the checkout processing hook.

What happens when an order hits the restricted Total Cost Range?

If a user tries to place an order that falls within your defined cost ceiling or floor settings, the system halts the transaction instantly and fires a clean WooCommerce error notice at the top of the checkout interface.

Will this plugin slow down my store frontend?

No. Checkout Guard is explicitly written as an extension for WooCommerce. It acts passively and triggers its validation engines dynamically only during processing sequences, ensuring normal browsing speeds remain completely unaffected.

پێداچوونەوەکان

خوێندنەوەی 1 پێداچوونەوە

بەشداربووان و گەشەپێدەران

“Checkout Guard: Block Spam Woo Orders” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە بەشدارییان تێدا کردووە.

بەشداربووان

ڕووداوتۆمارگەریی گۆڕین

1.1.0

  • Feature: Wildcard support in the email blocklist (e.g. *@bad-domain.com, spam*@bad-domain.com, *.edu)
  • Fix: Fatal error at checkout when the “blocked by IP” message was left empty
  • Fix: Wrong fallback message shown for IP blocks
  • Fix: Blocklist entries with trailing whitespace are trimmed instead of discarded
  • Docs: Corrected the domain blocking FAQ and documented wildcard syntax

1.0.4

  • Optimize: Asset Loading
  • Update: WordPress Version 7.0.2

1.0.3

  • Fix: Issue applying limits for some visitors
  • Admin: Changed menu position to WooCommerce submenu
  • Update: WordPress Version 6.8.2

1.0.2

  • Feature: Add IPv4 wildcards
  • Update: WordPress Version 6.8.1
  • Fix: Warnings

1.0.1

  • Fix: Undefined variable issue
  • Styling customizations
  • Move to main admin menu

1.0.0

  • First Edition release