Freeside:3:Documentation:Template:payment receipt email
From Freeside
Revision as of 08:09, 5 August 2014 by Jeremyd (talk | contribs) (Created page with "Category:Freeside:1.9:Documentation:Template This template is emailed to customers when a manual payment is applied. A customer or support rep can initiate this. This a...")
This template is emailed to customers when a manual payment is applied. A customer or support rep can initiate this. This applies to Process credit card and Process electronic check (ACH) payment links. If the value is set to NO, the template is ignored.
You may configure this template from Configuration, then Settings then payment_receipt_email. You can use ctrl-f
(or cmd-f
on macs) to search on the page.
First, apply a payment to the customer http://www.freeside.biz/~supaplex/screenshots/post-cash-payment.png , then they'll receive the payment email like http://www.freeside.biz/~supaplex/screenshots/received-payment_receipt_email.png
Defaults
On a new install, the checkbox is ticked (enabled).
Default template:
{ $date } Dear { $name }, This message is to inform you that your payment of ${ $paid } has been received. Payment ID: { $paynum } Date: { $date } Amount: { $paid } Type: { $payby } # { $payinfo } { if ( $balance > 0 ) { $OUT .= "Your current balance is now \$$balance.\n\n"; } elsif ( $balance < 0 ) { $OUT .= 'You have a credit balance of $'. sprintf("%.2f",0-$balance). ".\n". "Future charges will be deducted from this balance before billing ". "you again.\n\n"; } } Thank you for your business.
Variables
- $date
- The date
- $name
- Customer name
- $paynum
- Freeside payment number
- $paid
- Amount of payment
- $payby
- Payment type (Card, Check, Electronic check, etc.)
- $payinfo
- Masked credit card number or check number
- $balance
- New balance