<?php $raw_json = file_get_contents('php://input'); echo $raw_json; //To Capture Signature $signature = $_SERVER['HTTP_X_RAZORPAY_SIGNATURE']; echo $signature; ?>