
This article only covers the WooCommerce-specific setup. For the full setup use Setting up a new Webstore
- Make sure you are running the latest version of WordPress, or WordPress is in version 5.6+.
- Log in to your WordPress administrative page using a user with Administrator permissions.
- We need to generate the API keys to be used in the WooCommerce Link:
- On the left panel, click on WooCommerce → Settings.
- Click Advanced → REST API keys → Add key.
- In Description, type in WooCommerce Link.
- In User, select your administrative user.
- In Permissions, select Read/Write.
- Click Generate API Key.
- Copy and paste both the Consumer Key and Consumer Secret into Notepad or a similar program.
- If you close this screen without saving the keys, you will need to revoke and regenerate them.
- Back in the TWC setup page, enter the Consumer Key, Consumer Secret, Admin Username and Domain URL.
- Your Admin Username is the username you use to log in to WordPress.
- Please include https:// in your domain.
- Application Password should be left blank unless otherwise advised by Tower Support.
Sales Export Webhook
- In the left panel of the WordPress admin page, click on WooCommerce → Settings.
- Click Advanced → Webhooks link from the horizontal menu.
- Click Add webhook.
- From the Webhook data form:
- In Name, webhook name to identify the webhook, for example, TWC Order Webhook.
- In Status, select Active from the dropdown.
- In Topic, select Action from the dropdown.
- In Action event, enter woocommerce_order_status_processing in the field.
- In Delivery URL, enter https://eccserver.towersystems.com.au/woocommerce-connector/webhooks/receive-sale in the field.
- In Secret, enter 8eb3a05b-9d86-8332-8e6a-1350668c693d in the field.
- Please note that the Secret key cannot be changed; otherwise, the Webhook call will be rejected by TWC.
- In API Version, select WP REST API Integration v3 from the dropdown.
- Click Save webhook to save the changes.
- Do NOT click on the Webhook TEST button.
- To check the Webhook logs, click WooCommerce → Status, then click Logs, then choose a Webhook log to view.
- To check the Webhook status, click WooCommerce → Status, then click Scheduled Actions.
- It typically takes 2-5 seconds for WooCommerce to process the Webhook query.
- Back in TWC, select your new WooCommerce connection, then click Sales and untick Automatic Sales Export.
Disable Guest Checkout
- In the left panel, click on WooCommerce → Settings, and click on the Accounts & Privacy tab.
- Under the Checkout section, untick Enable guest checkout (recommended).
Site Structure
- In WordPress, under Settings → Permalinks.
- Set the Permalink structure to Day and name.
- Click Save Changes at the bottom.