Connect WooCommerce
Make a REST API key in WooCommerce, connect it in Looped and check the store's settings before the first order
Looped talks to WooCommerce through its REST API, with a key you make in your WordPress admin. Looped uses the same key to register the order webhooks, so there's nothing to set up in WooCommerce after you paste it in.
Before you start
- Your shop needs to be on https. WooCommerce only accepts an API key over https.
- Give the company an address in Manage under Company. Every sales order and invoice needs one, and orders fail until it's there. The store page warns you if it's missing.
- Decide whether the company is VAT registered, and set that in Manage too. It changes how orders and prices are worked out; see VAT.
Make the API key
- In WordPress, go to WooCommerce › Settings › Advanced › REST API.
- Click Add key (or Create an API key).
- Give it a description such as "Looped", pick a user who is an Administrator or Shop manager, and set Permissions to Read/Write.
- Click Generate API key. WooCommerce shows a Consumer key (it starts with
ck_) and a Consumer secret (it starts withcs_). Copy both now, because WooCommerce won't show the secret again.
The key needs Read/Write because Looped writes stock and prices to your products and registers its webhooks. A Read-only key connects, but every push then fails with a permissions message in the sync log.
Connect it in Looped
- In Inventory, open Settings › Online stores.
- On the WooCommerce card, click Connect.
- Fill in the Shop address (such as
https://shop.example.co.za), the Consumer key and the Consumer secret, and save.
Looped checks the key by reading the shop's tax classes. If that works, it saves the connection, registers two webhooks in WooCommerce (Looped order.created and Looped order.updated) and opens the store's Settings tab. WooCommerce's standard tax class starts mapped to Looped's Standard VAT; any other class waits for you.
If Looped can't connect, it says why. "The store refused the API key" usually means the key was copied wrongly or was revoked, and "The store didn't answer with WooCommerce data" usually means the address is wrong. Troubleshooting covers the rest.
Check the settings before the first order
The Settings tab is worth a minute before any orders come in:
- Bring orders in when: Placed, Paid or Fulfilled. The default is Paid. In WooCommerce, paid means the order's status is Processing, and fulfilled means Completed. An order that's Pending payment or On hold counts as placed.
- Create: what the order becomes. See Orders.
- VAT: map each of the shop's tax classes to a Looped VAT code.
- Prices from and Stock from: the price list the shop's prices come from (or the item's selling price) and which locations' stock it shows.
Then link your products. Open the Products tab and click Read the store's products; see Products and pictures.
Looped only reads orders from the moment you connect. If there are recent orders you want in Looped, use Import orders on the Orders tab.
Orders placed by bank transfer
A WooCommerce order paid by direct bank transfer (EFT) sits On hold until you mark it as paid in WooCommerce. With Bring orders in when set to Paid, it comes into Looped when you change it to Processing. Until then it shows on the store's Orders tab as Not brought in, "Waiting until it's paid".
WooCommerce webhooks can be late
WooCommerce doesn't send a webhook the moment an order is placed. It queues it and sends it with WordPress's scheduled tasks (WP-Cron), and those only run when someone visits the site. On a quiet site, a webhook can go out minutes later than you'd expect.
WooCommerce also turns a webhook off by itself after it fails a few times in a row, and doesn't tell anyone. That's why Looped also checks the shop for new and changed orders every 5 minutes. A late or switched-off webhook means an order can take up to 5 minutes to arrive, and nothing is lost.
If the Connection card on the store's Settings tab says there are no webhooks, click Register webhooks again. If WooCommerce refuses, the sync log says why.
Disconnecting
Disconnect is at the bottom of the Settings tab. Looped stops sending stock and prices, stops reading orders and deletes its webhooks from WooCommerce. The sales orders and invoices already made stay in Invoices. The links between items and store products are removed, along with the store's order list and sync log, so connecting again means reading the store's products again.
You can also revoke the API key in WooCommerce. Do that after disconnecting, so Looped can still remove its webhooks.
Are you an AI? Visit llms.txt — these docs as plain markdown.