WooCommerce Connector for Odoo

WooCommerce orders, stock and refunds, handled in Odoo.

What WooCommerce Connector does

Orders arrive through signed webhooks within seconds and a scheduled poll catches anything missed. They become sale orders, invoices and payments per payment method, with coupons, fees, shipping and taxes mapped. Stock from your warehouses, order status with tracking and cancellations go back to WooCommerce, and refunds become credit notes. Built on the WooCommerce REST API.

Two-way WooCommerce Odoo integration on the WooCommerce REST API v3: signed real-time webhooks with a scheduled poll fallback, sale orders, invoices and payments per payment method, coupons, shipping and fee lines, taxes mapped per rate, simple and variable products with attributes, variations, images, categories and tags, customers, stock per warehouse, order status and tracking back to WooCommerce, refunds to credit notes, cancellations, multi-store, multi-currency.

  • WooCommerce REST API
  • Webhooks and polling
  • Variable products

Features

  • Connect your keys

    A REST API key with Read/Write permissions. https stores use basic authentication, plain http staging stores are signed with OAuth 1.0a.

  • Import and match

    Products and variations are read page by page and matched to Odoo by SKU or GTIN, or created with attributes, images, categories and tags.

  • Orders arrive

    Signed webhooks queue the order within seconds; a scheduled poll on changed orders catches anything missed. The order is read again through the API.

  • Invoice and pay

    Paid orders are confirmed, invoiced and paid in the journal of their payment method. Bank transfer and cash on delivery can wait for the money.

  • Ship and update

    Validate the delivery: the WooCommerce order is completed with a tracking note to the customer. Stock levels follow every stock move.

  • Refund and cancel

    Refunds become credit notes with refund payments and returns; cancellations go both ways.

  • Every way to sign in

    Basic authentication over https, keys in the query string for servers that drop the Authorization header, and OAuth 1.0a signatures for plain http staging or local stores.

  • Webhooks plus polling

    Order, product and customer webhooks are registered for you and verified with the HMAC-SHA256 signature. A poll on modified orders closes any gap.

  • Webhook watchdog

    WooCommerce switches a webhook off after repeated failed deliveries. The connector checks every hour and switches it back on, or creates it again.

  • Complete orders

    Lines with coupons and discounts, shipping lines, fee lines (also negative ones), taxes per WooCommerce rate, billing and shipping addresses, coupon codes kept on the order.

  • Payments per method

    Each payment method maps to a journal. Bank transfer and cheque orders are paid when WooCommerce marks them paid; cash on delivery can stay open. Stripe, WooPayments and PayPal fees are booked.

  • Variable products

    Simple and variable products with attributes, variations, images, categories and tags, matched by SKU or GTIN or created. Send Odoo products to WooCommerce, published or as draft.

  • Stock from your warehouses

    The quantity of every mapped warehouse adds up into the WooCommerce stock: available, on hand or forecast, minus a safety buffer, changed values only, 100 per batch call.

  • Status and tracking back

    A validated delivery completes the order and sends the carrier, tracking number and link as a customer note (and to a tracking meta field if you use one). Confirming a held order sets it to processing.

  • Refunds both ways

    WooCommerce refunds become credit notes with refund payments and a return for restocked items. Credit notes made in Odoo can be recorded as WooCommerce refunds.

Before and after

Without the app

  • Orders retyped from the WordPress admin
  • Stock on the website wrong after a busy morning
  • Customers asking where the tracking number is
  • Refunds booked twice or not at all

With WooCommerce Connector

  • Orders become sale orders, invoices and payments on arrival
  • Changed quantities go to WooCommerce within a minute
  • Validating the delivery completes the order with tracking
  • WooCommerce refunds become credit notes, Odoo credit notes become refunds

