Connecting WooCommerce to Dolibarr with WooSync

Synchronising a WooCommerce shop with Dolibarr using the free WooSync module, tested end to end on Dolibarr 24.0.3 and WooCommerce 11.3: products, customers, orders, paid invoices, stock, and orders received automatically. With the five settings that, if forgotten, give 0% VAT, rejected orders or wrong stock.

Want someone to look at your instance? Diagnosis, fixed price €90.

Versions concerned
Dolibarr 24.0.3, WooSync module (ecommerceng) 14.0.74 by Opendsi (DoliStore no. 1084), WordPress 7.1.4, WooCommerce 11.3.0
What was checked (versions, tests, code read)

Tests on 15/11/2026: fresh Dolibarr 24.0.3 and WordPress 7.1.4 + WooCommerce 11.3.0 in Docker, shop in euros with a 20% French VAT rate, two products, one customer, six orders paid by bank transfer. Module downloaded from its DoliStore page (free, no account) and read (descriptor, changelog, synchronisation code). Run through the interface with a driven browser: WooCommerce API key, activation, site, categories, VAT dictionary, payment methods, invoices, stock, webhooks, scheduled jobs. Dolibarr reinstalled from scratch twice to check the order of the steps. Results checked in both databases. Interface run in French; English labels taken from the WooSync, Dolibarr and WooCommerce language files. Only test-bench adaptation: WordPress allowed to reach the local address of the test Dolibarr.

A WooCommerce shop on one side, Dolibarr on the other: the goal is for every online order to reach Dolibarr with its invoice, and for the shop’s stock to follow Dolibarr’s. Dolibarr does not do this on its own; you need a module.

This guide uses WooSync, Opendsi’s free module. We tested it on 15 November 2026 end to end, on a fresh Dolibarr 24.0.3 connected to a WordPress 7.1.4 + WooCommerce 11.3.0 shop: six paid orders, invoices, stock, and orders received automatically. Along the way we ran into five settings that, if forgotten, make the synchronisation fail or go wrong. They are flagged throughout the guide.

Our test interface was in French; the English labels below come from the language files of WooSync, Dolibarr and WooCommerce.

WooSync in brief

  • Price: free, GPL licence, on the DoliStore (product no. 1084). The download needs no account.
  • Version tested: 14.0.74 (updated on 15/10/2026). The listing announces Dolibarr 18 to 24; the version file shipped inside the module still says 23 at most, but everything below worked on 24.0.3.
  • What it does: products, categories, customers, orders, invoices and payments from WooCommerce to Dolibarr; stock and order statuses from Dolibarr to WooCommerce.
  • Support: the listing says free modules include no corrective maintenance; Opendsi works on quotation.

Other modules exist on the DoliStore, most of them paid; we did not test them.

1. In WooCommerce: an API key

In WordPress: WooCommerce > Settings > Advanced > REST API > Add key. Give a description (for example “Dolibarr”), choose Permissions: Read/Write, then Generate API key.

Write down the Consumer key and Consumer secret straight away: WooCommerce warns that the secret is hidden once you leave the page.

2. In Dolibarr: install and enable WooSync

Download the module from its DoliStore page: the file is module_ecommerceng-14.0.74.zip. Unzip it into Dolibarr’s htdocs/custom folder; the resulting folder must keep the name ecommerceng. The listing also mentions the Deploy/install external app/module tab of the modules page.

In Setup > Modules/Applications, enable WooSync. It enables Third Parties, Products, Tags/Categories and API / Web services (SOAP server) by itself. Enable yourself Sales Orders, Invoices and Stocks as well; Banks & Cash and Scheduled jobs will be needed later.

Finally create two categories in Dolibarr: a products category (for example “Online shop”) and a customers category (“Shop customers”). WooSync asks for them.

3. Declare the shop

Open WooSync’s setup (the module’s gear icon) and fill in:

Field Value
Site name any name, for example “Shop”
Site address your WordPress address, for example https://shop.example.com
API version V3 (suggested)
Authentication type Oauth 1 (Header), the default
WooCommerce API client key / secret key the Consumer key and Consumer secret from step 1

Save: the Third party, Product, Stock and Order / Invoice tabs appear. In Third party, choose the customers category; in Product, the products category.

4. The five settings that make synchronisation work

Setting 1: VAT, before importing products

In the Product tab, click Updating the VAT class dictionary and confirm. WooSync then copies WooCommerce’s VAT rates.

Without this click, products arrive in Dolibarr with 0% VAT: that is what we got on the first try, although the shop had a 20% rate. After the click, on a fresh installation, the same products arrived at 20% (€4.50 excl. VAT, €5.40 incl. VAT).

Setting 2: payment methods

Without this setting, every order is rejected with the message “Payment method (bacs, Virement bancaire) was not found in those synchronized” (shown here with our French shop’s method name).

In the Order / Invoice tab, click Payment methods update and confirm. Careful: only methods enabled in WooCommerce are imported; a disabled method does not appear, even if older orders use it. Then match each method with a Dolibarr payment mode:

Payment methods matching in WooSync: bacs, bank transfer, current account, payment created for the invoice

Setting 3: invoices (two boxes)

By default, WooSync creates the order but not the invoice. You need two things, in the Order / Invoice tab:

  • tick Create invoice;
  • in the status table “From E-Commerce to Dolibarr”, tick the Billed column for the WooCommerce status In progress (a paid order, “Processing” in WooCommerce). With only the first box, no invoice was created in our test.

Setting 4: paid invoices, not “unpaid”

Without a bank account, invoices arrive validated but unpaid, although the customer paid online. Enable the Banks & Cash module, create an account, then in the payment methods matching choose this Bank account and tick Create the associated payment for the invoice. Tested: the next invoice arrived paid, and the payment showed on the account.

