File Manager Lite
Dir:
/home/u540325668/domains/mkjsindia.org/public_html/donation
Upload
[..]
Crypto.php (1.32 KB)
Edit
Rename
Del
ccavRequestHandler.php (1.06 KB)
Edit
Rename
Del
ccavResponseHandler.php (1.4 KB)
Edit
Rename
Del
donate.htm (5.03 KB)
Edit
Rename
Del
jquery-1.7.2.js (92.62 KB)
Edit
Rename
Del
Edit: ccavRequestHandler.php
<html> <head> <title> Iframe</title> </head> <body> <center> <?php include('Crypto.php')?> <?php error_reporting(0); $working_key='0A9FE59905ACCC06BCCCFE2DFB8F915F';//Shared by CCAVENUES $access_code='AVFX65DE29BD11XFDB';//Shared by CCAVENUES $merchant_data='98863'; foreach ($_POST as $key => $value){ $merchant_data.=$key.'='.$value.'&'; } $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="482" height="100%" frameborder="0" scrolling="No" ></iframe> <script type="text/javascript" src="https://mccsociety.org/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>
Simpan