How to let customers pay Sage 50 invoices online
Connect Sage 50 and your Stripe account to Portal. Customers pay open Sage 50 sales invoices, with the amount paid and the balance left by card or bank payment, and each payment is written back as a Sage 50 receipt applied to the paid invoices.
About Sage 50.
Sage 50 is desktop accounting software for small businesses, installed on a Windows computer or a server in the office. It covers customers, invoicing, receivables, payables, inventory items and the general ledger, and comes in Pro, Premium and Quantum editions.
Sage 50 is really two products. The US edition, formerly Peachtree, keeps each company in an Actian Zen database (formerly Pervasive) from version 2020 on. The Canadian edition, formerly Simply Accounting, keeps its data in MySQL behind the Sage 50 Connection Manager. Their data, screens and developer tools differ, so an integration built for one does not work on the other.
Price levels depend on the edition: the US data dictionary gives each item five price levels in Pro and up to ten in Premium and higher.
Portal by Webisoft is a B2B portal for Sage 50: customer self-service and team apps on live Sage 50 data.
Why connecting to Sage 50 is hard.
Customers paying online only clears their Sage 50 balance once a receipt is entered against the right invoices, which is usually a second job for whoever does the books.
Every application has to be allowed in
Third-party software writes to Sage 50 US through the Sage 50 .NET SDK. Each application needs an application ID from Sage, and the first time it asks for a company its request stays Pending until a Sage 50 user opens that company and allows it. The SDK also has to run as a 32-bit program on .NET Framework 4.8.
No security model and one company at a time
Sage says the SDK has no security model: an application with access to a company reaches every area of it. An application can only work with one company at a time, and a company must have been opened in Sage 50 at least once before the SDK can connect to it.
Two editions, two databases
Sage 50 US runs on Actian Zen, formerly Pervasive, while the Canadian edition uses MySQL and a Connection Manager that controls requests from Sage 50 and third-party software. Field names, tables and the write tools are different, so each edition needs its own mapping.
Pricing depends on the edition
Each Sage 50 US item carries its prices as price levels, at least five in Pro and up to ten in Premium and higher, and each customer is assigned one level. Customer-specific contract prices are not part of that model.
Your options.
| Option | Fits when | Watch out for |
|---|---|---|
| Native Sage 50 add-ons | You need one narrow function and an add-on covers it. | Each add-on is its own product to license, learn and upgrade. |
| Generic integration platform | You have someone in-house to build and maintain the flows. | You still build the screens, the AI layer and the Sage 50 write rules yourself. |
| Custom code | The need is unique and you have developers who know Sage 50. | Upgrades and staff changes put the integration at risk. |
| Portal by Webisoft | You want customers, your team and AI agents working on live Sage 50 data. | It works on top of Sage 50; it does not replace it. |
How Portal reaches Sage 50.
Portal connects to Sage 50 through the On-site connector, a Windows service on the computer that runs Sage 50. For the US edition it reads the company over the company's ODBC data source and writes through the Sage 50 SDK, which runs in a small 32-bit helper installed with the agent. The service runs as the Windows user who allows the application in Sage 50, because Sage grants access per Windows user and per program.
Before writing, the agent checks that the customer is active and not a prospect, that it is not on credit hold (credit status Hold, or Hold Over Limit with the balance over the limit) and that every item is active. Each document starts its note with a portal reference that the agent searches for before writing, on top of its own journal, so a retry never enters it twice. A Sage 50 Canada company is read only for now: customers, bill-to addresses and items.
What you need.
- A Windows computer with Sage 50 US installed, .NET Framework 4.8 and access to the company data
- A Sage 50 user who can open the company and allow a third-party application
- A Stripe account to receive payments
Step by step.
Your Portal team sets up the Sage 50 connection with you during onboarding, so the first step is done together. The rest is yours to change any time.
Install the agent next to Sage 50 and allow it in
Under ERP, On-site connector in Portal, an admin chooses Generate pairing code. On the Windows computer that runs Sage 50, install the agent, run portal-on-site pair with the code, then portal-on-site configure sage50: choose the us edition, enter the ODBC connection string of the company's data source, the company name as Sage 50 lists it, the folder of the Sage 50 SDK and the SDK application key. Set the service to run as the Windows user who will approve it, run portal-on-site test, and allow the application in Sage 50 when the company asks.
Connect Stripe and choose methods
In Integrations, Payments, choose Connect Stripe, then pick cards, ACH for USD invoices and PAD for CAD invoices, and any card surcharge up to 3 percent.
Customers pay their invoices
Customer admins and accounts payable users see their open Sage 50 sales invoices, with the amount paid and the balance left and choose Pay selected, or Pay this invoice, and can pay part of an invoice.
The payment posts to Sage 50
Each successful payment is queued as a Sage 50 receipt applied to the paid invoices. The payment shows Posted in the ERP with the Sage 50 reference; if posting needs a person, an approval appears instead.
What syncs with Sage 50.
| Record | Read | Write back | Note |
|---|---|---|---|
| Customers and contacts | Yes | No | Prospects skipped; credit hold from the credit status. Canada: customers only |
| Bill-to and ship-to addresses | Yes | No | Canada: bill-to only |
| Inventory items | Yes | No | |
| Price levels | Yes | No | US only; no quantity breaks |
| Quotes | Yes | Yes | US only; a new sales order is created on acceptance |
| Sales orders | Yes | Yes | US only, through the Sage 50 SDK |
| Sales invoices | Yes | No | US only; balance and paid status |
| Receipts (payments) | Yes | Yes | US only; applied to the paid invoices |
| Purchase orders | Yes | Yes | US only; update dates and quantities and cancel lines |
| Stock, shipments and returns | No | No | Not synced from Sage 50 yet |
Limits today: Today the connection covers Sage 50 US. Sage 50 Canada is read-only for now.
What you can do next.
- A customer pays three open Sage 50 invoices in one card payment; each invoice gets its share in Sage 50.
- An AP clerk pays half of an invoice by ACH; the open balance in Sage 50 drops by that amount once the payment posts.
Sage 50 questions, answered.
Is the payment recorded in Sage 50 automatically?
Yes, as a Sage 50 receipt applied to the paid invoices. If it cannot be posted, an approval asks your team to record it.
Is a card surcharge posted too?
Payments are applied to the invoices; a surcharge is not applied to an invoice.
What about refunds and disputes?
Portal opens an approval to reverse the payment in Sage 50, so your books follow what happened in Stripe.
Keep going.
- Take invoice payments online: overview
- B2B portal for Sage 50
- Connect an AI agent to your ERP, Sage 50
- Automate order entry from email, Sage 50
- Give customers order status, Sage 50
- Build a B2B ordering portal, Sage 50
- Quotes customers accept online, Sage 50
- Triage a shared inbox, Sage 50
- Add approval workflows, Sage 50
- One REST API for your ERP, Sage 50
- Connect an on-prem ERP safely, Sage 50
- Take invoice payments online, Sage 300
- Take invoice payments online, Sage 500
- Take invoice payments online, Sage Accounting
- Take invoice payments online, Sage Intacct
- Take invoice payments online, Sage X3
Sources
- Sage 50 US .NET API quick start guide: application ID, RequestAccess, 32-bit
- Sage 50 US .NET API quick start guide: SDK limitations
- Sage 50 US: Actian Zen v13, formerly Pervasive
- Sage 50 Canada: the Connection Manager manages access to the MySQL database
- Sage 50 Canada: MySQL client/server database since Simply Accounting 2008
- Sage 50 US data dictionary: item price levels per edition