Commerce Hub: eCommerce Connector Engine, Sync Queue, Webhooks, Live Store Dashboard
by Viyug Infotech https://viyuginfotech.com$ย 53.69

The engine behind every online store connection.
Store connections, product and customer links, tax, payment, location and currency mappings, an idempotent sync queue with dead letters, signed webhooks and a live dashboard. Store adapters such as the Shopify and WooCommerce Connectors plug into it, and any shop or integration platform can push orders through the signed JSON webhook.
Queue with dead letters Signed webhooks Live dashboard
Free setup call with every purchase
After you buy, book a free 30-minute online call: we install the app with you and set it up for your company. Questions are answered within 24 hours, Monday to Saturday, at support@viyuginfotech.com or on WhatsApp (QR code at the end of this page).
Integrations fail quietly. This one tells you.
Orders that never arrived, stock that stopped updating, a webhook nobody checked. Commerce Hub turns every sync step into a visible job with a result.
Before
- A lost webhook means a lost order
- Errors hidden in the server log
- The same order imported twice after a retry
- Fees and payouts reconciled in a spreadsheet
After
- Webhooks plus a scheduled poll, merged by idempotency key
- Dead letters with the reason in plain words and a Retry button
- Every order, refund and stock push linked to its record
- Gateway fees booked per order, payouts reconciled in one entry
How it works
The same pipeline runs for every platform adapter.
Connect
A setup wizard stores your own app credentials, tests them and shows what the store reported.
Map
Store tax rates to Odoo taxes, payment gateways to journals, store locations to warehouses and currencies to price lists.
Queue
Webhooks and the scheduled poll only queue work. Jobs with the same key merge, so nothing is processed twice.
Process
Orders become sale orders, invoices and payments; refunds become credit notes and returns; failures back off and retry.
Send back
Fulfilments with tracking, stock levels and cancellations go back to the store from the same queue.
Watch
The dashboard shows queue depth, dead letters, last order and API budget, and refreshes when work finishes.
What you get
Live health dashboard
One card per store: orders and sales today, queued jobs, dead letters, last order, last webhook and remaining API budget. It refreshes in every open browser as soon as work finishes.
Idempotent sync queue
Every unit of work is a job with a key. Repeated webhooks and polls merge into one job, and a job locks its row so two workers never run it twice.
Retry, backoff, dead letters
Temporary errors retry with growing delays, rate limits pause the store and reschedule, and after the last attempt the job waits in the dead letters with the reason.
Signed webhook receiver
One endpoint per store with a secret address. Signatures are checked on the raw body, duplicates are detected by delivery id and every delivery is logged.
Product, variant and customer links
Links between store ids and Odoo records, matched by link, SKU or barcode, with the store inventory reference kept for stock updates.
Tax mapping that checks totals
Store tax rates map to Odoo taxes, tax-included or not. Missing taxes can be created from an existing one, and every order total is compared with the store total.
Payments and gateway fees
Each store transaction becomes one payment in the journal of its gateway. Gateway fees are booked as an expense with the payment or with the payout.
Payout reconciliation
Payouts with their transactions, matched to orders. One entry moves the money from the clearing account to the bank and reconciles the order payments.
Stock levels per location
Map each store location to a warehouse or stock location. Available, on-hand or forecast quantity minus a buffer, and only changed quantities are sent.
Fulfilments and returns
A validated delivery queues the fulfilment with its tracking number. Refunds become credit notes with refund payments, and restocked items become a return.
Multi-store, multi-company
As many stores as you run, each in its company with its own warehouse, team, price list and journals. Access rules keep companies apart.
Generic JSON webhook
A custom shop, script or n8n, Make or Zapier flow can push orders, refunds, products and customers as signed JSON, with the same queue and workflow.
How it compares
| Feature | This app | Typical alternatives |
|---|---|---|
| One queue and log for every store platform | Yes | One per connector |
| Repeated webhooks merged by idempotency key | Yes | Sometimes |
| Dead letters with reason and one-click retry | Yes | Sometimes |
| Webhook delivery log with duplicate detection | Yes | No |
| Dashboard that updates without reloading | Yes | No |
| Gateway fees booked per order | Yes | Sometimes |
| Payout reconciliation without Enterprise | Yes | No |
| Order total checked against the store total | Yes | No |
| Generic signed JSON webhook for any shop | Yes | No |
| Setup wizard: connect, test, map, first import | Yes | Sometimes |
| Multi-company record rules | Yes | Sometimes |
Setup in 5 steps
From install to the first order, without support.
1Install. Install Commerce Hub, or a store adapter that installs it for you.
2Connect. Open Online Stores, Configuration, Connect a store. Enter your app credentials and press Connect and test.
3Map. Pick the order warehouse, sales team, price list, payment journal and fee account, then map locations and gateways.
4First import. Choose products, customers and orders since a date, register webhooks and press Start import.
5Go live. Watch the dashboard. Fix any dead letter, press Retry, and the store keeps syncing on its own.
Workflow walkthrough
A real run: a Shopify store and a custom shop of the fictional company Northwind Outfitters, connected to one Odoo.
Every store in one list
Each online store is a connection with its platform, company, linked products and queue. Here a Shopify store and a custom shop that pushes signed JSON run side by side.
Stores with their orders, linked variants, queued jobs and dead letters
Connect with the setup wizard
The wizard stores the credentials of your own app, tests them against the store and loads what it finds: locations, payment gateways and the store currency. You pick the warehouse, team, price list and journals on the same screen.
Connected, store locations loaded and mapped to the Odoo warehouse
Map taxes, payments, locations and currencies
Store tax rates point to Odoo taxes, gateways to payment journals, locations to warehouses and customer currencies to price lists. Unknown values are added automatically so nothing is silently dropped.
Mappings of a live store: two locations, one of them sending stock, and the payment gateways
Products, variants and customers linked
Every store product, variant and customer is linked to its Odoo record, matched by link, SKU or barcode. The inventory reference kept on each variant is what stock updates use.
Store links: Shopify variants and their Odoo products
One queue for every task
Webhooks and the scheduled poll only queue work. Each job shows its type, the record it touched, the result in plain words and how many attempts it took.
Sync log: orders imported, stock levels sent, cancellations and refunds, from two stores
Dead letters you can fix
When a job cannot succeed, such as an order line without a known product, it waits as a dead letter with the reason. Fix the cause and press Retry; the same job imports the order.
Dead letter: the reason is named
After Retry: the order is imported, invoiced and paid
Every webhook delivery logged
Each delivery is checked against its signature, de-duplicated by its delivery id and linked to the job it created. Forged or repeated deliveries are visible, not hidden.
Real deliveries: orders, refunds, customers and products, each with its job
Orders keep their store data
An imported sale order shows the store order number, payment and fulfilment status, the store total, gateway fees and fraud risk. A total that differs from the store is flagged on the order.
The Online store tab of an imported order
Live health dashboard
One card per store with orders and sales today, queue depth, dead letters, last webhook and API budget. It updates in every open browser when jobs finish, without reloading.
A dead letter turns the store to Needs attention
Healthy again after the retry
Generic JSON webhook for any shop
A custom shop, script or n8n, Make or Zapier flow posts orders, refunds, products and customers signed with HMAC-SHA256. They run through the same queue and order workflow.
A custom shop connected through the signed JSON webhook
Payout reconciliation
Payouts are imported with their transactions and matched to the sale orders. One entry moves the money from the clearing account to the bank and reconciles the payments.
A payout with its charges and fees matched to orders
Questions
Is Commerce Hub useful on its own?
Yes, through the generic JSON webhook: a custom shop, script or integration platform posts orders, refunds, products and customers signed with HMAC-SHA256, and they run through the same queue and order workflow. For Shopify or WooCommerce, add its connector.
What happens when a webhook is lost?
Adapters also poll the store on a schedule. Webhook and poll queue the same job key, so the order is imported once whichever arrives first.
What is a dead letter?
A job that failed after all retries, for example an unknown SKU or a missing tax mapping. It waits with the reason; fix the cause and press Retry, or Skip it.
Does it handle many products and orders?
Yes. Work runs in batches from the scheduler with a time budget per store, stock quantities are computed in batches per location and only changed values are sent.
Can I run several stores and companies?
Yes. Each store belongs to a company, with its own warehouse, team, price list, journals and mappings. Users only see the stores of their companies.
Does it need Enterprise or other modules?
No. It works on Community and Enterprise with Sales, Inventory and Invoicing. There is no external queue module to install.
Extensions
Store adapters that plug into Commerce Hub.
Shopify Connector
Orders through webhooks and polling, products and stock per location, fulfilments with tracking, refunds, cancellations and payouts on the GraphQL Admin API.
View on the App StoreWooCommerce Connector
Orders through signed webhooks and polling, simple and variable products, stock from your warehouses, order status and tracking, refunds and cancellations on the WooCommerce REST API.
View on the App StoreeBay Connector
Orders, tracking, stock and prices, fixed price, auction and multi-variation listings with business policies and item specifics, refunds both ways and payouts on the eBay REST APIs.
View on the App StoreMirakl Connector
Every Mirakl-powered marketplace: orders accepted by free stock, offers linked by SKU or EAN, stock per warehouse, prices with a floor, refunds and payouts reconciled on the Mirakl seller API.
Need a hand?
Questions about a mapping, a dead letter or your own integration? Write to us and Viyug Infotech will get back to you.
Email support: support@viyuginfotech.com
Website: viyuginfotech.com
Scan with your phone to chat on WhatsApp or write us an email:

+91 83207 42187

Send us an email
Release notes
Initial release
- Store connections with setup wizard and connection test
- Product, variant and customer links; tax, payment, location and currency mappings
- Order, refund, cancellation, fulfilment and stock workflow
- Idempotent queue with backoff, dead letters, retry and skip
- Signed webhook receiver with delivery log
- Gateway fees and payout reconciliation
- Live dashboard and generic JSON webhook
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Sales (sale_management) • Invoicing (account) • Inventory (stock) |
| Lines of code | 2826 |
| Technical Name |
viyug_commerce_hub |
| License | OPL-1 |
| Website | https://viyuginfotech.com |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module