
<% 
str_name               =  webname&"商品"
str_payid              =  payid
str_paypwd             =  paypwd
str_payurl             =  payurl
str_sum	               =  sumx
str_goods	       =  trim(rs("goods"))
str_UserName           =  trim(rs("receipt"))
str_address            =  trim(rs("address"))
str_postcode           =  trim(rs("postcode"))
str_usertel            =  trim(rs("usertel"))
str_email              =  trim(rs("useremail"))
str_usermobile         =  trim(rs("usermobile"))
str_comment            =  trim(rs("comment")) 
pro_body               =  "以下金额（"& str_sum & "元）已包含配送费用"
str_shopname           =  str_goods & "号订单在线支付" 



 v_mid                 =          str_payid    '商户号,这里为测试商户号1001，替换为自己的商户号即可	 
 key                   =          str_paypwd   'MD5私钥
 v_oid                 =          str_goods    '订单号，构成格式 年月日-商户号-小时分钟秒
 v_amount              =	  str_sum      '订单金额
 v_moneytype	       =          "0"          '支付币种0为人民币
 v_url                 =	  str_payurl   '商户自定义返回接收支付结果的页面
 remark1               =          str_comment  '备注字段1
 remark2               =           ""          '备注字段1
 style	               =          "0"          '指网关模式0(普通)，1(银行列表中带外卡)
 v_rcvname             =          str_receipt  '收货人
 v_rcvaddr	       =          str_address  '收货地址
 v_rcvtel	       =          str_usertel  '订货人电话
 v_rcvpost             =          str_postcode '订货人电话
 v_ordername	       =          str_receipt  '发货人
 v_orderemail	       =          str_email    '订货人EMAIL
 text                  =          v_amount&v_moneytype&v_oid&v_mid&v_url&key
 v_md5info             =          Ucase(trim(md5(text)))
	 
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="<%=bgclr2%>" >

<tr bgcolor=#FFFFFF><td  height=25 align=center>
 <form method="post" action="https://pay3.chinabank.com.cn/PayGate" name="E_FORM" target=new>

    

	<input type="hidden" name="v_md5info" size="100"  value="<%=v_md5info%>">
	<input type="hidden" name="v_mid" value="<%=v_mid%>">
	<input type="hidden" name="v_oid" value="<%=v_oid%>">
	<input type="hidden" name="v_amount" value="<%=v_amount%>">
	<input type="hidden" name="v_moneytype"  value="<%=v_moneytype%>">
	<input type="hidden" name="v_url" value="<%=v_url%>">
	<input type="hidden" name="style" value="<%=style%>">
	<input type="hidden" name="remark1" value="<%=remark1%>">
	<input type="hidden" name="remark2" value="<%=remark2%>">


	<!--以下几项与网上支付货款无关，建议不用//-->
	<input type="hidden" name="v_rcvname" value="<%=v_rcvname%>">
	<input type="hidden" name="v_rcvaddr" value="<%=v_rcvaddr%>">
	<input type="hidden" name="v_rcvtel" value="<%=v_rcvtel%>">
	<input type="hidden" name="v_rcvpost" value="<%=v_rcvpost%>">
	<input type="hidden" name="v_ordername"  value="<%=v_ordername%>">
	<input type="hidden" name="v_orderemail"  value="<%=v_orderemail%>">


	<input type=submit name=v_action value="网银在线支付平台">
</form>
</td>
</tr>
      </table>

