asp 一些支付接口(5)


commodity_info = ""        '''商品信息
merchant_param = ""        '''商户私有参数

pemail=""        '''传递email到快钱网关页面
pid=""        '''代理/合作伙伴商户编号

'''生成加密串,注意顺序
ScrtStr="merchant_id=" & merchant_id & "&orderid=" & orderid & "&amount=" & amount & "&merchant_url=" & merchant_url & "&merchant_key=" & merchant_key
mac=ucase(md5(ScrtStr))

%>

<!doctype html public "-//w3c//dtd html 4.0 transitional//en" >
<html>
    <head>
        <title>快钱99bill</title>
        <meta http-equiv="content-type" content="text/html; charset=gb2312" >
    </head>

<BODY onLoad="javascript:document.frm.submit()">


        <form name="frm" method="post" action="https://www.99bill.com/webapp/receiveMerchantInfoAction.do">
            <input name="merchant_id" type="hidden" value="<%=merchant_id%>">
            <input name="orderid" type="hidden" value="<%=orderid%>">
            <input name="amount" type="hidden" value="<%=amount%>">
            <input name="currency" type="hidden" value="<%=curr%>">
            <input name="isSupportDES" type="hidden" value="<%=isSupportDES%>">
            <input name="mac" type="hidden" value="<%=mac%>">

            <input name="merchant_url" type="hidden" value="<%=merchant_url%>">
            <input name="pname" type="hidden" value="<%=pname%>">
            <input name="commodity_info" type="hidden" value="<%=commodity_info%>">
            <input name="merchant_param" type="hidden" value="<%=merchant_param%>">

            <input name="pemail" type="hidden" value="<%=pemail%>">
            <input name="pid" type="hidden" value="<%=pid%>">

        </form>

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/2294.html