Using template variables for notifications
Sinchain avatar
Written by Sinchain
Updated over a week ago

You can use template variables in your email, whatsapp or sms notifications. Template variables allow the output of dynamic content depending on the attributes of a subscription. This guide lists the variables that can be implemented and how to use the variables in Notifications.

Template variables for notifications

The template variables must be used in the following example format: [support_email]

Hi [customer_name], Thank you for Shopping with [storefront_name], Your subscription order [order_no] for [order_total] is confirmed. Reach out to us on [support_email] in case of queries.

Variable

Description

storefront_name

Store name that is configured on the profile section of your Recurpay dashboard.

store_url

URL of the connected store on your Recurpay dashboard.

support_email

Support email that is configured on the profile section of your Recurpay dashboard.

customer_account

Account page URL that can be sent to the customer to manage their subscriptions.

customer_name

First name of the customer associated with the subscription.

shipping_address

Shipping address of the customer associated with the subscription.

order_no

A unique set of numbers that can be used to identify specific orders on the dashboard.

product_name

Name of the product associated with the subscription. If there are multiple products in the same subscription then it will give comma-separated product names.

Eg: Almond milkshake, Greek yogurt

product_image

Image URL of the product associated with the subscription. If there are multiple products in the same subscription then it will give comma-separated image URLs.

order_total

The total amount of the subscription order created.

plan_name

Name of the plan that the customer has subscribed to.

start_date

Start date of the subscription.

end_date

The upcoming renewal date of the subscription.

payment_link

In case the subscription was not renewed automatically. This link can be sent to the customer where they can manually pay and activate the subscription.

checkout_url

Abandon checkout URL that can be sent to recover the abandoned carts.

subscription_id

A unique set of numbers that can be used to identify a specific subscription on the dashboard.

Did this answer your question?