Skip to main content
The Benji Pays integration can give your clients two things on the Invoices page. Set up either one, or both: When you connect, you choose what clients get: Pay Now button and billing portal sign-in, Pay Now button only, or Billing portal sign-in only. You can turn either feature on or off later.
Which link do I copy? For the Pay Now button, copy one Default link from the PSA/ERP and other 3rd Party Payment Links section, then swap in MSPortal’s two placeholders (Part 1). For billing portal sign-on, you don’t copy any link from the payment links page. Those values come from SSO Configuration in Benji Pays (Part 2).

Prerequisites

  • An active Benji Pays merchant account
  • An MSPortal user with the Manage Integrations permission
  • For the Pay Now button: at least one PSA integration (ConnectWise, Autotask, or Halo PSA) syncing invoices. Without invoices there is nowhere to show Pay Now buttons.
  • For billing portal sign-on: each client’s MSPortal email must belong to their Benji Pays billing account, because Benji Pays matches clients by email.
Do Part 1, Part 2, or both in Benji Pays, then connect in MSPortal (Part 3). Skip this part if clients will get billing portal sign-on only. Benji Pays doesn’t show a link made for MSPortal. You copy a link made for a PSA and replace its two placeholders with MSPortal’s.
1

Open the payment links page in Benji Pays

Sign in to Benji Pays and open the custom payment links page from Settings. Depending on your account it may be titled QuickBooks Custom Payment Links. Benji Pays’ own guide is Custom Payment Links for any PSA or ERP/CRM.
2

Skip the QuickBooks and Gateway Specific sections

The page opens with QuickBooks Online Payment Link Templates and Gateway Specific Links. Those links are for QuickBooks invoice emails. Don’t use them for MSPortal.
3

Copy a Default link

Scroll to PSA/ERP and other 3rd Party Payment Links. Each PSA (HaloPSA, ConnectWise, Autotask, Syncro and others) has a row labelled Default. Click Copy on the Default row of any PSA. They all open the same checkout; only the placeholder names differ.The other rows, such as Benji Payments (Bank) or Benji Payments (CC) (Surcharging Enabled), send clients to one payment method only. Use one of those instead of Default only if you want to limit how clients can pay.
4

Replace the two placeholders

Paste the link into a text editor. Every Benji Pays link has an invoiceNumber= value and a transactionAmount= value. Replace each value with MSPortal’s placeholder, exactly as written, square brackets included:For example, the ConnectWise Default link
becomes
Keep everything else as Benji Pays shows it, including the address at the start. It may be your yourshop.benjipays.com address or your own billing domain, such as billing.yourmsp.com. Both work.
The placeholders are case-sensitive. [invoicenumber], {invoice} or [INVOICE_NUMBER] won’t work, and MSPortal won’t save the link until both [INVOICENUMBER] and [AMOUNTDUE] are present.

Part 2 (Billing portal sign-on): Create an SSO configuration

Skip this part if clients will get the Pay Now button only. Billing portal sign-on adds an Open billing portal button to Invoices for your clients. It signs them in to your Benji Pays customer portal as themselves, using their MSPortal login, so they don’t need a Benji Pays password. This part doesn’t use any link from the payment links page.
1

Create a JWT SSO configuration in Benji Pays

In Benji Pays, go to Settings > Customer Portal Settings > SSO Configuration, click Add Configuration, and choose JWT. Fill in:
  • Description: a name you’ll recognize, for example MSPortal.
  • Remote Login URL: your MSPortal client portal address followed by /invoices, for example https://portal.yourmsp.com/invoices. Benji Pays sends clients here to sign in, and back here with a message if sign-in fails.
  • ISS: an issuer name, for example msportal.
  • Login Button Text: the text Benji Pays shows on its own login page.
Save the configuration. Benji Pays then shows AUDIENCE, ISSUER (ISS), CLIENTID, CLIENTSECRET, and a Login Redirect URL ending in /callbackjwt. Keep this page open. Benji Pays’ own walkthrough is Customer Portal SSO via JWT.

Part 3: Connect BenjiPays in MSPortal

1

Open the BenjiPays setup

In MSPortal, go to Settings > Integrations. Use the Payments filter or scroll to find BenjiPays, then click Connect.
2

Choose what clients get

Under What should clients get?, choose one:The fields below follow your choice.The What should clients get? menu on the BenjiPays Connect form, with Pay Now button and billing portal sign-in, Pay Now button only, and Billing portal sign-in only
3

Paste the payment link (Pay Now)

