Tinx-IT E-Commerce Connector 2020
E-commerce Platforms / WooCommerce
In This Topic
    WooCommerce
    In This Topic
    WooCommerce is an e-commerce plugin for the cms WordPress. WooCommerce is a flexible e-commerce platform.

    How to setup integration with BC?

    Login into the backend of Woo. Navigate to : WooCommerce - Settings - Advanced - REST API - Add Key

    Write down the consumer key and consumer secret. You will need this credentials to enter in the Sales Channel Card for WooCommerce.

     

     

     

    Setup Sales Channel Card

    Go to Assisted Setup, choose the option WooCommerce. When the Sales Channel page opens, you can enter the details from WooCommerce. Enter the user name + password in the right fields.

     

    Install plugin REST API Log in WooCommerce

    Install a new plugin in WooCommerce: REST API Log from Pete Nelson. This extension is logging all Rest API requests and responses from BC. Is very useful to see if requests are ok. Useful for monitoring and debugging the communication from BC.

     

    Permission for 'PUT' on webserver

    Not all webservers have granted permission on the command ‘PUT’. To enable updates with ‘PUT’ call by REST API you should change the .htaccess file on the webserver, add this piece of code:

    <Limit GET POST PUT DELETE>

    Allow from all

    </Limit>

    HTTPS enabled

    If you have enabled 'HTTPS' you should grant the webserver for the right authentication: Basic:

    Add this to the .htaccess file on the webserver

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    More info: https://stackoverflow.com/questions/38610599/woocommerce-rest-api-woocommerce-rest-cannot-create

     

    API reference

    Technical documentation on the REST API can be found here:

    https://woocommerce.github.io/woocommerce-rest-api-docs/