[INVOICENUMBER] and [AMOUNTDUE] into your link at render time.
Prerequisites
- Active Benji Pays merchant account
- A Benji Pays shop with an issued custom payment link
- MSPortal user with the Manage Integrations permission
- At least one PSA integration (ConnectWise, Autotask, or Halo PSA) syncing invoices, otherwise there are no invoices to render Pay Now buttons on
Part 1: Get Your Payment Link from Benji Pays
The link MSPortal needs lives in your Benji Pays account. You’re looking for the Custom Payment Link format, the one with the[INVOICENUMBER] and [AMOUNTDUE] tokens embedded.
1
Open Benji Pays
Log into your Benji Pays account.
2
Open the Payment Links page
Navigate to the Payment Links page for your shop / integration.
3
Copy the Custom Payment Link
Scroll to the very bottom of the page. The Custom Payment Link will look like this:Copy the link exactly as Benji Pays displays it, including both
[INVOICENUMBER] and [AMOUNTDUE] placeholders. The placeholders are case-sensitive. Do not replace the placeholders, MSPortal needs them to substitute the live invoice values per row.Part 2: Configure Benji Pays in MSPortal
1
Open Integrations settings
In MSPortal, go to Settings > Integrations. Use the Payments filter or scroll to find BenjiPays.
2
Open the Benji Pays setup page
Click Connect on the BenjiPays row. The setup page opens.
3
Paste the payment link template
In the Payment link template field, paste the URL you copied from Benji Pays.![BenjiPays setup page with the Payment link template field and the required [INVOICENUMBER] and [AMOUNTDUE] tokens](https://mintcdn.com/msportal/wfdVhbFsPImL9KjX/images/product/benjipays-setup-controls.png?fit=max&auto=format&n=wfdVhbFsPImL9KjX&q=85&s=2bc33e8fd5ef9b150b7903868343a7dc)
MSPortal checks the URL validity and both placeholders inline as you type, and enforces the remaining rules when you save:
![BenjiPays setup page with the Payment link template field and the required [INVOICENUMBER] and [AMOUNTDUE] tokens](https://mintcdn.com/msportal/wfdVhbFsPImL9KjX/images/product/benjipays-setup-controls.png?fit=max&auto=format&n=wfdVhbFsPImL9KjX&q=85&s=2bc33e8fd5ef9b150b7903868343a7dc)
4
(Optional) Customize the button label
The Button label field controls the text on the button. The default is Pay Now. You can rename it to anything up to 40 characters, for example “Pay Online” or “Settle Invoice”.
5
Check the live preview
The Live preview panel renders the button with your current label, then shows the URL it would generate for a sample invoice (invoice
INV-1024, amount 499.00).Click the preview button to open the generated link in a new tab. This is the same URL your clients will hit, just with sample values. Use it to confirm Benji Pays accepts the link before going live.6
Save & enable
Click Save & enable at the bottom of the page. BenjiPays now shows as Connected in Settings > Integrations, and Pay Now buttons appear on the Invoices page immediately.
How Pay Now Buttons Render
Once enabled, every unpaid invoice on the Invoices page gets a Pay Now button in its row.- The button only appears when the invoice has a balance greater than zero. Voided, cancelled, or fully paid invoices don’t get a button. If your PSA reports no balance for an invoice, MSPortal uses the invoice total instead, unless the invoice is closed.
- Clicking the button opens your Benji Pays checkout in a new tab with the invoice number and balance pre-filled. The amount is sent as a plain number with two decimal places, such as
499.00. - Clicking the button does not mark the invoice paid in MSPortal. The paid status updates after your PSA’s next invoice sync.
- The button uses the label you configured, the same way for every client
Balance comes from your PSA’s invoice sync. If your PSA reports the wrong balance (for example because a payment hasn’t posted yet), the Pay Now button will use that stale figure. Refresh your PSA’s invoice sync if amounts look wrong.
Editing or Disconnecting
To change your template or label after enabling:- Go to Settings > Integrations
- Click Configure on the BenjiPays row
- Edit any field, then click Save changes
- Open the Benji Pays setup page
- Click Disconnect in the bottom-left corner
- Click Disconnect in the Disconnect BenjiPays? dialog, or click Keep BenjiPays to cancel
Troubleshooting
Permissions
Anyone who can view invoices can read the saved payment link, because the link renders as the Pay Now button on the Invoices page. Users without
manage_settings_integrations see the setup page as read-only.
Related Resources
- Invoices - Where the Pay Now buttons render
- Pay an Invoice - How clients use the Pay Now button
- ConnectWise Integration - Source of invoice data
- Autotask Integration - Source of invoice data
- Halo PSA Integration - Source of invoice data