|
<%@ page language="java" pageEncoding="UTF-8"
|
|
contentType="text/html; charset=UTF-8"
|
|
import="com.ecosway.testpage.conn.ConnUtil,
|
|
com.ecosway.mpay.model.ResponseMPay,
|
|
com.ecosway.mpay.service.MPayService,
|
|
com.ecosway.mpay.service.MPayServiceImpl"%>
|
|
<%!private static final String CURRENT_PAGE = "mPayProcesses.jsp";%>
|
|
<%
|
|
try {
|
|
MPayService service = new MPayServiceImpl();
|
|
ResponseMPay res = service.updateTransaction(
|
|
ConnUtil.getConn(), request);
|
|
%>
|
|
<%@ include file="../page/menu.jsp"%>
|
|
<div align="center">
|
|
<h1>MPAY Response</h1>
|
|
<table align="center" border="1">
|
|
<tr>
|
|
<td>ordernum :</td>
|
|
<td><%=res.getAordernum()%></td>
|
|
</tr>
|
|
<tr>
|
|
<td>amt :</td>
|
|
<td><%=res.getAamt()%></td>
|
|
</tr>
|
|
<tr>
|
|
<td>currencycode :</td>
|
|
<td><%=res.getAcurrencycode()%></td>
|
|
</tr>
|
|
<tr>
|
|
<td>customizeddata :</td>
|
|
<td><%=res.getAcustomizeddata()%></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Valid :</td>
|
|
<td><%=res.getAValid()%></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Settle Date :</td>
|
|
<td><%=res.getAsettledate()%></td>
|
|
</tr>
|
|
<tr>
|
|
<td>refnum :</td>
|
|
<td><%=res.getArefnum()%></td>
|
|
</tr>
|
|
<tr>
|
|
<td>settledate :</td>
|
|
<td><%=res.getAsettledate()%></td>
|
|
</tr>
|
|
<tr>
|
|
<td>rspcode :</td>
|
|
<td><%=res.getArspcode()%></td>
|
|
</tr>
|
|
<tr>
|
|
<td>authcode :</td>
|
|
<td><%=res.getAauthcode()%></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
<%
|
|
} catch (Exception e) {
|
|
System.out.println(CURRENT_PAGE + " - " + e.getMessage());
|
|
} finally {
|
|
ConnUtil.closeConnection();
|
|
}
|
|
%>
|