You will learn
Learn how to solve issues with your WooCommerce integration setup by following the relevant troubleshooting scenario described below. If you are encountering issues not on this list, please reach out on the Community or to our Support Team.
Before you beginBefore you begin
If you have not already, read our guide on getting started with WooCommerce for step-by-step instructions on integrating. If you are looking to upgrade your plugin, check out our article, How to upgrade your WooCommerce plugin.
Troubleshooting scenariosTroubleshooting scenarios
Consult the following scenarios based on the error message received in-app to resolve your issue.
Please note that if you choose to remove your integration and then re-integrate, your WooCommerce data will not be deleted from Klaviyo.
"To avoid functionality disruptions, you may need to disable the following plugins: Plugin Name(s)"
If you have active caching plugins or redirect plugins in WordPress, these can interfere with Klaviyo’s integration and cause connection issues. We recommend disabling these plugins during the integration setup process.
“We can’t complete your setup”
This message means that either your firewall is blocking Klaviyo’s requests, that you have Bot Fight Mode enabled in Cloudflare, or both.
To resolve, we recommend both allowlisting Klaviyo integration traffic and disabling Bot Fight Mode (if you have it enabled).
- Learn how to allowlist Klaviyo integration traffic IP addresses.
- To disable Bot Fight Mode in Cloudflare:
- Log in to the Cloudflare dashboard.
- Select your account and domain.
- Go to Security > Bots.
- For Bot Fight Mode, select Off.
“Ensure your WooCommerce store has https and SSL enabled”
Klaviyo expects your store URL to adhere to HTTPS protocols, meaning that the website has a valid SSL certificate. If your website is in HTTP rather than HTTPS, you may run into issues.
You can check if your SSL certificate is valid at SSL Server Test (Powered by Qualys SSL Labs).
Klaviyo requires that the tests pass with A gradings.
“Unable to access API with provided credentials”“Unable to access API with provided credentials”
You may receive this error if you have customizations in place to prevent API access for non-logged-in users. Typically, this is a function in the functions.php WordPress file, which triggers a 401 status code response.
If you have a customization like this, delete it or comment it out to eliminate the error. For more information on this error, check out the WooCommerce REST API FAQ.
"Unable to access the orders API, please check connection settings and try again""Unable to access the orders API, please check connection settings and try again"
This error means that when Klaviyo tries to validate the WooCommerce integration and get an order count, their API doesn’t return a value Klaviyo expects or it returns nothing at all.
Since the integration hasn't officially connected to Klaviyo yet, this means that it needs to be resolved within WooCommerce.
To get more information about this error, you need to make an API call to the order count endpoint, which will provide more insight into what is being passed to Klaviyo. Here is an example cURL request. To use it, fill in your store URL, consumer key, and consumer secret:
curl https://STORE_URL/wp-json/wc/v3/orders \
-u CONSUMER_KEY:CONSUMER_SECRET
“Your Klaviyo plugin is out of date”“Your Klaviyo plugin is out of date”
Occasionally, the webhook will be delayed in reaching Klaviyo, temporarily causing you to see the old settings page. This should resolve itself after a few minutes.
404 when connecting to Klaviyo from WordPress404 when connecting to Klaviyo from WordPress
To resolve this, you should confirm that you have Permalinks enabled for your WordPress site. WooCommerce authentication will not work unless Permalinks are enabled.
- Navigate to your WordPress site and go to Settings > Permalinks.
- Under Common Settings, choose any link structure other than “Plain.”
- Confirm by clicking Save Changes.
- When you’re done, re-integrate with Klaviyo.