home

Browse documentation

ezyVet Knowledge Center

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

Twig template variables: Remote payments

Note: Remote payments only operate with payment integrations. Thus, make sure that your ezyVet site has a configured integration for the applicable payment integration (for example, Windcave or PayJunction).
NameClassic template system equivalent?Function
{{invoice.RemotePaymentLink}}{InvoiceRemotePaymentLink}Shows a remote payment link that clients can select to make payment.
Note: You can only use this template variable for invoices.
{{invoice.HasBalanceOutstanding}}{InvoiceHasBalanceOutstanding}Use with {{invoice.RemotePaymentLink}} to show a remote payment link if the invoice has a value of more than zero.
Note: You can only use this template variable for invoices.
Note: The source code given as follows is an example of what to enter to:
  1. Add a remote payment link that shows Click here to make a payment
  2. Only show the link if the total price 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<!--}-->
{{statement.remotePaymentLink}}{StatementRemotePaymentLink}Shows a remote payment link that clients can select to make a payment.
Note: You can only use this template variable with a document template for client statements.
{{remotePaymentLink}}{RemotePaymentLink}Shows a remote payment link that clients can select to make a payment.
Note: You can only use this template variable with an email template.