home

Browse documentation

ezyVet Knowledge Center

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

Configure payment receipts to show surcharge information

If your organization uses surcharges for PayJunction or Windcave payments, your receipts must show surcharge information. Surcharge information is mandatory for surcharge regulations.

Contact customer support for PayJunction or Windcave to activate surcharges.
To configure payment receipts, do this procedure.
  1. Select Admin.
    The Admin tab
  2. In the settings list, select Templates.
    The Templates setting in the settings list
  3. Select Financial Settings.
    The Financial Settings tab
  4. Double click the Payment Receipt box.
    The Payment Receipt box
    ezyVet shows the document template that ezyVet uses for payment receipts.
  5. Select Use New Templating Engine.
    The Use New Templating Engine setting
  6. Select Source.
    The Source button
  7. In the template content, put the cursor at the location that you want payment receipts to show surcharge information.
  8. Enter the necessary text.
    To configure the bottom of a receipt to only show surcharge information for clients that use credit cards, select the bottom of the text and enter this text:
    {% if payment.getSurchargeAmount > 0 %}
    <table style="width:700px">
      <tbody>
        <tr>
    	  <td><strong>Surcharge</strong></td>
    	  <td>{{ payment.getSurchargeAmount|moneyformat }}</td>
    	</tr>
    	<tr>
    	  <td><strong>Total Paid</strong></td>
    	  <td><strong>{{ (payment.getSurchargeAmount + payment.amount)|moneyformat }}</strong></td>
        </tr>
      </tbody>
    </table>
    
    <div>
      <p>A surcharge was applied to cover our costs of credit card acceptance.</p>
    </div>
    {% endif %}
    As a result, when a client makes payment with a payment card, the receipt shows:
    • The total value of the payment surcharge
    • The total value of the payment plus the the total value of the surcharge
    • A sentence about why your organization uses surcharges

    If a client does not use a credit card, the receipt does not show the surcharge information.

  9. Select Save.
    The Save button
    ezyVet shows a confirmation message:

The document template has surcharge information. When staff receive a client payment that has a surcharge, the payment receipt shows the surcharge information.