I'm looking for details on the IPN response from PayPal: how can I access the data returned from PayPal, such as txn_id, to return in an email to the site owner?
Hi mobri2a,
If you are using the PayPal IPN action then the returned data is added to the CF form data and can be accessed and processed from there. Because the action is not visible in the browser, the easiest way to see the data you have to develop your code is to add an email after the action and send yourself the form data.
Bob
If you are using the PayPal IPN action then the returned data is added to the CF form data and can be accessed and processed from there. Because the action is not visible in the browser, the easiest way to see the data you have to develop your code is to add an email after the action and send yourself the form data.
Bob
Thanks, Bob. To access form data on submission I use {data:varname}. What array is the data stored in by the IPN processing? "data" doesn't work.
probably be under {var:paypalactionname} or something
Hi mobri2a,
I don't know off the top of my head - that's why I suggest sending yourself an email containing the data. I think it will work if you add it after the IPN action - or in the Success/Fail events if you prefer.
Bob
I don't know off the top of my head - that's why I suggest sending yourself an email containing the data. I think it will work if you add it after the IPN action - or in the Success/Fail events if you prefer.
Bob
This topic is locked and no more replies can be posted.