Connect your WooCommerce online shop to Vektori to synchronise products, customers, orders and stock information. First create the online shop’s API keys, then configure the connection in Vektori Cloud. You need access to your company’s WordPress administration and Vektori’s integration settings.
Vektori Pilvi → Settings → Vektori → Integrations → WooCommerce
Create API keys in WooCommerce
WordPress → WooCommerce → Settings → Advanced → REST API
- Sign in to your company’s WordPress administration and open the path above.
- Select Add key.
- Enter a recognisable description, such as the address of the Vektori workspace. Select the user whose permissions the integration will use.
- Select Read/write as the permissions and select Generate API key.
- Copy the Consumer key and Consumer secret and store them securely. The secret is shown only once when it is created.
The WooCommerce API requires plain-text URLs. On the WordPress Settings → Permalinks page, check that a structure other than Default / Plain is in use. See the WooCommerce API guide if necessary.
Enter the online shop connection details in Vektori Cloud
- Open Settings → Vektori → Integrations.
- Find WooCommerce and select Enable.
- Fill in the connection details according to the list below.
- Online shop REST API address: your online shop’s address.
- REST API key: the WooCommerce Consumer key.
- REST API secret: the WooCommerce Consumer secret.
- Webhook secret: the secret string you choose to protect the connection’s event notifications.
- Webhook name prefix: an identifier added to the names to help you distinguish the webhooks for this connection.
Select the synchronisation settings and warehouse
Check each option according to your company’s online shop practices:
- Prices in the online shop are entered including tax: select this when the online shop’s product prices include tax.
- Prevent the product from being automatically updated from the online shop to Vektori when it has been edited in Vektori: select this when you want to retain product changes made in Vektori.
- Prevent the order from being automatically updated from the online shop to Vektori when it has been edited in Vektori: the corresponding option for changes to orders.
- Synchronise stock values from Vektori to WooCommerce: select this when stock information is transferred from Vektori to the online shop.
- Warehouse: select the Vektori warehouse whose stock balances the online shop’s orders will be assigned to.
Finally, select Save.
Check the webhooks and connection
- In WordPress, open WooCommerce → Settings → Advanced → Webhooks.
- Check that the connection’s webhooks are shown in the list. Identify them by the connection names or the prefix you set.
- Before customer use, verify that the data you selected is transferred from both systems using agreed test data. Pay particular attention to products, prices, orders and the selected warehouse.
If the webhooks are missing or the data is not transferred, check the online shop address, the key permissions and the integration settings. If necessary, tell Vektori Support which information is missing and what error you see. Cover the keys and secrets in screenshots.
Comments
0 comments
Please sign in to leave a comment.