Setting 5: stock

In the Stock tab, Stock synchronization is set to “None” by default. For the shop to show Dolibarr’s stock, choose From Dolibarr to E-Commerce and the warehouse whose quantities are sent. Three findings from our tests:

  • It is not instant. Stock is sent by a scheduled job, set to every 15 minutes (it shows under its technical name, “ECommerceSynchronizeStocksToSite”, in Scheduled jobs). Dolibarr’s scheduled jobs must therefore be running.
  • Dolibarr’s stock replaces the shop’s. A product with no stock in Dolibarr went from 42 to 0 in the shop. Enter your stock in Dolibarr before enabling this setting.
  • Online sales must reduce Dolibarr’s stock, otherwise it drifts. In our test, an online sale did not move Dolibarr’s stock; at the next movement (+10), the shop showed 40 instead of 39. The tested fix: in Dolibarr’s Stocks module setup, enable Decrease real stocks on validation of sales order, then in WooSync’s Stock tab, choose the warehouse on the Order validation line. Without that warehouse, the order is rejected: “The default warehouse for order validation is not configured for site”. With both, Dolibarr and the shop stayed in agreement (39, then 37).

5. First synchronisation

Open the site’s synchronisation page (WooSync’s site list). Click, in this order, the buttons of the “Ecommerce -> Dolibarr” part:

WooSync synchronisation page: categories, products, third-party customers, orders

  1. Synchronize product categories;
  2. Synchronize new products;
  3. Synchronize new third-party customers and contacts;
  4. Synchronize new orders.

Each button reports that the synchronisation is finished and then, if any, the errors order by order. In our test, orders placed in the shop before the setup were imported too.

6. Receiving orders automatically

The buttons above are manual. For each new order to arrive on its own, WooSync uses WooCommerce’s webhooks:

  1. In WooSync’s setup, Parameters tab, webhooks part: copy the Delivery URL (of the form https://your-dolibarr/custom/ecommerceng/webhooks.php?ecommerce_id=1) and enter a Secret (the icon next to it generates one). Save.
  2. In WordPress: WooCommerce > Settings > Advanced > Webhooks > Add webhook. Topic Order created, status Active, Delivery URL and Secret identical to WooSync’s.
  3. In Dolibarr, received orders wait in a queue, processed by the scheduled job that processes the orders delivered by webhook, every 15 minutes.

Tested: an order placed in the shop arrived in WooSync’s queue; after the scheduled job, it was in Dolibarr, validated, with its invoice paid, and the stock was up to date on both sides.

Your Dolibarr must therefore be reachable from the shop’s server (a public address, over https), and its scheduled jobs must be running: without them, neither received orders nor stock go through. With Docker, this is explained in Installing Dolibarr with Docker Compose. For a test, the Launch now button of each job, in Scheduled jobs, does the same.

Common problems

What you see Verified cause What to do
“Payment method (…) was not found in those synchronized” payment methods not imported or not matched Payment methods update, then match (setting 2)
The wanted payment method does not appear after the update it is disabled in WooCommerce enable it in WooCommerce, update again
Products imported with 0% VAT VAT class dictionary not updated setting 1, then resynchronise products
Orders imported, but no invoice “Billed” not ticked for the “In progress” status setting 3
Invoices imported but unpaid no bank account or associated payment setting 4
Shop stock not updated scheduled job not run run Dolibarr’s scheduled jobs
Stock dropped to 0 in the shop product with no stock in Dolibarr enter the stock in Dolibarr
“The default warehouse for order validation is not configured” decrease on validation enabled without a warehouse Stock tab, “Order validation” line

Summary

  1. WooCommerce: a read/write API key.
  2. Dolibarr: WooSync, plus Sales Orders, Invoices, Stocks (and Banks & Cash, Scheduled jobs).
  3. Declare the shop, choose a products category and a customers category.
  4. Before any synchronisation: VAT, payment methods, invoices (two boxes), bank account, stock.
  5. Synchronise categories, products, customers, orders; then webhooks and scheduled jobs for what follows.

Next

For your invoices to be picked up properly in accounting: Dolibarr and accounting (FEC). To understand Dolibarr’s stock movements: stock in Dolibarr.

If your shop synchronisation gets stuck, the €90 diagnosis means looking at your installation with you for an hour, then giving you in writing what is blocking and what the fix would cost.

Frequently asked questions

How do I connect WooCommerce to Dolibarr for free?

With Opendsi's WooSync module, free on the DoliStore (product 1084, GPL licence). Tested on 15/11/2026 on Dolibarr 24.0.3 and WooCommerce 11.3.0: it imports products, customers and orders, creates invoices and their payments, and sends Dolibarr's stock to the shop. You need a WooCommerce REST API key with read/write access, and the five settings described in this guide.

Why does WooSync reject an order with "Payment method (…) was not found in those synchronized"?

Because WooCommerce's payment methods have not been imported into WooSync, or not matched with a Dolibarr payment mode. In WooSync's setup, Order / Invoice tab, click "Payment methods update", then choose a payment mode for each. Only methods enabled in WooCommerce are imported.

Why do WooCommerce products arrive in Dolibarr with 0% VAT?

Because WooSync reads VAT rates from its own copy, which stays empty until you click "Updating the VAT class dictionary" (Product tab of its setup). Do it before synchronising products: tested, the products then arrive at 20%.

DolibarrWooCommerceWooSyncWordPressintegrationsynchronizationsynce-commerceonline shopordersstockwebhook

Did this guide help you?

A question about this guide, or a step that does not go as expected on your side? Write to support@dolix.fr.