response

[insert_php] $url = ‘https://www.payumoney.com/payment/payment/chkMerchantTxnStatus?’;
$data =array(‘merchantKey’=>’1gSdFs7Y’,’merchantTransactionIds’=>’2344_16082057′);
$options = array(
‘http’ => array(
‘header’ => “Authorization: f7ITs7ZeL1iu9WaTjJyQr1+Cd2VwuB2mXvSBMV8qZ7I=”,
‘method’ => ‘POST’,
‘Authorization’=> ‘f7ITs7ZeL1iu9WaTjJyQr1+Cd2VwuB2mXvSBMV8qZ7I=’,
‘content’ => http_build_query($data)
),
);
$context = stream_context_create($options);
$result = file_get_contents($url, false, $context);
if ($result === FALSE)
{
/* Handle error */
}
var_dump($result);
[/insert_php]