--- title: "Transaction Email Receipts" slug: "email-receipts" updated: 2025-06-02T14:05:39Z published: 2025-06-02T14:05:39Z canonical: "docs.blackthorn.io/email-receipts" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.blackthorn.io/llms.txt > Use this file to discover all available pages before exploring further. # Transaction Email Receipts Blackthorn | Payments allows you to send receipts from Salesforce using the “Send Blackthorn | Payment Receipt” flow or from Stripe. If you choose to send from Salesforce, you will have full control over the Email Template (HTML or text) and who the email goes to (Email Alert). Emails from Stripe offer two options: successful payments and/or refunds. **NOTE:** Please do not send receipts from both Blackthorn | Payments and Stripe. Your customers do not want to receive two emails with the same information about a Transaction. ## Customize the Email Template The information below provides instructions on customizing the Email Template for the automated Transaction email receipt. The Email Template defines what message will be sent to your customer and whether it is formatted (HTML) or not (Text). For this example, we are working with the Receipt (HTML) template in the Classic Email Templates. 1. Go to Setup. 2. In the Quick Find box, enter “Email Templates.” 3. Select “Classic Email Templates.” 4. In the Folder drop-down, select “Blackthorn | Payments.” ![Customize Email Template - Select Blackthorn | Payments](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/Transaction%20Receipt%20Email_Template.png) 5. Click "Receipt (HTML)" to select the template. ![Customize Email Template - Click Receipt HTML](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/Transaction%20Receipt%20Email_Template2.png) 6. Click the **Edit HTML Version** button. ![Customize Email Template - Click Edit HTML version](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/Transaction%20Receipt%20Email_Template3.png) 7. Update the email message. *For the Email Template, merge fields can only come from the Transaction object. If you need to use merge fields from a related object, you must create formula fields on the Transaction object first. Review the section below for the steps to add custom fields.* ![Customize Email Template - Update email message](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/Transaction%20Receipt%20Email_Template4.png) 8. Click **Save**. ## Send from Blackthorn Payments The Transaction flow used to send the Payments Receipt Email is the “Send Blackthorn | Payment Receipt” flow. Users can launch the Transaction email receipt from the flow in the Payments package. The email receipt will be sent when the Transaction is completed/captured and will contain the Transaction’s **Description** in a merge field. To test the flow, complete the steps below. 1. Process a Transaction with the following values: - **Amount** - **Transaction Type** = “Normal” - **Transaction Status** = “Completed” - **Payment Status** = “Capture” - **Payment Method Billing Email** = the email address where you would like to receive the test 2. The email will be sent, and the email receipt will contain the Transaction's **Description**. Note: The previous Transaction workflow rules, “Send Blackthorn | Payment Receipt (HTML) and “Send Blackthorn | Payment Receipt (Text),” used to send the Transaction email receipt were deprecated. The new “Send Blackthorn | Payment Receipt” flow replaces both. ## Send from Stripe 1. Sign in to your Stripe account. 2. Go to Settings. 3. Select Emails. 4. Select "Successful Payments" and/or "Refunds." ![H_02_06_Stripes automated email](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/H_02_06_Stripes%20automated%20email.png) ## Add Custom Merge Fields to the Email Template To add custom merge fields from an Opportunity record to the Transaction's Email Template, you must create those fields in the Transaction object as formula-type fields and pull in the values from the related object before they can be added to the Email Template. For the use case below, we will create a custom field on the Transaction with a formula referencing the **Opportunity Name** field. ### Step One: Create a custom formula field on the Transaction object. 1. Go to Setup. 2. Click the Object Manager tab. 3. In the Quick Find box, enter and click “Transaction.” 4. Click the Fields & Relationships tab. 5. Click **New**. 6. Select "Formula." ![Add Merge Fields to Email Template - Select Formula](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/Transaction%20Receipt%20Email_Merge%20Fields.png) 7. Click **Next**. 8. Enter a **Field Label**. 9. Set the **Formula Return Type** to “Text.” ![Add Merge Fields to Email Template - Enter Field Label and set Formula Return Type to Text](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/Transaction%20Receipt%20Email_Merge%20Fields2.png) 10. Click **Next**. 11. Click the Advanced Formula tab. 12. Click the **Insert Field** button. ![Add Merge Fields to Email Template - click Advanced Formula tab and click Insert Field](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/Transaction%20Receipt%20Email_Merge%20Fields3.png) 13. The first column should be set to “Transaction >.” 14. In the second column, select “Opportunity >.” 15. In the third column, select “Opportunity Name.” 16. Click **Insert** in the fourth column. ![Add Merge Fields to Email Template - set third column to Opportunity Name and click Insert](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/Transaction%20Receipt%20Email_Merge%20Fields4.png) 17. Click **Next**. ![Add Merge Fields to Email Template - click Next](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/Transaction%20Receipt%20Email_Merge%20Fields5.png) 18. Confirm the field-level security. 19. Click **Next**. 20. Confirm which page layouts the field will be added to. 21. Click **Save**. ![H_02_06_use cases step 1](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/H_02_06_use%20cases%20step%201.png) **NOTE:** Some field types need special handling. You may need to wrap the field name in a Text(fieldnamehere) OR Value(fieldnamehere). Picklist fields need a value(fieldname), and number fields need a text(fieldname). ### Step Two: Update the Blackthorn | Payments Email Receipt Template [Embedded content](https://www.youtube.com/embed/jYoib_Nkfro) 1. Go to Setup 2. In the Quick Find box, enter “Email Templates.” 3. Select “Classic Email Templates.” 4. In the Folder drop-down, select “Blackthorn | Payments.” 5. Click "Receipt (HTML)" to select the template. 6. Click the **Edit HTML Version** button. 7. Complete the steps below to add the field created in Step One. 1. In the Select Field Type column, select “Transaction Fields.” 2. In the Select Field column, select the “name of new field.” 3. Copy the "Merge Field Value" from the third column and paste it into the message text (HTML Body). 8. Click **Save**. ![H_02_06_use cases step 2](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/H_02_06_use%20cases%20step%202.png) ## Manually Send an Email Receipt 1. Open a Transaction record. 2. Go to the Activity History Related List. 3. Click the Email tab. 4. To change formatting type, click **Switch to Text-Only** or **Switch to HTML**. 5. Click **Select Template** and select the "Transaction Receipt" (HTML or Text). 6. Update the fields. 7. Click **Send**. ![H_02_06_manually send email receipt](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/H_02_06_manually%20send%20email%20receipt.png) ## Troubleshooting If you have received an error regarding email receipts or have a question, please view our [Troubleshooting](https://docs.blackthorn.io/docs/payments-troubleshooting) or [FAQ](https://docs.blackthorn.io/docs/payments-faq) page. If you still have Default Payment Method questions, please contact [Blackthorn Support](https://community.blackthorn.io/s/support). We're happy to help!