Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.15.203.195
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<link rel="shortcut icon" type="image/jpg" href="img/favicon.jpg" />
<?php require_once("links/js_files.php");?>
<script src="js/candidate_list.js"></script>
<script type="text/javascript">
$(function(){
$('.index_label_div').corner("5px").css("border","1px solid #6F6868");
$('.messageboard-div').corner("5px").css("border","1px solid #6F6868");
$('.reg_no_div').corner("bl br").css("border","1px solid #6F6868");
$('#main_message_board').corner("bl br").css("border","1px solid #2596CE");
$('.submit_div_button').corner("5px");
$('.div_app_form_center_blue').corner("tl tr");
$('.div_app_form_center_black').corner("tl tr");
$('#print_app_form').corner("5px");
});
</script>
</head>
<body>
<div id='main_frame'>
<div class='header_main_div'>
<?php require_once("links/header.php");?>
<div id='main_page_div' style=' text-align: center;'>
<?php
require_once 'axis/AesForJava.php';
define('ENCRYPTION_KEY', 'z@jmI2MedA^7b2Rk');
//define('ENCRYPTION_KEY', 'axisbank12345678');
$aesJava = new AesForJava();
$_REQUEST['i'] = str_replace(' ', '+', $_REQUEST['i']);
$qStr = $aesJava->decrypt($_REQUEST['i'], ENCRYPTION_KEY, 128);
$response = explode("&", $qStr);
$ridresponse = explode("=", $response[6]);
$crnresponse = explode("=", $response[10]);
$cid = '4505';
$rid = $ridresponse[1];
$crn = $crnresponse[1];;
$ver = '1.0';
$typ = 'PRD';
// define('POST_URL', "https://uat-etendering.axisbank.co.in/easypay2.0/frontend/index.php/api/enquiry");
// define('CHECKSUM_KEY', 'axis');
// define('ENCRYPTION_KEY', 'axisbank12345678');
// var_dump("CID : ".$cid.'; RID : '.$rid."; CRN : ".$crn."; VER : ".$ver."; TYP : ".$typ);
define('POST_URL', "https://easypay.axisbank.co.in/index.php/api/enquiry");
define('CHECKSUM_KEY', 'bwYM');
define('ENCRYPTION_KEY', 'z@jmI2MedA^7b2Rk');
include_once 'axis/EasyPay.php';
$ep = new EasyPay(POST_URL,CHECKSUM_KEY,ENCRYPTION_KEY);
$result = $ep->callEasyPayEnquiry($cid, $rid, $crn, $ver, $typ);
//echo '<pre>';
print_r($result);
$response = explode("&", $result);
//var_dump($response);
$appresponse = explode("=", $response[4]);
$trnresponse = explode("=", $response[10]);
$stcresponse = explode("=", $response[8]);
$amtresponse = explode("=", $response[7]);
$productinfo = $appresponse[1];
$txnid = $trnresponse[1];
$stc = $stcresponse[1];
$amt = $amtresponse[1];
if($stc == '000')
{
$servername = "97.74.228.93";
$username = "logisys3_logu";
$password = "Logisys@2106";
$dbname = "logisys3_bcu";
$conn = new mysqli($servername, $username, $password, $dbname);
// $update="update collfundtransfer set fpaymentremarks = '{$result}',fpaymenttranid = '{$txnid}',
// fpaymenttype = 'axis',forderid = '{$txnid}',
// fpaymentstatus = 'success', fpaymentdate = now()
// where fid ='{$productinfo}'";
// // var_dump($update);
// $result=$conn->query($update);
echo "<h1 style='color:green;'>Thank You. Your order status is success</h1>";
echo "<h2>Your Transaction ID for this transaction is ".$txnid.".</h2>";
echo "<h3>We have received a payment of Rs. " .$amt."</h3>";
$html="
<div class='raval_submit' style='width:241px;float:none; margin: 0 auto;' >
<span onclick=\"PrintRevaluationApplicationForm('{$productinfo}');\" style='float:left;margin-left:8px;cursor: pointer; line-height: 19px;font-size:14px;font-weight:bold;'>Click here to take a PrintOut</span>
</div>";
echo $html;
$html = "";
$update="update res_stud set FPAYMENTREMARKS='{$txnid}',FPAYMENTSTATUS='success',
FPAYMENTCONFIRM='success', fackdate = current_date(), funivrecdate = current_date(),
fackuser = 'axis', FCHALLANNO = '{$stc}'
where APPNO='{$productinfo}'";
// $result=$conn->query($update);
}else
{
$html = "<p>Your payment failed</p>";
}
echo $html;
?>
</div>
</br>
</body>
</html>
|