Is there a way in PHP to capture all post and get variables that are sent to a page?
I am testing my PayPal Subscription website in the PayPal Sandbox but every transaction I do triggers the invalid transaction in my code.
So, I would like to capture everything that PayPal sends to my ipn page and see if I can make sense of what is going on. Is this possible?
Thanks!
For a PayPal IPN, you should be able to use
$postdata = file_get_contents('php://input');to fetch the raw post data needed for the validation callback.