After completion of payment process, not getting any data in OrderNotify.php .While checking the code found that issue $_SERVER['REQUEST_METHOD'] is GET but it shot be POST method.How to change it or why its get method coming suddenly?Pleaase help me to fix it.
After completion of payment process, not getting any data in OrderNotify.php .While checking the code found that issue $_SERVER['REQUEST_METHOD'] is GET but it shot be POST method.How to change it or why its get method coming suddenly?Pleaase help me to fix it.
if ($_SERVER['REQUEST_METHOD'] == 'POST') { $body = file_get_contents('php://input'); $data = trim($body);
}