• info@icore.net.in
  • Call Us: 0422 - 4217205                                 + 91 9042020205

[insert_php]
$status=$_POST[“status”];
$firstname=$_POST[“firstname”];
$amount=$_POST[“amount”];
$txnid=$_POST[“txnid”];

$posted_hash=$_POST[“hash”];
$key=$_POST[“key”];
$productinfo=$_POST[“productinfo”];
$email=$_POST[“email”];
$salt=”yIEkykqEH3″;

If (isset($_POST[“additionalCharges”])) {
$additionalCharges=$_POST[“additionalCharges”];
$retHashSeq = $additionalCharges.’|’.$salt.’|’.$status.’|||||||||||’.$email.’|’.$firstname.’|’.$productinfo.’|’.$amount.’|’.$txnid.’|’.$key;

}
else {

$retHashSeq = $salt.’|’.$status.’|||||||||||’.$email.’|’.$firstname.’|’.$productinfo.’|’.$amount.’|’.$txnid.’|’.$key;

}
$hash = hash(“sha512”, $retHashSeq);

if ($hash != $posted_hash) {
echo “Invalid Transaction. Please try again”;
}
else {

echo ”

Your order status is “. $status .”.

“;
echo ”

Your transaction id for this transaction is “.$txnid.”. You may try making the payment by clicking the link below.

“;

}
[/insert_php]

Try Again