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.

How to correctly retrieve payer email?

  1. When new member pays through gravity form, 'gform_paypal_post_ipn' hook fires.
    It get passed 4 params:
    $_POST, $entry, $config, $cancel
    I want to retrieve email that user specified on the form, and so far using this code:
    $email_field_id = $config['meta']['customer_fields']['email'];
    $email_address = $entry[$email_field_id];

    Is there more API-ish way to retrieve this info (vs. directly poking into assoc. array?

    Thanks!

    Gleb

    Posted 11 years ago on Thursday September 8, 2011 | Permalink
  2. Hi Gleb,

    Nope, that is the only way to retrieve the email address. :)

    Posted 11 years ago on Friday September 9, 2011 | Permalink

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