Webhook Has Not Been Setup Error - mailchimp/mc-woocommerce GitHub Wiki
Welcome to the guide on troubleshooting the Webhook Setup Error in the MailChimp for WooCommerce Integration. This guide will help you understand the potential issues with your hosting environment that could cause this error and how to resolve them.
Overview
Error Description
If you encounter the error message "Mailchimp for WooCommerce has not added the webhook to Mailchimp", it could be due to several issues with your hosting environment. Despite this error, data continues to be transferred from your store to Mailchimp.
Troubleshooting Steps
1. Update Your Versions
Ensure you're using the latest version of the plugin and that you're running the required minimum versions of WordPress, WooCommerce, and PHP.
2. Enable Remote Diagnostics
After confirming your version updates, navigate to the 'Settings' tab of the plugin and enable 'Remote diagnostics'. The plugin will attempt to reactivate the webhook remotely every few hours.
3. Check for Blocked Access
If the error persists after a few days, it's possible that your hosting provider or firewall service is blocking access from the Mailchimp servers that are trying to verify your webhook. Consult with your site host to see if they're blocking anything coming to this endpoint:
wp-json/mailchimp-for-woocommerce/v1/member-sync
4. Disable Server-Side Caching
Server-side caching might be interfering with the setup. To check, temporarily disable your caching plugins, or add the "do not cache" instruction to anything coming to the plugin's API path:
wp-json/mailchimp-for-woocommerce/v1/member-sync
5. Validate REST API
Check if the REST API is working correctly. Using a guest browser, navigate to:
/wp-json/mailchimp-for-woocommerce/v1/ping
to see if this feature is turned off for our API path.
6. Allow Through Firewall
If the previous step fails, you'll need to allow anything coming through:
/wp-json/mailchimp-for-woocommerce/v1/member-sync
in your firewall.