home

Browse documentation

ezyVet Knowledge Center

Get access to documentation, training, and other high-quality resources.

Twig template variables: Remote payments

NameClassic template system equivalent?Function
{{invoice.RemotePaymentLink}}{InvoiceRemotePaymentLink}Shows a remote payment link that clients can select to make a remote payment.
Note: Before you send a remote payment link, a practice manager must configure a hosted payment integration (for example, PayJunction or Windcave).
{{invoice.HasBalanceOutstanding}}{InvoiceHasBalanceOutstanding}Use with {{invoice.RemotePaymentLink}} to show a remote payment link if the invoice has a value of more than $0.
Note: Before you send a remote payment link, a practice manager must configure a hosted payment integration (for example, PayJunction or Windcave).
This gives the example source code that you must enter for an email to:
  • Show a hyperlink of a remote payment that says Click here to make a payment
  • Only show a hyperlink if the value of the invoice is more than zero
<!--IF({invoice.HasBalanceOutstanding}){-->Click&nbsp;<a href="https://{{invoice.RemotePaymentLink}}">here</a>&nbsp;to make a payment<!--}-->