How it works, step by step

  1. 01Create a REST API key in WooCommerce

    In WordPress, open WooCommerce, Settings, Advanced, REST API and add a key with Read/Write permissions for an administrator. WooCommerce shows the consumer key and secret once: copy both.

    WooCommerce Connector: Create a REST API key in WooCommerce
  2. 02Connect from the setup wizard

    Choose WooCommerce, enter the store address, consumer key and consumer secret. The authentication method follows the address: basic over https, OAuth 1.0a signatures over http.

    WooCommerce Connector: Connect from the setup wizard
  3. 03Test and map

    Connect and test reads the store, checks that the key may write and compares the tax rounding. Your warehouses, the enabled payment methods and the tax rates are loaded for mapping.

    WooCommerce Connector: Test and map
  4. 04Choose the first import

    Products and variations, the current WooCommerce stock, customers, orders since a date and the webhooks. Everything then runs in the background queue.

  5. 05Webhooks registered

    Six webhooks for orders, products and customers point at this database, signed with your consumer secret. The store form shows them with the time of the last check.

  6. 06Products and variations linked

    The Summit Rain Jacket with its Color and Size attributes became one Odoo product with six variants, with the image, category and SKUs. The current WooCommerce quantities became the Odoo on-hand stock.

  7. 07Orders arrive by webhook

    Orders placed in WooCommerce (here created through the REST API) reach Odoo within seconds as signed deliveries. A pending payment order waits; it is imported once it is paid or on hold.

  8. 08The sale order

    Order #92 used the coupon summer10 and gift wrapping: the lines keep the 10 % discount, the CA State Tax rate is mapped to an Odoo tax, shipping and the fee have their own lines, and the total equals WooCommerce to the cent.

  9. 09Invoice and payment per payment method

    Paid orders are invoiced and paid in the journal of their payment method. The bank transfer order #94 waited on hold; when WooCommerce marked it paid, the invoice and payment followed.

  10. 10Delivery validated, order completed in WooCommerce

    Validate the delivery with the carrier and tracking number. The WooCommerce order turns Completed and the customer gets a note with the tracking link.

  11. 11Stock goes back to WooCommerce

    Every stock move queues a stock update. Only quantities that changed are sent, through the batch endpoints; units already sold on open orders are kept apart.

  12. 12Refund in WooCommerce, credit note in Odoo

    A mug was refunded in WooCommerce with "restock" ticked. Odoo creates the credit note with the refund payment and a return of the mug, ready to receive.

Included apps

Odoo installs these Viyug Infotech apps together with WooCommerce Connector.

Questions about WooCommerce Connector

Which WooCommerce versions work?

Stores with the WooCommerce REST API v3 (WooCommerce 3.5 or later); the poll on changed orders needs WooCommerce 5.8 or later. It was run against WooCommerce 11.2 on WordPress 7.1.

Do webhooks need a public address?

WooCommerce must be able to reach Odoo: a public https address, or both on the same private network. Without that, orders still arrive through the scheduled poll, every 15 minutes by default.

My store is on http (staging or local). Does it work?

Yes. WooCommerce only accepts OAuth 1.0a signatures over http; the connector signs every request. The store address must be exactly the WordPress Address of the site.

What if a SKU is not in Odoo?

Either the product is created automatically, or the order waits as a dead letter that names the SKU, depending on your setting.

How is stock calculated with several warehouses?

WooCommerce keeps one quantity per product or variation. Odoo sends the sum of the warehouses you mark, using available, on hand or forecast quantity minus your safety buffer.

Are taxes and totals right?

Every WooCommerce tax rate maps to an Odoo tax, tax-included stores too. Every order total is compared with WooCommerce and a difference is flagged on the order; the tax rounding setting is checked when you connect.

Which payment methods?

Every enabled WooCommerce payment method is listed for mapping. Gateway fees are read from Stripe, WooPayments and PayPal order data when present.

Does it need Enterprise or a Python package?

No. It works on Community and Enterprise with Sales, Inventory and Invoicing, and talks to WooCommerce directly without extra Python packages.

All Odoo apps

Related Odoo apps

Tell us which systems disagree. We will fix that.

Thirty minutes with an engineer, not a salesperson. You leave with a map of what you run, what to connect first and a price range, whether or not you hire us.