gatewayUrl = 'https://openapi.alipay.com/gateway.do'; $aop->appId = $config["app_id"]; $aop->rsaPrivateKey = $config["merchant_private_key"]; $aop->alipayrsaPublicKey=$config["alipay_public_key"]; $aop->signType = 'RSA2'; $aop->postCharset='utf-8'; $aop->format='json'; $object = new stdClass(); $object->out_trade_no = $ddbh; $object->total_amount = $money1; $object->subject = webname.'充值'; $object->product_code ='FAST_INSTANT_TRADE_PAY'; //不要修改 $json = json_encode($object); $request = new AlipayTradePagePayRequest(); $request->setNotifyUrl(weburl."user/notify_url_new.php"); if($_GET[ifwap]=="yes"){$ifm="m/";} $request->setReturnUrl(weburl.$ifm."user/paylog.php"); $request->setBizContent($json); $result = $aop->pageExecute ($request); echo $result; exit; }elseif(sqlzhuru($_POST[jvs])=="pay" && sqlzhuru($_POST[R1])=="aliewm"){ zwzr(); $money1=sqlzhuru($_POST[t1]); php_toheader("alipay_ewm.php?money1=".$money1); }elseif(sqlzhuru($_POST[jvs])=="pay" && sqlzhuru($_POST[R1])=="wxewm"){ zwzr(); $money1=sqlzhuru($_POST[t1]); php_toheader("wxpay_ewm.php?money1=".$money1); }elseif(sqlzhuru($_POST[yjcode])=="km" && $_GET[control]=="km"){ zwzr(); $tk=sqlzhuru($_POST[tk]); $tm=sqlzhuru($_POST[tm]); while1("*","yjcode_paykami where ka='".$tk."' and mi='".$tm."' and ifok=0");if(!$row1=mysqli_fetch_array($res1)){Audit_alert("充值失败,卡号或密码不匹配","pay.php");} $sj=date("Y-m-d H:i:s"); $userid=$rowuser[id]; PointIntoM($userid,"卡密直充".$row1[money1]."元",$row1[money1]); PointUpdateM($userid,$row1[money1]); updatetable("yjcode_paykami","userid=".$userid.",usesj='".$sj."',ifok=1 where id=".$row1[id]); php_toheader("paylog.php"); } ?> 用户管理面板 - <?=webname?>
  • 充值金额:
  • 需要支付%的手续费
  • 选择支付方式:
  • checked="checked" />
  • checked="checked" />
  • checked="checked" />
  • checked="checked" />
  • checked="checked" />
  • checked="checked" />
  • checked="checked" />
  • checked="checked" />