I'm integrating PayPal Buy Now button in a website, currently in a Sandbox using this method. I have implemented official IPN processing mechanism from PayPal sample source on GitHub.
It is redirecting to my specified page but POST data is empty. I'm using file_get_contents("php://input") for it.
$raw_post_data = file_get_contents('php://input');
$raw_post_array = explode('&', $raw_post_data);
I changed it to $_POST
as well but both were empty.
How do I solve this?