# Include PayPal transaction info in notification email

**URL:** https://community.gravityforms.com/t/include-paypal-transaction-info-in-notification-email/574
**Category:** Get Help
**Tags:** paypal, transaction\_id
**Created:** [December 11, 2018, 10:56pm UTC](https://community.gravityforms.com/t/include-paypal-transaction-info-in-notification-email/574 "2018-12-11T22:56:06Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![adamsts](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/adamsts/32/244_2.png) [@adamsts](https://community.gravityforms.com/u/adamsts)
#### Post date: [December 11, 2018, 10:56pm UTC](https://community.gravityforms.com/t/include-paypal-transaction-info-in-notification-email/574/1 "2018-12-11T22:56:06Z")

</div>

Hello all. I do work for a customer using GF to sell gift certificates using the Paypal standard add-on. At times it can be challenging for them to reconcile the payment especially if the purchaser is using a different email on the form than the one they use for Paypal. To make it easier for them I would like to include the Paypal transaction info (Transaction Id, Payment Amount, Payment Date, Payment Status) in the notification email that they receive. I don’t see a means to include this information, at least not on the standard notification edit screen. Is there a way to accomplish this?

---

<div class="post-metadata">

### Author: ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)
#### Post date: [December 11, 2018, 11:16pm UTC](https://community.gravityforms.com/t/include-paypal-transaction-info-in-notification-email/574/2 "2018-12-11T23:16:04Z")

</div>

Please see the documentation here to use merge tags in notifications that are tied to payment events (using the Payment Completed event usually)

> **[{payment\_action} Merge Tag](https://docs.gravityforms.com/payment_action-merge-tag/)**
>
> The {payment\_action} merge tag can be used in notifications assigned to events added by payment add-ons to output details of the event being processed.

---

<div class="post-metadata">

### Author: ![adamsts](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/adamsts/32/244_2.png) [@adamsts](https://community.gravityforms.com/u/adamsts)
#### Post date: [December 12, 2018, 12:41am UTC](https://community.gravityforms.com/t/include-paypal-transaction-info-in-notification-email/574/3 "2018-12-12T00:41:47Z")

</div>

Thanks for the info however when I add these tags to my notification email they don’t render any output. They just show the tag itself. I’ve read the documentation and search around to see if I am doing something wrong but I can’t seem to figure it out. I found a plugin that lists all the merge tags available (GravityWP - Merge Tags) which showed {payment\_amount}, {payment\_date}, {payment\_method}, {payment\_status}, {transaction\_id}, and {transaction\_type} as options. I tried those as well but again the email only shows the tag name itself, not the output.

---

<div class="post-metadata">

### Author: ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)
#### Post date: [December 12, 2018, 12:45am UTC](https://community.gravityforms.com/t/include-paypal-transaction-info-in-notification-email/574/4 "2018-12-12T00:45:35Z")

</div>

First, be sure your Gravity Forms version is 2.3.6.6 or greater.

Next, be sure that your notification is sent on the Payment Completed action.

Let us know.

---

<div class="post-metadata">

### Author: ![adamsts](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/adamsts/32/244_2.png) [@adamsts](https://community.gravityforms.com/u/adamsts)
#### Post date: [December 12, 2018, 12:51am UTC](https://community.gravityforms.com/t/include-paypal-transaction-info-in-notification-email/574/5 "2018-12-12T00:51:35Z")

</div>

The version is 2.4.2 and Event is Payment Completed. Does it matter that I am testing changes to the notification by resending from an existing entry (i.e. do I need to create a new entry to test this change)? Thanks.

---

<div class="post-metadata">

### Author: ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)
#### Post date: [December 12, 2018, 12:53am UTC](https://community.gravityforms.com/t/include-paypal-transaction-info-in-notification-email/574/6 "2018-12-12T00:53:45Z")

</div>

Yes, it will only fire that notification when the Payment is actually completed at PayPal. You’ll have to test a transaction to see if this works for you. Resent notifications won’t include that transaction information.

If you want to have this available in a resent notification, the data is available in the entry already, and you can use these merge tags:

> **[Merge Tags Archives](http://docs.gravityforms.com/category/user-guides/merge-tags-getting-started/)**
>
> In this documentation section, you will find articles explaining the different Merge Tags available such as {admin\_email} and {all\_fields}.

---

<div class="post-metadata">

### Author: ![adamsts](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/adamsts/32/244_2.png) [@adamsts](https://community.gravityforms.com/u/adamsts)
#### Post date: [December 12, 2018, 1:03am UTC](https://community.gravityforms.com/t/include-paypal-transaction-info-in-notification-email/574/7 "2018-12-12T01:03:50Z")

</div>

Perfect! That’s exactly what I needed. Thank you for your help.

---

<div class="post-metadata">

### Author: ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)
#### Post date: [December 12, 2018, 1:06am UTC](https://community.gravityforms.com/t/include-paypal-transaction-info-in-notification-email/574/8 "2018-12-12T01:06:10Z")

</div>

You’re welcome.

---

<div class="post-metadata">

### Author: ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)
#### Post date: [January 4, 2022, 5:41pm UTC](https://community.gravityforms.com/t/include-paypal-transaction-info-in-notification-email/574/9 "2022-01-04T17:41:39Z")

</div>


