<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="tranTest.aspx.cs" Inherits="WebApplication1.tranTest" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form action="sign.aspx" method="post" target="_blank">
    <table width="100%">
        <tr>
            <td width="40%" align="right">
                版本号(version):
            </td>
            <td align="center">
                <input type="text" id="version" name="version" value="2.1" size="50" readonly="readonly" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                字符集(charset):
            </td>
            <td align="center">
                <input type="text" id="charset" name="charset" value="1" size="50" />
                <br />
                1:GBK,2:UTF-8 (默认为1)
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                语言种类(language)：
            </td>
            <td align="center">
                <input type="text" id="language" name="language" value="1" size="50" />
                <br />
                1:ZH,2:EN(默认为1)
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                加密方式(signType)：
            </td>
            <td align="center">
                <input type="text" id="signType" name="signType" value="1" size="50" />
                <br />
                1:MD5,2:SHA(默认为1)
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                交易代码(tranCode):
            </td>
            <td align="center">
                <input type="text" id="tranCode" name="tranCode" value="8888" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                商户代码(merchantID):
            </td>
            <td align="center">
                <input type="text" id="merchantID" name="merchantID" value="0000003358" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
            </td>
            <td align="center">
		↖(0000003358为测试商户代码，上生产请更换成正式的商户代码!)
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                订单号(merOrderNum):
            </td>
            <td align="center">
                <input type="text" id="merOrderNum" name="merOrderNum" value="jrjrktyk001" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
            </td>
            <td align="center">
                ↖(运行实例请更换订单号!)
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                交易金额(tranAmt):
            </td>
            <td align="center">
                <input type="text" id="tranAmt" name="tranAmt" value="5" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                商户提取佣金金额(feeAmt):
            </td>
            <td align="center">
                <input type="text" id="feeAmt" name="feeAmt" value="0" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
            </td>
            <td align="center">
                ↖(本域值为提留手续费金额，且不能超过交易金额域tranAmt，如果没有写0或者不填)
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                币种(currencyType):
            </td>
            <td align="center">
                <input type="text" id="currencyType" name="currencyType" value="156" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                商户返回页面地址 (frontMerUrl):
            </td>
            <td align="center">
                <input type="text" id="frontMerUrl" name="frontMerUrl" value="http://mertest.gopay.com.cn/WebTest/WebClientResultPro.do"
                    size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                商户后台通知地址(backgroundMerUrl):
            </td>
            <td align="center">
                <input type="text" id="backgroundMerUrl" name="backgroundMerUrl" value="http://mertest.gopay.com.cn/WebTest/servlet/BackgroundMer"
                    size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                交易时间(tranDateTime):
            </td>
            <td align="center">
                <input type="text" id="tranDateTime" name="tranDateTime" value="20111109102356" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
            </td>
            <td align="center">
                ↖(运行实例请更换成当前日期!)
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                国付宝收款账户（virCardNoIn）:
            </td>
            <td align="center">
                <input type="text" id="virCardNoIn" name="virCardNoIn" value="0000000001000000584"
                    size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
            </td>
            <td align="center">
                ↖(0000000001000000584为测试国付宝收款账户，上生产请更换成正式的国付宝收款账户!)
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                用户浏览器IP（tranIP）:
            </td>
            <td align="center">
                <input type="text" id="tranIP" name="tranIP" value="127.0.0.1" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                订单是否允许重复提交（isRepeatSubmit）:
            </td>
            <td align="center">
                <input type="text" id="isRepeatSubmit" name="isRepeatSubmit" value="1" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                商品名称:（goodsName）:
            </td>
            <td align="center">
                <input type="text" id="goodsName" name="goodsName" value="" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                商品详情:（goodsDetail）:
            </td>
            <td align="center">
                <input type="text" id="goodsDetail" name="goodsDetail" value="" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                买方姓名:（buyerName）:
            </td>
            <td align="center">
                <input type="text" id="buyerName" name="buyerName" value="" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                买方联系方式（buyerContact）:
            </td>
            <td align="center">
                <input type="text" id="buyerContact" name="buyerContact" value="" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                商户备用信息字段1（merRemark1）:
            </td>
            <td align="center">
                <input type="text" id="merRemark1" name="merRemark1" value="" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                商户备用信息字段2（merRemark2）:
            </td>
            <td align="center">
                <input type="text" id="merRemark2" name="merRemark2" value="" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                银行代码（bankCode）:
            </td>
            <td align="center">
                <input type="text" id="bankCode" name="bankCode" value="CCB" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
            </td>
            <td align="center">
                ↖(直连银行模式必填参数)
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                用户类型（userType）:
            </td>
            <td align="center">
                <input type="text" id="userType" name="userType" value="1" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
            </td>
            <td align="center">
                ↖(直连银行模式必填参数)
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                商户识别码(VerficationCode):
            </td>
            <td align="center">
                <input type="text" id="VerficationCode" name="VerficationCode" value="12345678" size="50"
                    readonly="readonly" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
            </td>
            <td align="center">
                ↖(12345678为测试商户识别码，上生产请更换成正式的商户识别码!)
            </td>
        </tr>
        <tr>
            <td colspan="2">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td colspan="2" width="100%">
                <center>
                    <input type="submit" name="submit" id="submit" value="测试加密" /></center>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
