Member Rebill Emails
NATS3 allows you to customize the content seen by your members for each e-mail event in the Sites Admin. Along with the basic Smarty Template capabilities, you can also use certain variables to add transaction-specific data into the e-mail body. This article describes the special templates that you have access to in the mail_members_rebilled e-mail template.
Available Variables
The mail_members_credited mailing template supports an assortment of Smarty variables, which can be used to provide members information about their Rebill transaction. This includes information such as the member's program, biller information, and rebill amount. The full list of available Smarty variables is as follows:
- $campaign - Contains the campaign used by an affiliate to categorize the referral.
- $program - The program that the member was referred under.
- $reseller - The affiliate who referred that member.
- $payout - The payout the affiliate received for the member referral.
- $payout_dec - The payout the affiliate received, marked in decimal form.
- $cost - The biller fee charged for that transaction.
- $member_data - Contains all relevant member information for that transaction.
- $transid - The transaction ID number of the rebill
- $billername - The name of the biller used to process the transaction.
- $orderid - The order ID number of the rebill.
- $amount - The dollar amount paid by the member for the rebill.
- $sitename - The name of the site that the member received a rebill from.
Insert any of these variables into your mailing template to provide the member performing the rebill with information regarding that transaction. You can insert as many Smarty variables as you wish in your NATS e-mails, to include as much information as you wish.
Example
You can provide the member with the name of the site they performed a rebill on, what biller they used to process the transaction, the amount they paid for the rebill, and the member's transaction ID number using these variables:
Thank you for renewing your membership with $sitename! Your credit card has been charged for {$amount} by {$billername} for this transaction, and your transaction ID number is {$transid}