KCC WooCommerce Integration Guide

KCC WooCommerce Integration Guide

Before You Begin

This document is intended to be used as a resource alongside the How To Set Up a Woocommerce Channel and How To Control Stock Levels On Your Channel videos on our Support Portal which we highly recommend you watch beforehand.

By default, any channels created in your live system will be activated. If you wish to test your channel integration in your demo system, please contact support@khaoscloud.com asking for your channels to be activated in your demo system.
Please Note: The Khaos Control Cloud integration supports the WooCommerce (WC) 2.6+ system only. Within that we support v2 or v3 of their API in order to connect Khaos Control Cloud.
 
Khaos Control Cloud does not support the "Legacy API" still used by some sites.
Information about WooCommerce api versions can be found here: https://woocommerce.github.io/woocommerce-rest-api-docs/#introduction
 
In order to operate with Khaos Control Cloud your API connection URL should look like either of the below examples:
 
Sites with the following URL types are NOT supported and would require upgrading in consultation with your web site administrator or provider before being able to connect with Khaos Control Cloud.

If you have any questions about whether your site would be supported, please contact our Support Team.

Linking to your channels

The following steps enable you to identify and enter the credentials that will allow you to link your WooCommerce seller accounts (channels) with KCC, and how to configure those values in KCC.

Configure Tax handling in WooCommerce

  1. In order to improve the accuracy of importing WooCommerce order data, KCC requires WooCommerce to be configured to handle Tax within the store.
  2. You can view the applicable settings by navigating to the [Settings -> Tax -> Standard rates] area within your WooCommerce store. 
  3. If your WooCommerce site does not currently have Tax enabled or you cannot see this Tab, please follow the WooCommerce guide for enabling Tax on this page: Setting up Taxes in WooCommerce.
  4. Within the Tax tab, you will need to ensure that your UK tax rate is set up correctly. The screenshot below is provided as a guide for standard 20% VAT. 
  5. If this area of your WooCommerce channel has not been configured, then KCC will not be able to import orders successfully.
  6. Please note that the WooCommerce store requires the ISO 2-digit country code to be used (e.g. GB, not UK).
The following screenshot is provided for example purposes only. 

 

  1. Previously, KCC relied upon the 'Prices entered with tax' option (see screenshot below). However, this option no longer affects the value that is imported into KCC.
  2. Instead KCC uses the Net Price information WooCommerce provides when the Tax options are enabled on the WooCommerce Store.
  3. Optionally, we also recommend unticking the “Round Tax at subtotal level” option as this ensures the tax behaviour of WooCommerce is aligned with KCC, but this is not mandatory.
 

In the event an order cannot be processed within KCC due to the expected tax information from WooCommerce not being present, a special notification will now be shown in the Notifications tab of your WooCommerce channel(s).
Orders that fall into this category will also move into the “Manual Hold” stage due to discrepancies between the price that has been calculated for the order and the price that was received from WooCommerce.
These orders can be manually corrected to allow them to be processed through the system, and the following notification will be given on the Notifications tab:
 
 
 
If you observe any orders falling into Manual Hold, we highly recommend you review your WooCommerce settings in line with the above information.

Creating your WooCommerce API Keys

The following process is required in order to authorise the integration between your WooCommerce account and your KCC system:
  1. Login into your Wordpress CMS.
  2. Click WooCommerce.
    1. From the sub menu click Settings.
      
  1. Click into the API tab.
    1. This will display your default Settings for the API. Ensure that the ‘API’ checkbox is ticked, as below. If it isn’t, please tick it and click ‘Save Changes’.
      
  1. Click the Keys/Apps option.
    1. In this area you can create and manage an API key for your Khaos Control Cloud instance.
  2. Click Add key (highlighted below).
 
  1. There are three elements to define for your API:

  1. Description
    1. We suggest that you call the API Key Khaos Control Cloud, but any description that works for you will do.
  2. User
    1. This must be an Admin user in your Wordpress CMS.
  3. Permissions
    1. These must be set to ‘Read/Write’ as above.
  4. Once those are defined click ‘Generate API Key’.
    1. Wordpress will display the following details:

  1.  Copy the Consumer Key and the Consumer Secret.
  2. We recommend that you store these in a secure file. Wordpress will only allow you to copy this data once for the Key. If you lose the Key and / or Secret data you will have to revoke the API Key and create a new one.
  3. Click on the Keys/Apps option at the top of the screen once you’ve copied the data successfully.  Your API list will have updated accordingly:

Creating a new channel in KCC

The following steps enable you to enter the credentials that will allow you to link your eBay seller accounts (channels) with KCC, and how to configure them in KCC.
  1. Select New Channel from the blue command button at the tope of the KCC screen.
  2. Set the General box as required.
    1. Name – This is the name of the channel as it will appear in Khaos Control Cloud. It does not need to match up to any official channel name so long as you can identify it.
    2. Type – This is the type of channel which was selected when creating the new channel, it is displayed here purely for confirmation purposes.
    3. Channel Enabled – Determines whether the channel is enabled or disabled. We would recommend that it remains enabled once you have authenticated the channel.

Setting the Credentials Against Your Channel

The following process links your WooCommerce Channel in KCC with your WooCommerce store and are all located in the Channel Specific Options box.
  1. Enter the WooCommerce URL – this is your store’s main URL followed by: /wp-json/wc/v2/
    1. For example, our Test store’s URL is: https://wc.completecommerce.co.uk/ , so the WooCommerce URL for our Channel will be: https://wc.completecommerce.co.uk/wp-json/wc/v2/
  2. Enter the Consumer Key for your WooCommerce Store.
  3. Enter the Consumer Secret for your WooCommerce Store.
  4. Click Save Channel.

Channel Specific Options

Download POS Orders

When enabled, the system will download orders created via the WooCommerce EPOS gateway.

Download Pending Orders

When enabled, the system will download orders that are marked as pending on your WooCommerce store. If these do not have a payment, it is possible they will imported into Manual Hold.

Import Metadata as ExtDesc

When enabled, this option sets KCC to use stock metadata from your channel as an extended description for stock items on sales orders. This is generally used for things such as personalisation or free text messages relating to the item.

Channel Configuration

To configure your channel(s), please see the guide here, Channel Configuration Guide.