In my PHP code for handling the IPN, everything works fine, except for one line:
$email = $_GET['ipn_email'];
This was in the example code they offer in order to get you started. I assumed it would retrieve the email address that was associated with the administrator of the Paypal account doing the billing.
However, it seems to never get set. If I use the code above, my IPN script fails. The only way my IPN script works is if I simply set $email
to some arbitrary email address of my choosing.
Is is okay for me to just set my own email address? Should I be getting an ipn_email
value from GET
data? What is the value of ipn_email
supposed to be?