Block Disposable Emails at WooCommerce Checkout

Disposable email addresses are a persistent problem for WooCommerce stores. They inflate your customer list, drain marketing budgets on non-deliverable contacts, and attract refund abusers who register with throwaway accounts.

The Emailyze WooCommerce plugin adds real-time email validation at two critical touchpoints: checkout and account registration.

How it Works

The plugin hooks into WooCommerce's standard validation events. When a customer submits their email:

1. The plugin calls the Emailyze API with the email address 2. The API returns a risk score (0–100), a is_disposable flag, and a provider_type 3. If the result exceeds your configured threshold, the checkout or registration is blocked with a friendly error message

The check completes in under 50ms and uses a 3-second timeout — if the API is unavailable, the transaction proceeds normally (fail-open).

Installation

1. Download the plugin ZIP from the Emailyze integrations page 2. Upload via Plugins → Add New → Upload Plugin in your WordPress admin 3. Activate the plugin 4. Go to WooCommerce → Emailyze to configure your settings

Settings

| Setting | Default | Description | |---------|---------|-------------| | API Key | — | Your Emailyze API key from the dashboard | | Risk Threshold | 80 | Scores at or above this value trigger the configured action | | Action | Block | block shows an error; log records the attempt silently | | Block Masked Emails | No | Also block Apple Hide My Email, Firefox Relay, etc. | | Error Message | "Please use a permanent email address." | Shown to the customer on block |

Supported WooCommerce Events

Requirements

FAQ

Does this slow down checkout? No. The API call completes in under 50ms on average. Your configured timeout is 3 seconds — if that elapses, checkout proceeds normally.

What happens if the API is down? The plugin fails open: the transaction goes through. A warning is logged to the PHP error log so you can investigate.

Can I test it without blocking real customers? Yes. Set the Action to "Log" — disposable emails are recorded without blocking checkout. Review the logs, then switch to "Block" when you're confident in the threshold.

Does it work with WooCommerce Subscriptions? Yes — any checkout that uses the standard woocommerce_checkout_process action will be covered.