Gravity Forms is by far my favorite forms plugin for WordPress – with all the great extensions, like PayPal and Mailchimp, and the ease of use for clients.

So, if you’re using Gravity Forms (aff) in conjunction with the PayPal Addon to get donations or to sell individual products, you may need to send the PayPal Transaction ID to your customer or keep it for your own records.

Here’s how:

In your functions.php add the following:

In the Notifications (Under Form Settings > Notifications), use the merge tag {transaction_id}.transactionid

That’s it!