Table of Contents

Description

This email template is sent on the 15th of each month to notify clients whose credit cards on file are set to expire that month. This can be used as a reminder for clients to update their card information.

Supported Tags

The tags described in Blesta are only a list of commonly-used tags, for brevity.

The tags below are all of those available for this email template. For other email and tag customizations, see Customizing Emails.

TagDescriptionNotes
{contact.first_name}The client's first name
{contact.last_name}The client's last name
{contact.email}The client's email address
{contact.id_code}The client's IDe.g. 1500
{card_type}The type of credit card on filee.g. Visa
{last_four}The last four digits of the credit card on filee.g. 1234
{client_url}The URI to Blesta's client interfacee.g. domain.com/billing/client/


Due to the nature of tag objects containing several fields, many of which are likely irrelevant for use in email templates, but may be useful to you in certain circumstances, an example dump of the tag objects are shown below.

stdClass Object
(
    [id] => 1
    [id_format] => {num}
    [id_value] => 1500
    [user_id] => 2
    [client_group_id] => 1
    [primary_account_id] => 
    [primary_account_type] => 
    [status] => active
    [id_code] => 1500
    [contact_id] => 1
    [first_name] => First
    [last_name] => Last
    [company] => Company Co.
    [email] => first.last@domain.com
    [address1] => 123 Main St.
    [address2] => 
    [city] => City
    [state] => CA
    [zip] => 90001
    [country] => US
    [group_name] => General
    [company_id] => 1
    [username] => first.last@domain.com
    [two_factor_mode] => none
    [two_factor_key] => 
    [two_factor_pin] => 
    [date_added] => 2014-06-25 18:05:34
)