Project

General

Profile

Files » mPay.jsp

Sample payment JSP - Soh Keong, 04/12/2013 02:28 PM

 
<%@ page language="java" pageEncoding="UTF-8"
contentType="text/html; charset=UTF-8"%>
<%@ include file="../menu.jsp"%>
<div align="center">
<h1>Test Page - MPAY TEST</h1>
<form id="mpay" name="mpay" action="../../getMPAYURL" method="post">
<table>
<tr>
<td>ordernum :</td>
<td><input id="aordernum" name="aordernum" type="text"
value="TEST001"></td>
</tr>
<tr>
<td>amt :</td>
<td><input id="aamt" name="aamt" type="text" value="12.00"></td>
</tr>
<tr>
<td>currencycode :</td>
<td><input id="acurrencycode" name="acurrencycode" type="text"
value="RMB"> (RMB only for testing)</td>
</tr>
<tr>
<td>remark :</td>
<td><input id="acustomizeddata" name="acustomizeddata"
type="text" value="test data"></td>
</tr>
<tr>
<td>TransactionType :</td>
<td><input id="aTransactionType" name="aTransactionType"
type="text" value="type"></td>
</tr>
<tr>
<td>ShopperRefID :</td>
<td><input id="aShopperRefID" name="aShopperRefID" type="text"
value="123"></td>
</tr>
<tr>
<td>datetime :</td>
<td><input id="adatetime" name="adatetime" type="text"
value="20130411170000">(Format: yyyyMMddHHmmss)</td>
</tr>
<tr>
<td>cardtype :</td>
<td><input id="acardtype" name="acardtype" type="text"
value="14"></td>
</tr>
<tr>
<td>returnurl :</td>
<td><input id="areturnurl" name="areturnurl" type="text"
value="http://192.168.2.68:8080/TestPage/response/mPayProcesses.jsp"></td>
</tr>
<tr>
<td>failurl :</td>
<td><input id="afailurl" name="afailurl" type="text"
value="http://192.168.2.68:8080/TestPage/response/mPayProcesses.jsp"></td>
</tr>
<tr>
<td>locale :</td>
<td><input id="alocale" name="alocale" type="text"
value="en_US"> support only (en_US,zh_TW,zh_CN)</td>
</tr>
<tr>
<td></td>
<td><input type="submit" value="PAY" /></td>
</tr>
</table>
</form>
</div>
(2-2/5)