ZeroBounce + WordPress/WooCommerce Integration
The ZeroBounce WordPress/WooCommerce integration (plugin) allows users to validate single email addresses directly within WordPress/WooCommerce CRM or via third-party plugins such as web forms. We can also automatically validate the email addresses of users who leave comments posting or registration (ordering for WooCommerce) too and ensure that only certain validation statuses are accepted.
To use this integration, you must have a fully operational Wordpress installation. To add the ZeroBounce service, please login to your Wordpress Admin and follow the below steps:
- Navigate to Plugins -> Add New
- Search for “ZeroBounce,” and click install once you found it:
![ZeroBounce ,[object Object], Plugin](/docs/assets_next_docs/docs/api-integrations/wordpress/wp-01.webp)
- Once installed, click “Activate.”
Once the Zerobounce plugin is installed, complete the following configuration steps.
- Navigate to ZeroBounce Email plugin on your WordPress left menu and click on Settings.
- Firstly and foremost, create your API key – you can find your API key here.
- Set the API maximum timeout in seconds. This is important to ensure your website flow/load times, as some mail servers can take up to 30 seconds to respond. In such case, if your maximum API is 5 seconds, the system will return valid if it takes longer to respond.
- Select the form(s) or hook(s) you want our plugin to work.
- For any forms, each time a message is sent, the email is validated to ensure the status is on the pass (see point 5).
- For post comments and registration, the email is validated to ensure the status is on the pass (see point 5) before action is successful.
- For WooCommerce, the email is validated to ensure the status is on the pass (see point 5) before a registration or an order is accepted and processed (billing_email or shipping_email field).
- For MC4WP: Mailchimp for WordPress, the email is validated each time someone subscribes to the newsletter to ensure the status is on the pass (see point 5).
- Configure your email validation rules, and select which statuses should be accepted. The statuses that are not accepted will display a message to the end user saying the email address is invalid and action will NOT be performed. We recommend only accepting the following statuses: “Valid,” “Catch-All,” and “Unknown.” Please refer to this documentation for an explanation of statuses.
In the event of validation failure, the system will present the following error message: Sorry, upon checking, we cannot accept this email address.
Should this message not align with your specific requirements, you have the option to customize it by populating the Custom Invalid Error Message field. This customization is particularly crucial for websites catering to non-English audiences, as the default error message may not be linguistically compatible. Ensuring a tailored and professional communication approach is essential for enhancing the user experience and accommodating diverse language preferences.
![ZeroBounce ,[object Object], Settings](/docs/assets_next_docs/docs/api-integrations/wordpress/wp-02.webp)
Important: If you skip these steps, the plugin will have no effect, and emails will not be validated.
You can also validate email addresses manually, directly on your WordPress via Zerobounce plugin, by going to Tools and using the interactive email form.
![[object Object], Example](/docs/assets_next_docs/docs/api-integrations/wordpress/wp-03.webp)
Simply enter any email address you wish to check and click “Validate.” Both manual testing and automatic email validationⓘ costs one credit per email address validation.
In terms of statistics and logs, you can use the Dashboard for accurate graphing of your email validationⓘ statuses and credits usage. Please note that one credit equals one successfully processed email address. “Unknown” results are always refunded automatically.
![ZeroBounce ,[object Object], Graphs](/docs/assets_next_docs/docs/api-integrations/wordpress/wp-04.webp)
If you are looking for more detailed information, please navigate to Logs under the Zerobounce plugin, which will provide you the source of validation, the validated email, status, sub status, user IP address, and date with time. Also, using the View button, you can display full details of a particular validation.
![ZeroBounce ,[object Object], Dashboard](/docs/assets_next_docs/docs/api-integrations/wordpress/wp-05.webp)