Skip to content

Commit

Permalink
H5支付
Browse files Browse the repository at this point in the history
  • Loading branch information
dedemao authored May 27, 2018
1 parent 76990f3 commit 68994ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions h5.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
$mchid = 'xxxxx'; //微信支付商户号 PartnerID 通过微信支付商户资料审核后邮件发送
$appid = 'xxxxx'; //微信支付申请对应的公众号的APPID
$appKey = 'xxxxx'; //微信支付申请对应的公众号的APP Key
$apiKey = 'xxxxx';
$apiKey = 'xxxxx'; //https://pay.weixin.qq.com 帐户设置-安全设置-API安全-API密钥-设置API密钥

$wxPay = new WxpayService($mchid,$appid,$apiKey);
$outTradeNo = uniqid(); //你自己的商品订单号
Expand Down Expand Up @@ -152,4 +152,4 @@ protected static function formatQueryParaMap($paraMap, $urlEncode = false)
}
return $reqPar;
}
}
}

0 comments on commit 68994ae

Please sign in to comment.