Add a Pay online button to your Xero invoices

Markdown

View as Markdown

Put a Pay online button on the invoices you send from Xero. Your client clicks it, pays that invoice in OnboardMe by card or bank account, and the payment is recorded in Xero for you. They don't need to sign in.

Why it helps

  • Get paid faster. Clients can pay the moment they open your invoice, without hunting for your bank details.

  • No manual reconciling. OnboardMe records the payment against the invoice in Xero, so it shows as paid straight away.

  • Your branding, your rules. The payment page shows your logo and colours, and follows the payment methods, fees and discounts you've set in OnboardMe.

  • Set up once. One link covers every invoice. Xero fills in the invoice details for each one.

Note: This is available to Australian practices that take payments through Pinch. If you use a different payment provider, clients can still click the button, and we email them a link to their account where they can pay.

Before you start

You need:

  • Xero connected in OnboardMe (Settings → Integrations → Xero Ledger)

  • Payments set up with Pinch (Settings → Business → Payment Settings)

  • Admin access to your Xero organisation, to add a payment service

You can get your link in either of two places. It's the same link.

From Xero settings

  1. Go to Settings → Integrations.

  2. On the Xero Ledger tile, click Xero Settings.

  3. Open the Settings and Themes tab and scroll to Pay now button on Xero invoices.

  4. Click Show my link, then Copy.

The Pay now button on Xero invoices card in Xero settings

From your Payment Details link

  1. Go to Templates → External Links.

  2. Open your Payment Details link.

  3. Scroll to Pay now button on Xero invoices, click Show my link, then Copy.

The same card on the Payment Details external link

Important: Leave the parts in square brackets, [SHORTCODE] and [INVOICENUMBER], exactly as they are. Xero replaces them with your organisation code and each invoice's number.

  1. In Xero, go to Settings → Online Payments.

  2. Click Add a new service → add another online payment option.

  3. Choose to add a custom Payment URL.

  4. Fill in the form:

Field

What to enter

Account name

A name only you see, for example OnboardMe

Your custom URL

The link you copied from OnboardMe

Pay now button text

The button your clients see, for example Pay online (30 characters max)

  1. Click Save.

Step 3: Turn it on for your branding themes

Xero only shows the button on invoices whose branding theme has the payment service turned on.

  1. In Xero, go to Settings → Invoice settings.

  2. Open each branding theme you use for invoices.

  3. Under payment services, choose the OnboardMe service you just added.

  4. Save the theme.

Tip: Send yourself a test invoice and click the button to check it works.

What your clients see

When a client clicks the button, they see a page with your logo and colours, and the invoice number, due date and amount due.

The payment page a client sees

Situation

What the page shows

The invoice is unpaid

The amount due and a form to pay by card or bank account

They pay by card

A thank-you message, and the invoice is paid straight away

They pay by bank account

A message that the payment is on its way. Bank payments take a few days to clear

The invoice is already paid

A message that it's already paid

The invoice has been credited

A message that there's nothing to pay

We can't find the invoice

A message asking them to contact you

What a client sees when the invoice is already paid

The client can also click See all your bills. We email the billing contacts on that invoice a link to their account, where they can see and pay all their bills.

How payments work

  • The amount comes from Xero. The page shows what Xero says is still owing at that moment, so part-payments and credit notes are already taken off.

  • Your payment settings apply. The page only offers the payment methods you allow (card, bank account or both). Card and bank fees you pass on are shown before the client pays.

  • Your preferred payment method discount applies. If you offer a discount for paying a certain way, the client sees the discount and the lower amount when they choose that method. See the Preferred payment method discount article.

  • The payment is recorded in Xero. OnboardMe adds the payment to the invoice in Xero, the same as a payment made in your customer portal.

  • Card and bank details aren't saved. The details are used for this one payment only. They aren't stored against the client or used for automatic payments.

Keeping it safe

  • The page only shows the invoice number, due date and amount. It never shows the client's name, address, invoice lines or saved payment details.

  • To see their full account, the client needs the link we email to their billing contacts.

  • Payment attempts are limited and checked for bots, to stop people testing stolen cards.

Common questions

The button doesn't show on my invoices. Check the payment service is turned on for the branding theme the invoice uses (Step 3). Xero only shows it on themes where it's turned on.

The client sees "We can't find this invoice". This can happen when:

  • the invoice was created in Xero for a contact that isn't linked to a client in OnboardMe

  • the invoice is still a draft or awaiting approval in Xero

  • two invoices in Xero have the same number

Check the contact is linked to a client in OnboardMe and the invoice is approved, then ask the client to try again in a few minutes.

Show my link says "This isn't available for your region yet". The Pay online button is only available to Australian practices for now.

Do I need to reconcile these payments in Xero? No. OnboardMe records each payment against the invoice in Xero. Xero doesn't record custom URL payments on its own, which is why we do it for you.

Was this article helpful?

Still need help?

Contact us