Shopify and Sage 200 Integration
Connecting Shopify to Sage 200 sounds simple until you look at what finance actually needs: customer accounts that are not duplicated, invoices raised at the right time, and Shopify payouts that reconcile to the penny after fees. Add subscriptions, where customers pay every month but goods only ship some months, and it gets genuinely tricky. This page explains how we handle all of it, based on a recent project for a UK consumer business selling products and service plans on subscription through Shopify.
What the integration does
- Customer accounts. Each order is matched to a Sage 200 customer by email address. If there is a match, the order goes on that account. If not, a new Sage account is created from the Shopify details. Either way, the Sage account code is written back to the Shopify customer.
- Sales orders. Paid orders are collected every 15 minutes and created as Sage 200 sales orders with items, discounts, tax and delivery address, plus text lines for the order source, customer email, phone number and any order notes.
- Invoices. Once a Sage order is fully despatched, the integration raises the invoice in Sage 200. Part despatched orders wait until they are complete.
- Payment receipts from Shopify payouts. Shopify payout data is downloaded daily and a payment receipt is posted in Sage for each order, so the money in the bank matches Sage.
- Subscriptions. Repeat orders from the subscription app are handled according to what the customer is actually due that month, explained below.
Subscriptions: paying monthly is not the same as shipping monthly
The business used Seal Subscriptions on Shopify, which raises a new Shopify order every time a customer is charged. That works for simple monthly subscriptions, but this business had three kinds:
- Monthly products. Paid monthly, delivered monthly. Every order becomes a sales order in Sage, just like a normal order.
- Products delivered less often. Paid monthly, but delivered every two, three or six months. Shopify still creates an order every month. The integration works out which orders are deliveries, which go to Sage as sales orders, and which are payment only, which are recorded and marked fulfilled in Shopify but create nothing in Sage.
- Annual service plans. Paid monthly, with a service visit every twelfth month. None of the monthly orders goes to Sage as a sales order. When the eleventh payment comes in, the integration emails the team so the visit can be booked in time.
The key design decision was how to tell a delivery month from a payment month. Using dates fails the first time a customer delays or brings forward a delivery. Instead, the integration follows each subscription by its own reference and counts where the current order sits in that customer’s chain of payments. That count decides what happens, whatever the calendar says, and it also copes with customers holding more than one subscription at once.
What else takes the real work
Shopify fees. Shopify pays out the order value minus its fees, so a receipt for the order value never matches the bank. Each receipt is posted for the full order value, with Shopify’s fees recorded against it as a settlement discount. The result is a net figure that matches the payout, with fees visible in Sage rather than hidden. Refunds in the payout are handled the same way as negative amounts.
Duplicate customers. Matching by email stops the same customer being created again on every order. Matching ignores upper and lower case, and if Sage already holds two accounts with the same email, the newest one is used. New accounts get a default nominal code from rules the business supplies.
Never processing an order twice. As soon as an order is collected, it is tagged as processing in Shopify, and the Sage order number is stored once it exists. If something goes wrong, the team can resend an order simply by removing that tag in Shopify, without needing us.
Retries and alerts. Any step that fails is retried every 30 minutes, up to three times, then emailed to a named person with the reason.
What was deliberately left out
- Multiple currencies, VAT calculations and rounding differences
- Shipping charges, as this business does not charge for delivery
- A reconciliation report comparing Shopify payouts, fees and Sage receipts, scoped as an optional extra of about a day
What it typically costs
This project, covering customers, orders, subscriptions, invoices and payment receipts, was scoped at 12 days including testing, go-live and documentation. A comparable Shopify and Sage 200 integration is typically 10 to 14 days, roughly £11,000 to £16,000 + VAT. Without subscriptions, or without invoices and payout receipts, it is usually less.
That figure is our consultancy only. The BPA Platform licence is separate. The range is indicative: every project starts with scoping, and you get a day-by-day estimate before any build work begins.
Questions we get asked
Do we need a Shopify test store and a Sage 200 test company?
They make testing much safer, and we always ask for them. If either is not available, we plan carefully controlled tests on the live systems with your team instead.
We use a different subscription app. Can you still do this?
Very likely. What matters is how the app creates orders in Shopify and what it records on them, such as a subscription reference. We check that at scoping.
We use WooCommerce or Magento instead of Shopify.
See our WooCommerce and Sage 200 and Magento and Sage 200 integration guides.
Talk to us
If you sell on Shopify and run Sage 200, especially with subscriptions or a payout reconciliation that never quite adds up, get in touch and tell us how you sell today. Or get an indicative quote in a few minutes.