www.gusucode.com > 08CMS空白站群系统 3.3 繁体 UTF-8 > upload/payonline/99bill/send.php
<?PHP !defined('M_COM') && exit('No Permission'); $merchant_id = $payonline['partner']; ///商户编号 $merchant_key = $payonline['key']; ///商户密钥 $orderid = $paynew['ordersn']; ///订单编号 $amount = $paynew['total']; ///订单金额 $curr = '1'; ///货币类型,1为人民币 $isSupportDES = '2'; ///是否安全校验,2为必校验,推荐 $merchant_url = $payonline['receive']; ///支付结果返回地址 $commodity_info = lang('currency saving'); ///商品信息 $merchant_param = '08cms'; ///商户私有参数 $pname = $paynew['truename']; ///支付人姓名 $pemail = $paynew['email']; ///传递email到快钱网关页面 $pid = '08cms'; ///代理/合作伙伴商户编号 //生成加密串,注意顺序 $ScrtStr='merchant_id='.$merchant_id.'&orderid='.$orderid.'&amount='.$amount.'&merchant_url='.$merchant_url.'&merchant_key='.$merchant_key; $mac = strtoupper(md5($ScrtStr)); $send_url = $payonline['send'].$ScrtStr.'&mac='.$mac.'&merchant_url='.$merchant_url.'&pname='.$pname.'&commodity_info='.$commodity_info.'&merchant_param='.$merchant_param.'&pemail='.$pemail.'&pid='.$pid; ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?=$mcharset?>"> <title><?=lang('jumping')?><?=$payonline['cname']?><?=lang('pay interface')?></title> <meta http-equiv="refresh" content="0;URL=<?=$send_url?>" method="post"> </head> <body> </body> </html> <? mexit(); ?>