Braintree can send email receipts to your customers for every successful sale transaction or refund. If enabled, these plain-text receipts are auto-generated by the Control Panel for all transactions that are submitted for settlement if the customer information contains an email address.
By default, PayPal also sends receipts to its customers for PayPal transactions. If you are using Braintree’s email receipts, PayPal customers will receive two receipts: one from Braintree and one from PayPal.
If you want to customize the delivery or content of your receipts, it’s best to create and send your own. Alternatively, the next section covers how to enable Braintree’s email receipts, which do not require changes to your integration.
Before you can enable this feature, you must:
- Configure your SPF records to give us permission to send receipts on your behalf
- Have the authorized signer on your Braintree account send an email to our Support team, requesting that this feature be activated
After you’ve received confirmation from our Support team, you must enable email receipts in the Control Panel:
- Log into the Control Panel
- Navigate to Settings > Processing > Email Receipts
- Click Options
- Check the box next to Enabled
- Configure settings
- Click Save
On the Edit Receipt Options page where you enabled this feature, you can also personalize the email receipts for your business:
- Send Receipt by Default?: With this box checked, receipts will be sent to customers for every successful transaction
- Sender Email Address: This is the address customers will see in the From: field on your outbound emails
- BCC: This allows you to send copies of all receipts to yourself (e.g. firstname.lastname@example.org); the address will not be shown to customers
- Email Text: The plain text that will appear at the top of every receipt, limited to a maximum of 1000 characters
All possible transaction fields are shown in the sample below. If you are not utilizing some of these fields (e.g. Order ID), they will not appear on your customers’ receipts. Custom fields will not appear on receipts, either.
Subject: Transaction receipt
Here’s where your custom text goes.
Merchant: Your Company Name
Amount: $150.00 USD
Transaction Date: Jul 18 2013, 10:37 AM CDT
Tax Amount: $1.00 USD
Tax Exempt: no
Purchase Order Number:12345678901234567
Order ID: 8675309
Authorization Code: PQH9HP
Payment Type: Visa
Cardholder Name: M.T. Schaunke
Credit Card Ends With:1111
Name: M.T. Schaunke
Billing Address: M.T. Schaunke
123 Main St
Chicago, Illinois 60654
United States of America
Shipping Address: M.T. Schaunke
456 1st St
Chicago, Illinois 60622
United States of America
You can email or print a receipt by clicking Receipt on the Transaction Detail page. If you collected the customer's email address during the transaction, the address will populate automatically.
In order to send your own custom email receipts, you’ll need to work with your developers to set up custom logic on your end. To generate a useful receipt, you’ll need to retrieve the transaction details from the result object via the API. For recurring billing transactions, you’ll need to search for the transaction details. Once you have this information, use your custom logic to generate and distribute the receipt.
If you create your own custom receipts, you should never display the following information on a customer receipt:
- Any more than the last 5 digits of the credit card number
- The card's expiration date
Still have questions?
If you can’t find an answer, contact our Support team.