找传奇、传世资源到传世资源站!

银行接口开发(翼支付)

8.5玩家评分(1人评分)
下载后可评
介绍 评论 失效链接反馈

<?php$key='';$merchantid='';if ($merchantid!=null){$order_amount=222;if($p=1) {$merid='';$ordid = "00" . date('YmdHis'); # Order ID//$ordid = '0020141119113004'; # Order ID$attachamount = "0"; # Payment Version$productamount='1';$orderamount =$attachamount $productamount; # Amount$orderdate=date('YmdHis');//$orderdate='20141119112328';//md5 mac$macmd5="MERCHANTID=$merchantid&ORDERSEQ=$ordid&ORDERDATE=$orderdate&ORDERAMOUNT=$orderamount&KEY=$key";//$mac='c612179b6364333aa91afcba75c2479e';$mac=md5($macmd5);$curtype='RMB';$orderreqtranseq="99" . date('YmdHis'); # Order ID$encodetype = "1"; # Currency Type, Use CNY$transdate = date('Ymd'); # Order Date$busicode = "0001"; # Transaction type, Consume$pagereturl = "http://www.Bestpay.cc/mobile.backurl.php"; # Feedback Url$bgreturl = "http://www.Bestpay.cc/mobile.backurl.php";$productdesc='Iphone6 plus';?><html><body onload="document.getElementById('form').submit();"><form id="form" action="https://webpaywg.bestpay.com.cn/payWeb.do" method="post"><input type=hidden name="MERCHANTID" value="<?php echo $merid; ?>"/><input type=hidden name="ORDERSEQ" value="<?php echo $ordid; ?>"/><input type=hidden name="ORDERREQTRANSEQ" value="<?php echo $orderreqtranseq; ?>"/><input type=hidden name="ORDERDATE" value="<?php echo $orderdate; ?>"/><input type=hidden name="ORDERAMOUNT" value="<?php echo $orderamount; ?>"/><input type=hidden name="PRODUCTAMOUNT" value="<?php echo $productamount; ?>"/><input type=hidden name="ATTACHAMOUNT" value="<?php echo $attachamount; ?>"/><input type=hidden name="CURTYPE" value="<?php echo $curtype; ?>"/><input type=hidden name="ENCODETYPE" value="<?php echo $encodetype; ?>"/><input type=hidden name="MERCHANTURL" value="<?php echo $pagereturl; ?>"/><input type=hidden name="BACKMERCHANTURL" value="<?php echo $bgreturl; ?>"/><input type=hidden name="BUSICODE" value="<?php echo $busicode; ?>"/><input type=hidden name="PRODUCTDESC" value="<?php echo $productdesc; ?>"/><input type=hidden name="MAC" value="<?php echo $mac; ?>"/></form></body></html><?php}else {die('Failed');}exit();}?>

评论

发表评论必须先登陆, 您可以 登陆 或者 注册新账号 !


在线咨询: 问题反馈
客服QQ:174666394

有问题请留言,看到后及时答复