The service payment enabled variable

Learn more about the advanced communications service payment enabled variable.

Jubrine Fortuno avatar
Written by Jubrine Fortuno
Updated over a week ago

Overview

Variable name

How to type the variable

What the variable does

Service payment enabled

{{service_payment_enabled}}

Inputs the true or false depending on whether or not the service that has been booked has payment turned on.


What is the service payment enabled variable?

Appointedd integrates with three payment gateway providers: Stripe, Square and Braintree. You can learn more about taking payments through Appointedd here.

Once you have integrated your Appointedd account with a payment provider, you can turn on payment for your services. The service payment enabled variable can be useful if you offer some services that are free and others that are paid. This is because it gives you the ability to send different content to customers depending on whether or not they have booked a service which is paid or not.


How will this display within our communications?

Here is an example of an english email template set up with the service enabled variable. You can see that the content regarding paying the reminder of the price when they arrive will only be included in the email if the customer has booked a service that has payment enabled on the service:

or

<p>Hi {{customer_firstname}},</p>

<p>Thank you for booking:<br>
{{customer_booking_tier_name}} {{service_name}} for {{customer_booking_total_spaces}} people. The total price is {{customer_booking_total_price | currency}} and your booking is on {{booking_start_time | date: "DDD, t"}} {{booking_timezone_abbreviation}}.</p>

{% if service_payment_enabled %}
<p>Thank you for paying the deposit when you booked. We will ask for the remainder of the price to be paid when you come to the distillery.</p>
{% endif %}

<p>We look forward to welcoming you.</p>

<p>Have a nice day,<br>
Lothian Tours</p>

When a customer books a service that has payment enabled, they will then automatically receive a booking confirmation email which will be constructed using the template we have saved above. This will then display as so:

If a customer books a service that doesn't have payment enabled on it, the email will not include the payment content.


We would love to hear any feedback πŸ‘‚

Did this answer your question?