Paste the link you built in Part 1 into Payment link template. MSPortal checks the link as you type and again when you save:
4

Enter the sign-on values (billing portal sign-on)

Copy these from the Benji Pays SSO configuration you saved in Part 2:Copy Callback URL exactly as Benji Pays shows it. It must start with https:// and end in /callbackjwt, with nothing after it.The client secret must be at least 16 characters. MSPortal stores it encrypted and never shows it again. When you edit these settings later, leave Client secret as it is to keep the saved secret.
5

Save and continue

Click Save and continue. BenjiPays shows as Connected in Settings > Integrations, and what you chose appears on the Invoices page straight away. Saving with sign-on chosen turns sign-on on. MSPortal then opens Configure BenjiPays.

Part 4: Finish in Configure BenjiPays

Configure BenjiPays has one switch for each feature, with that feature’s fields beside and below it. Use the one for each feature you chose. To read what a switch or field is for, hover over or tap the (i) beside its name.
1

(Pay Now) Rename the button and check the preview

Beside Payment link template, Button label sets the text on the button. The default is Pay Now. You can use up to 40 characters, for example “Pay Online”. Click Save Pay Now settings.Live preview shows the button and the link it would open for a sample invoice (invoice INV-1024, amount 499.00). Click it to check Benji Pays opens the checkout.
Configure BenjiPays with the Show the Pay Now button on unpaid invoices switch, Payment link template and Button label side by side, Live preview and Save Pay Now settings

Branch preview: MSP staff in the Demo tenant.

The preview opens your real Benji Pays checkout, not a sandbox. Check the page loads, but don’t submit a payment.
2

(Billing portal sign-on) Check it as a client

Sign in as a client whose email is on a Benji Pays billing account, open Invoices, and click Open billing portal. The client lands in their Benji Pays portal without entering a Benji Pays password.The sign-on settings sit below the Enable billing portal sign-in switch, with Save portal settings, which saves only the portal settings.
The Enable billing portal sign-in switch with View BenjiPays setup instructions, then Callback URL and Client secret in one row and Issuer, Audience and Client ID in the next, and the Save portal settings button

Branch preview: MSP staff in the Demo tenant.

Only clients see Open billing portal; MSP staff don’t. To test it, impersonate a client: the button signs you in to Benji Pays as that client. Clients whose MSPortal email isn’t confirmed yet are asked by Benji Pays to verify it the first time.

Turning features on or off

Go to Settings > Integrations, open BenjiPays, and in the Setup guide choose Configure BenjiPays.
  • Pay Now button: use Show the Pay Now button on unpaid invoices, then click Save Pay Now settings. Turning it off removes the payment link and button label; billing portal sign-on keeps working.
  • Billing portal sign-on: use Enable billing portal sign-in, then click Save portal settings. Turning it off removes Open billing portal from Invoices straight away, and MSPortal refuses portal sign-in until you turn it back on. MSPortal keeps the saved values and client secret, so turning it back on doesn’t need them again. Pay Now buttons aren’t affected.
To switch between both features, Pay Now only and sign-on only in one step, change What should clients get? in Connect and click Save changes. If both features are off, Configure BenjiPays shows Clients see nothing from BenjiPays. Turn one back on, or click Disconnect BenjiPays if you no longer use it.

How Pay Now buttons work

  • The button appears only when the invoice has a balance above zero. Voided, cancelled and fully paid invoices don’t get one. If your PSA reports no balance, MSPortal uses the invoice total instead, unless the invoice is closed.
  • Clicking it opens your Benji Pays checkout in a new tab with the invoice number and balance filled in. The amount is a plain number with two decimals, such as 499.00.
  • Clicking it doesn’t mark the invoice paid in MSPortal. The status updates after your PSA’s next invoice sync.
  • Every client sees the same button label.
The balance comes from your PSA’s invoice sync. If a payment hasn’t posted in your PSA yet, the button uses the older balance. Run your PSA’s invoice sync if amounts look wrong.

Disconnecting

  1. Go to Settings > Integrations and open BenjiPays.
  2. Open More actions in the connection header and choose Disconnect….
  3. Click Disconnect in the Disconnect BenjiPays? dialog, or Cancel to keep it.
Disconnecting removes the Pay Now buttons and the Open billing portal button straight away, and deletes the saved client secret. Your Benji Pays account isn’t touched. To reconnect, choose what clients get again and re-enter the payment link or sign-on values.

Troubleshooting

Permissions

Anyone who can view invoices can see the saved payment link, because it’s the link behind the Pay Now button. Users without manage_settings_integrations see the setup as read-only.