PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Email notification with Paypal transaction ID

  1. Hi,
    I'm trying to add into the email notification sent by the confirmation of my form to include the Paypal Transaction ID as part of the text, so I can put together a link that includes the Paypal transaction ID.
    I've looked at the list of fields in the Message Inset form field and there's nothing related to the Paypal transaction.
    Is that possible?

    Or would the only way be to create a hook that triggers after the confirmation to send an email that I put together manually? If so, how would I be able to put {all_fields} and to make sure it fills up all the information so that I don't have to manually fetch all the information about the submission?

    I've configured Paypal configuration to "Send admin notification only when payment is received.".
    I'm running Wordpress with GravityForms and Paypal Addon.

    Thanks.

    Posted 7 years ago on Wednesday November 21, 2012 | Permalink
  2. Which PayPal add-on are you using: Standard (transaction is completed at the PayPal site) or Pro (transaction is completed on your site)? Thanks.

    Posted 7 years ago on Wednesday November 21, 2012 | Permalink
  3. I closed your other topic: http://www.gravityhelp.com/forums/topic/manual-php-email-with-all-fields as a duplicate of this one. It's not identical, but I believe both questions are trying to solve the same problem.

    Posted 7 years ago on Wednesday November 21, 2012 | Permalink
  4. Paypal standard.

    How do I fetch all the submission fields to put into an email?
    How do I fetch the transaction ID?
    How do I append the transaction ID to a normal confirmation email?

    Posted 7 years ago on Wednesday November 21, 2012 | Permalink
  5. I believe the only way to do it is to use the gform_paypal_post_ipn hook: http://www.gravityhelp.com/documentation/page/Gform_paypal_post_ipn

    That hook will have all the IPN variables available, including the transaction ID. It also has access to the $entry object, so you will be able to loop through all the submitted values.

    I don't know of a way to append the transaction ID to a normal confirmation email. It seems like that should be possible when holding the user and admin notification until after payment is received, but I was not successful in my attempts to add it.

    Posted 7 years ago on Wednesday November 28, 2012 | Permalink
  6. Any luck with this, I need to do this exact process.

    Is it possible if the Gforms admin cant get it working?

    Posted 7 years ago on Saturday February 9, 2013 | Permalink
  7. Please see this recent topic:
    http://www.gravityhelp.com/forums/topic/paypal-transaction-id-on-confirmation-page#post-138721

    Posted 7 years ago on Saturday February 9, 2013 | Permalink
  8. Chris, Thanks.

    Has anyone customized the user notification to look like an html order receipt?

    Not having much luck with the search here.

    Best,
    Tony

    Posted 7 years ago on Saturday February 9, 2013 | Permalink
  9. I'm not sure if anyone has done that specifically, but you have complete control over the format of the user notification and the editor supports HTML, so you can wrap your merge tags in whatever HTML you like in whatever format you want.

    Posted 7 years ago on Saturday February 9, 2013 | Permalink
  10. @etinteractive posted on the job board for this request:
    http://www.gravityhelp.com/forums/topic/paypal-ipn-user-notification-html-email

    Posted 7 years ago on Friday February 15, 2013 | Permalink

This topic has been resolved and has been closed to new replies.