Skip to content
← Back

Wiring Shopify, COD couriers, and Zoho Books without losing your mind

Connecting a storefront, a courier and a set of accounting books looks like a plumbing problem. It is really an argument about who is right, and the work is deciding that in advance.

Give every system one thing it owns

Shopify owns the order. The courier owns the delivery state and the cash it collected. The finance books own the invoice. When two systems disagree about something, there should never be a debate about which one wins.

Make every job safe to run twice

Scheduled syncs fail halfway. A job that creates an invoice should check whether the invoice already exists before it creates one. Store what you synced and when, so a retry picks up where the last run stopped instead of starting over.

Poll as well as listen

Webhooks are quick, and they are also the first thing to go missing. A slow scheduled pass that compares the two sides and fixes the gaps is what makes the system trustworthy.

Show the disagreement

When an order is delivered but not invoiced, do not quietly fix it and do not hide it. Put it on a screen where someone can see it. A system that makes its own mismatches visible is one a team will actually trust.

None of this is clever. It is the same few habits, applied to dates, time zones and refund maths until the three systems stop surprising each other.