MOON
Server: Apache
System: Linux nserver.cafsindia.com 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: cafsindia (1002)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: //home/cafsindia/allyindian_com/backend/customers/ccavResponseHandler.php
<?php 
//error_reporting(0);
require_once('./sbltt_lib/sblttObject.php');
include('Crypto.php');
$sbltt_session =  sblttObject::newObject('sbltt_session');
$is_customer  = false;
$sbltt_session->startSession();
$libObject   = $sbltt_session->is_session_exist();

if(!$libObject){
	header( "Location: ./login.php?mode=index");
	exit(0);
}

$is_customer = $libObject->is_customer();
if(!$is_customer){
	header( "Location: ./login.php?mode=index");
	exit(0);
}

$orderid = $sbltt_session->get_value('orderid');

$post_orderid = "";
if(isset($_POST['orderid'])){
	$post_orderid = $_POST['orderid'];
}
if(isset($_POST['merchant_id'])){
	$merchant_id = $_POST['merchant_id'];
}

if($merchant_id !== "2881856"){
	header( "Location: ./error.php?mode=Invalid access");
	exit(0);
}

$merchant_data='';
$working_key='464299DD583D697CA64477866E227053';//Shared by CCAVENUES
$access_code='AVWG10LH44AO09GWOA';//Shared by CCAVENUES	
foreach ($_POST as $key => $value){
	$merchant_data.=$key.'='.$value.'&';
}
$encrypted_data=encrypt($merchant_data,$working_key); // Method for encrypting the data.
?>
<!DOCTYPE html>
<html lang="en">	
	<head>
		<title>Bank Payment Page - Sri Bhagiyalakshmi Tours and Travels</title> 
		<meta name="Description" content="Sri Bhagiyalakshmi Tours and Travels Bank Payment Page"/>
		<link rel="stylesheet" href="./asset/fonts/font-awesome.min.css">
	</head>
	<body> 
		<div style='width: 750px; margin-left: auto; margin-right: auto;margin-top:9%; padding: 15px; background-color: #EEEEEE; border-radius: 3px; box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);'>
			<div style='text-align:center;'>
				<img src="asset/images/sbltt_batch.png" alt="sbltt_log">
			</div>
			<h1 style='text-align: center;color:#D8343F;'>Payment Processing...</h1>
			<p style='text-align:center;'>Please Wait while your transaction is being processing...</p>
			<div style='text-align:center;'>
				<i class="fa fa-spinner fa-spin " style="font-size:100px;color:#D8343F;"></i>
			</div>
		</div>
<body>
<center>
<form method="post" name="redirect" action="https://secure.ccavenue.com/transaction/transaction.do?command=initiateTransaction"> 
<?php
echo "<input type=hidden name=encRequest value=$encrypted_data>";
echo "<input type=hidden name=access_code value=$access_code>";
?>
</form>
</center>
<script language='javascript'>document.redirect.submit();</script>
</body>
</html>