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

<!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" runat="server">
<head>
    <title></title>
</head>
<body>
    <form id="form1" action="https://gateway.gopay.com.cn/Trans/WebClientAction.do" method="post">
    <table width="100%">
	  <tr>
            <td align="left" colspan="2">
                https://gatewaymer.gopay.com.cn/Trans/WebClientAction.do 为测试环境提交地址，请传测试数据(如测试商户代码、商户识别码、国付宝收款账户)
		        https://gateway.gopay.com.cn/Trans/WebClientAction.do为生产环境提交地址，请传生产数据(如生产商户代码、生产商户识别码、生产国付宝收款账户)
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                版本号(version):
            </td>
            <td align="center">
                <input type="text" runat="server" id="version" name="version" size="50" readonly="readonly" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                字符集(charset):
            </td>
            <td align="center">
                <input type="text" runat="server" id="charset" name="charset" size="50" readonly="readonly" />
                <br />
                1:GBK,2:UTF-8
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                语言种类(language)：
            </td>
            <td align="center">
                <input type="text" runat="server" id="language" name="language" size="50" />
                <br />
                1:ZH,2:EN
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                加密方式(signType)：
            </td>
            <td align="center">
                <input type="text" runat="server" id="signType" name="signType" size="50" />
                <br />
                1:MD5,2:SHA
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                交易代码(tranCode):
            </td>
            <td align="center">
                <input type="text" runat="server" id="tranCode" name="tranCode" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                商户ID(merchantID):
            </td>
            <td align="center">
                <input type="text" runat="server" id="merchantID" name="merchantID" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                订单号(merOrderNum):
            </td>
            <td align="center">
                <input type="text" runat="server" id="merOrderNum" name="merOrderNum" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                交易金额(tranAmt):
            </td>
            <td align="center">
                <input type="text" runat="server" id="tranAmt" name="tranAmt" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                手续费(feeAmt):
            </td>
            <td align="center">
                <input type="text" runat="server" id="feeAmt" name="feeAmt" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                币种(currencyType):
            </td>
            <td align="center">
                <input type="text" runat="server" id="currencyType" name="currencyType" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                商户返回页面地址 (frontMerUrl):
            </td>
            <td align="center">
                <input type="text" runat="server" id="frontMerUrl" name="frontMerUrl" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                商户后台通知地址(backgroundMerUrl):
            </td>
            <td align="center">
                <input type="text" runat="server" id="backgroundMerUrl" name="backgroundMerUrl" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                交易时间(tranDateTime):
            </td>
            <td align="center">
                <input type="text" runat="server" id="tranDateTime" name="tranDateTime" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                国付宝转入账户（virCardNoIn）:
            </td>
            <td align="center">
                <input type="text" runat="server" id="virCardNoIn" name="virCardNoIn" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                用户浏览器IP（tranIP）:
            </td>
            <td align="center">
                <input type="text" runat="server" id="tranIP" name="tranIP" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                订单是否允许重复提交（isRepeatSubmit）:
            </td>
            <td align="center">
                <input type="text" runat="server" id="isRepeatSubmit" name="isRepeatSubmit" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                商品名称（goodsName）:
            </td>
            <td align="center">
                <input type="text" runat="server" id="goodsName" name="goodsName" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                商品详情（goodsDetail）:
            </td>
            <td align="center">
                <input type="text" runat="server" id="goodsDetail" name="goodsDetail" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                买方姓名（buyerName）:
            </td>
            <td align="center">
                <input type="text" runat="server" id="buyerName" name="buyerName" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                买方联系方式（buyerContact）:
            </td>
            <td align="center">
                <input type="text" runat="server" id="buyerContact" name="buyerContact" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                商户备用信息字段1（merRemark1）:
            </td>
            <td align="center">
                <input type="text" runat="server" id="merRemark1" name="merRemark1" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                商户备用信息字段2（merRemark2）:
            </td>
            <td align="center">
                <input type="text" runat="server" id="merRemark2" name="merRemark2" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                银行代码（bankCode）:
            </td>
            <td align="center">
                <input type="text" runat="server" id="bankCode" name="bankCode" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                用户类型（userType）:
            </td>
            <td align="center">
                <input type="text" runat="server" id="userType" name="userType" size="50" />
            </td>
        </tr>
        <tr>
            <td width="40%" align="right">
                MD5加密报文(signValue):
            </td>
            <td align="center">
                <input type="text" runat="server" id="signValue" name="signValue" size="50" readonly="readonly" />
            </td>
        </tr>
		<tr>
            <td width="40%" align="right">
                国付宝服务器时间(时间戳防钓鱼):
            </td>
            <td align="center">
                <input type="text" runat="server" id="gopayServerTime" name="gopayServerTime" size="50" readonly="readonly" />
            </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>
    <script type="text/javascript">
        document.getElementById("form1").submit();
    </script>
</body>
</html>
