Mailing the User a Receipt

When a purchase is made, the user can be mailed a receipt for their transaction. The e-mail contains a plaintext receipt, but you can also add an HTML or PDF attachment for users with HTML-enabled e-mail.

Enable the receipt using these fields in the purchase page:

<input type="hidden" name="Customer_Receipt" value="receipt.txt">
<input type="hidden" name="Customer_Attachment" value="receipt.html">
These files are normal text files, with the same variables used in any other Transact e-commerce page. There is a working example already in place, named thankyou.txt. You should modify this file to suit your needs.

Main Menu Next Page