$av) { $remarks.="{$ak} => ".addslashes($av)." \n"; } if($status == 'success') { $update="update res_stud set FPAYMENTREMARKS='{$remarks}',FPAYMENTSTATUS='{$status}', FPAYMENTCONFIRM='{$status}', fackdate = current_date(), funivrecdate = current_date(), fackuser = '{$status}', FCHALLANNO = '123' where APPNO='{$productinfo}'"; $lobj_update = $aobj_context->mobj_db->Execute($update); } 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 "

Thank You. Your order status is ". $status .".

"; echo "

Your Transaction ID for this transaction is ".$txnid.".

"; echo "

We have received a payment of Rs. " . $amount ."

"; $html="
Click here to take a PrintOut
"; echo $html; } ?>