/
WebsiteSupport

DocsWooCommerceWooCommerce

Setting up WooCommerce

Set it up in test mode first where WooCommerce offers one, and switch to live when a test has worked. Allow an hour, plus any time that WooCommerce needs to approve your account.

2 min read

What you need first

  • A WooCommerce store on a secure address (https://), and a WordPress user allowed to manage WooCommerce.
  • WooCommerce has no test system of its own. For Test, use a staging copy of your store; your hosting provider can usually make one.

Your keys and where to find them

FieldWhere it comes from
Store addressThe address of your shop, as customers type it, starting with https://
Consumer key and consumer secretIn WordPress, open WooCommerce > Settings > Advanced > REST API and click Add key. Give it a description, pick your user, set Permissions to Read/Write and click Generate API key. Copy both values at once: WooCommerce shows the secret only one time.
NotificationsIn WooCommerce > Settings > Advanced > Webhooks, add a webhook for each topic you want (for example Order created and Product updated). Paste the notification address shown on the connection page as Delivery URL, and the signing secret shown under it (click Copy) as Secret. Keep API version WP REST API Integration v3.
The product carries its own help page for WooCommerce, with these steps beside the Add button.
The product carries its own help page for WooCommerce, with these steps beside the Add button.

Set it up

  1. Open SettingsIntegrations and choose the tab Add an integration.
  2. Find WooCommerce and click Add. Give the connection a name you will recognise, for example the name of your shop, and click Add.
  3. The connection page opens. Under Test, paste the test keys from your WooCommerce account and click Save test credentials.
  4. Switch the state to Test and click Test connection. A green sentence means WooCommerce accepted the keys.
  5. If WooCommerce asks for a notification address, copy the one shown under Notifications into your WooCommerce account (the table above says where).
  6. Try it with a test payment or a test order. When everything is right, enter the live keys under Live and click Go live.

Test and live

Every connection keeps two sets of keys: one for Test and one for Live. You can fill both at any time; the state decides which one is used.

In Test, the connection works with a copy you use for trying things out, so nothing your customers see changes.

Go live asks you to confirm. From then on the connection uses the live keys and everything it does is real. You can switch back to Test or to Inactive at any time; nothing is deleted.

See also