Paying invoices using a direct link

Related videos

The communication creator enables you to dispatch direct payment links for invoices via email. These links allow recipients, whether logged in or not, to view pertinent invoice details and pay the full invoice balance on a secure page. When a payment is submitted by an unauthenticated user, it is associated with the Bill to contact. For authenticated users, payments are linked to the account of the logged-in user, whether they are paying their own invoices or on behalf of someone else.

Before you begin

Before allowing guest invoice payments, the following must be true:

  • You have at least one active public-facing website.
  • You have at least one Credit or PayPal Express payment method configured. ACH/Direct Debit payments are only available for authenticated users, not guests.
  • The Communication Template to use for Payment Confirmations (Settings > Commerce > General) is tailored for your organization. For more information, see Defining the default template used for payment confirmations.

  • The PayInvoice shortcut is configured to point to either the out-of-box Invoice Payment content, or a copy of this content tailored for your organization. For more information, see Customizing the website content for guest invoice payments.

Additionally, the following are important to note before sending the pay invoice link:

  • Only open invoices can be paid via the pay invoice link.
  • Invoices must be paid in full; partial payments are not supported through this link.
  • Logged-in users can pay invoices using the Credit, PayPal Express, or Direct Debit payment methods. Unauthenticated users are limited to Credit or PayPal Express.
  • The recipient query used in the communication template must include an InvoiceID column. This is necessary for the pay invoice link to function correctly, as it uses this ID to pull the correct invoice data.
  • Only one invoice is supported per link; if there are multiple invoices, multiple links must be generated. Each link must include a unique InvoiceID.

Sending the link to pay an invoice as a guest via the communication creator

To include a pay invoice hyperlink in your email, select the Pay Invoice Link from the Body tab of the communication. This link enables users to pay an invoice directly, without logging in to your site.

To add the pay invoice link in a communication, do the following:

  1. Go to Marketing > Communication templates.
  2. Create a new template (New > Communication) or open an existing template for edit.
  3. Tip! The sample Event Invoice, Event Invoice Report Writer, Invoice Notice, Invoice Notice Report Writer, Order Invoice, and Order Invoice Report Writer. templates include the pay invoice link out-of-the-box. If you choose one of these templates, ensure the link correctly points to your website.

  4. Click the Recipients tab. Ensure the recipient query contains display columns for the contact’s ID and the InvoiceID. If the InvoiceID column is missing, a warning message displays when previewing or sending a communication with the Pay Invoice Link.
  5. Click the Body tab.
  6. From the Insert link drop-down, select Pay Invoice Link:
    1. Enter the Link text.
    2. Define the Content or URL. By default, the ~/PayInvoice shortcut is selected. Choose a different page or shortcut if you do not want to direct users to the page defined at the ~/PayInvoice shortcut.
    3. (optional) Enter a CSS Class that will be applied to the link.
    4. Select a Default website.
    5. (optional) Enter Additional URL parameters to include in the link. To add multiple URL parameters, follow this format: param1=value1&param2=value2&param3=value3
    6. Click OK.
  7. Continue configuring the communication.
  8. Preview, then Send the communication.

When the recipient clicks on the link emailed to them, they are taken to the PayInvoice shortcut and can pay an invoice without logging in to your website. Recipients also have the option to forward the email. Anyone with the link can pay the invoice.

Generating the Pay Invoice Link without the communication creator

The Guest Invoice Payment content item is dynamically populated with an invoice based on the value of an InvoiceKey or InvoiceID parameter in a URL. The invoice key is used for all invoices except cash dues invoices, which use the invoice Id.

To manually generate a pay invoice link, include the following:

  • Link to a content record that contains the Guest Invoice Payment content item. Out-of-the-box, the PayInvoice shortcut uses this content item.
  • Add one of the following parameters to the URL:
    • For all invoices except cash dues, add an InvoiceKey URL parameter in this format: InvoiceKey=KEY.
    • For cash dues invoices, add an InvoiceID URL parameter in this format: InvoiceID=ID.

    Note: These values can be found using the CsInvoice or InvoiceSummary business objects.

For example: http://example.com/PayInvoice?InvoiceKey=fe76d266-be5f-416a-b5dc-8f5d65874365

Reviewing payer information for invoices paid via direct link

Although guest invoice payments are associated with the Bill to contact, you can use the following to determine whether payments were made by logged-in users or anonymously:

  • The payment details screen contains the Entered by property, which indicates who made the payment:
    • Anonymous - Payments made by unauthenticated users.
    • MANAGER - Payments facilitated by system processes like AutoPay.
    • User no longer exists - Payments made by users who have since been removed.
    • Full name – For payments entered by authenticated users, the logged-in user’s full name along with their ID appears as a clickable link.

  • The Payments created anonymously query (Finance > Pay central > Find payments) allows you to view details of all payments made anonymously, including details like the name on the credit card used, if provided during the transaction.
  • The TransactionDetail business object contains the CC_Name property, which is useful for reporting on the names associated with credit card payments.

Customizing the payment confirmation email

When a guest pays an invoice without logging in, a payment confirmation email is automatically sent to the Bill to contact associated with the invoice. The payment confirmation screen also provides the option to send the confirmation to additional email addresses. All payment confirmations are logged in the communication logs. The communication template used for payment confirmations can be customized to meet the needs of your organization.

Customizing the website content for guest invoice payments

Out-of-the-box, guest invoice payments use the following two content records (stored in the @/iCore/Finance folder):

  • Invoice Payment - When a guest clicks on the payment link sent via email, they are directed to the Invoice Payment page. This page displays the invoice's details and allows users to submit their payment.
  • Payment Confirmation - After completing a payment, guests are redirected to the Payment Confirmation page, which automatically sends a confirmation email to the Bill to contact and provides the option to send the confirmation to additional email addresses.

To customize these pages, copy and paste the out-of-the-box content records into a shared content folder, then update the relevant shortcuts to point to your customized copies:

  1. Go to RiSE > Page Builder > Manage content.
  2. From the @/iCore/Finance folder, copy the Invoice Payment and Payment Confirmation content records.
  3. Paste the content records into a Shared Content folder.
  4. Make any desired changes in your version of the content records. Do not remove the following content items from your custom copies:
    1. The Invoice Payment page must contain the Guest Invoice Payment content item.
    2. The Payment Confirmation page must include the Payment Confirmation content item.
  5. Save & Publish your changes.
  6. Go to RiSE > Site Builder > Manage shortcuts.
  7. Edit the following shortcuts to point to your modified content records:
    1. Update the PayInvoice shortcut to point to your modified Invoice Payment content record.
    2. Update the PaymentConfirmation shortcut to point to your modified Payment Confirmation content record.

For more details on each of the above steps, see Updating out-of-the-box content records.