Troubleshooting your WooCommerce integration

Estimated 3 minute read
|
Updated Aug 29, 2024, 7:30 PM EST
You will learn

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 begin

Before 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 scenarios

Troubleshooting 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)"

"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”

“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).

  1. Learn how to allowlist Klaviyo integration traffic IP addresses
  2. To disable Bot Fight Mode in Cloudflare:
    1. Log in to the Cloudflare dashboard
    2. Select your account and domain.
    3. Go to Security > Bots.
    4. For Bot Fight Mode, select Off.
“Ensure your WooCommerce store has https and SSL enabled”

“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 WordPress

404 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. 

  1. Navigate to your WordPress site and go to Settings > Permalinks.
  2. Under Common Settings, choose any link structure other than “Plain.” 
  3. Confirm by clicking Save Changes.
  4. When you’re done, re-integrate with Klaviyo.
Additional resources

Additional resources

Getting started with WooCommerce

WooCommerce data reference

Was this article helpful?
Use this form only for article feedback. Learn how to contact support.

Explore more from Klaviyo

Community
Connect with peers, partners, and Klaviyo experts to find inspiration, share insights, and get answers to all of your questions.
Live training
Join a live session with Klaviyo experts to learn about best practices, how to set up key features, and more.
Support

Access support through your account.

Email support (free trial and paid accounts) Available 24/7

Chat/virtual assistance
Availability varies by location and plan type