D:\host\scoreman.in\assisi2026\pay\req.php

<?php header('X-Frame-Options: ALLOWALL');


 ?>
<html>
<head>
<title>Payment</title>
</head>
<body>
<center>
<?php include('Crypto.php')?>
<?php 



	error_reporting(0);

	$working_key='6CBC74F643120DAD52528C1150F03D91';//Shared by CCAVENUES  //TNRSA CC AVENUE ACCOUNT
	$access_code='AVNA91JL36CH00ANHC';//Shared by CCAVENUES
	$merchant_data='';
	
	foreach ($_POST as $key => $value){
		$merchant_data.=$key.'='.$value.'&';
	}
//	echo $merchant_data;
	$encrypted_data=encrypt($merchant_data,$working_key); // Method for encrypting the data.

	$production_url='https://secure.ccavenue.com/transaction/transaction.do?command=initiateTransaction&encRequest='.$encrypted_data.'&access_code='.$access_code;
?>
<iframe src="<?php echo $production_url?>" id="paymentFrame" width="550px" height="1020px" frameborder="0" scrolling="No" ></iframe>

<script type="text/javascript" src="jquery-1.7.2.js"></script>
<script type="text/javascript">
    	$(document).ready(function(){
    		 window.addEventListener('message', function(e) {
		    	 $("#paymentFrame").css("height",e.data['newHeight']+'px'); 	 
		 	 }, false);
	 	 	
		});
</script>
</center>
</body>
</html>