Current File : /home/inlingua/public_html/faridabad/icentex/inlingua_payment/pay_receipt.php
<?php
session_start();
include("header1.php");

?>
	
<?php
$txnResult = isset($_GET['ResResult']) ? $_GET['ResResult'] : '';
$txnTrackID= isset($_GET['ResTrackId']) ? $_GET['ResTrackId'] : '';
$txnPaymentID = isset($_GET['ResPaymentId']) ? $_GET['ResPaymentId'] : '';
$txnRef= isset($_GET['ResRef']) ? $_GET['ResRef'] : '';
$txnTranID = isset($_GET['ResTranId']) ? $_GET['ResTranId'] : '';
$txnAmount= isset($_GET['ResAmount']) ? $_GET['ResAmount'] : '';
$txnError = isset($_GET['ResError']) ? $_GET['ResError'] : '';
$date=date("Y-m-d H:i:s");

$query1="select * from ingl_payment_gateway  where recNo='".$conn->real_escape_string($txnTrackID)."'  ";

$result1=$conn->query($query1);
$num1=$result1->fetch_assoc();
$count1=$result1->num_rows;

?>

  <br/><br/> <br/><br/> 
<?php

if($count1>0)
{
?>
	<table border="0" align="center" width="70%">
	<tr>
		<th colspan="50" bgcolor="#9999FF"  align="center"><p style= "color:White">Payment Receipt
    </th>
	</tr>
		
	<tr>
		<td>
			<table align="center"  border="0" style="padding:10px;font-size:15px;" width="100%">
			<tr>
				<td colspan="35" width="50%" style="font-weight:bold">Transaction Status</td>				
				<td><?php echo $num1['payment_status'];?><td>				
			</tr>
			

			<tr>
				<td colspan="35"  style="font-weight:bold">Payment No:</td>				
				<td><?php echo $num1['recNo'];?></td>				
			</tr>
			<tr>
				<td colspan="35" style="font-weight:bold">Name</td>				
				<td> <?php echo $num1['Name'];?></td>				
			</tr>
						
			<tr>
				<td colspan="35" width="50%" style="font-weight:bold">Transaction Reference No</td>				
				<td> <?php echo $num1['payment_referance'];?></td>				
			</tr>
			
			<tr>
				<td colspan="35"  style="font-weight:bold">Transaction ID</td>				
				<td> <?php echo $num1['pay_transaction'];?></td>				
			</tr>
			<tr>
				<td colspan="35"  style="font-weight:bold">Transaction Amount</td>				
				<td>Rs. <?php echo $num1['pay_amount'];?></td>				
			</tr>
			
			
	
				
			</table>
		</td>
	</tr>
	</table>
<?php
}
else
{
?>
<table border="0" align="center" width="70%">
	<tr>
<td><center><FONT color="red"><b>Transaction Failed (<?php echo $num1['payment_status'];?>).Please try again.</FONT></center></td>
</tr></table>
<?php
}
?>
<br><br><br><br><br>
<table border="0" align="center"  width="100%" >
	<tr>
	<td align="Left" width="90%"><font  size = 5 color = darkblue face = verdana >&nbsp;</td>
	<td align="right"width="10%"><IMG SRC="images/fssnet.JPG" WIDTH="169" HEIGHT="37" BORDER="0" ALT=""></td>
	</tr>
	</table>
  <center><A href="index.php"><p style="color:blue"><b>Click here to enter another  transaction</b></p></A></center>
       
<?php
session_destroy();
include("footer.php");

?>

<!-- Disclaimer:- Important Note in Sample Pages
- This is a sample demonstration page only ment for demonstration, this page should not be used in production
- Transaction data should only be accepted once from a browser at the point of input, and then kept in a way that does not allow others to modify it (example server session, database  etc.)
- Any transaction information displayed to a customer, such as amount, should be passed only as display information and the actual transactional data should be retrieved from the secure source last thing at the point of processing the transaction.
- Any information passed through the customer's browser can potentially be modified/edited/changed/deleted by the customer, or even by third parties to fraudulently alter the transaction data/information. Therefore, all transaction information should not be passed through the browser to Payment Gateway in a way that could potentially be modified (example hidden form fields). 
 -->