Setting up Sales Host to send an e-mail in the event that Sales Host encounters a problem when processing the sale
Sales Host can react to three different error situations:
1. Sale does not get saved/finalized and is not a credit card approval issue, but most likely a setup issue
2. Credit card approval error, and
3. Sale gets saved/finalized, but there was a problem generating Print At Home Tickets items.
If you resubmit the sale for processing and Sales Host encounters the problem again, Sales Host resends the error e-mail. If you resubmit the sale for processing and Sales Host successfully processes the sale, Sales Host sends out the second confirmation e-mail or the Print At Home Tickets e-mail upon completion of sale processing.
The following site config file settings are used to specify templates and subjects for each of these scenarios:
• Site Admin Panel > Guest Related Settings > ErrTemplate1 value= template/SaleErrorTemplate1.txt
• Site Admin Panel > Guest Related Settings > ErrTemplate2 value= template/SaleErrorTemplate2.txt
• Site Admin Panel > Guest Related Settings > ErrTemplate3 value= template/SaleErrorTemplate3.txt
• Site Admin Panel > Guest Related Settings > ErrEmailSubject1 value = ECommerce Sale error - General Setup
• Site Admin Panel > Guest Related Settings > ErrEmailSubject2 value = ECommerce Sale error - Credit Card
• Site Admin Panel > Guest Related Settings > ErrEmailSubject3 value = ECommerce Sale error - Tickets
The templates can be worded in the way you see fit for these error scenarios and they can use all the same variables as Print At Home Tickets e-mail, with the addition of {{err}}, which has the actual error message from the Sales Host. These variables include:
• {{first_name}} – the purchaser’s first name
• {{last_name}} – the purchaser’s last name
• {{sale_no}} – the wwsale_id for the sale