Skip to content

Commit

Permalink
公众号支付
Browse files Browse the repository at this point in the history
  • Loading branch information
dedemao authored Dec 8, 2017
1 parent aa6d4b3 commit 3dec53b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsapi.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
$outTradeNo = uniqid(); //你自己的商品订单号
$payAmount = 0.01; //付款金额,单位:元
$orderName = '支付测试'; //订单标题
$notifyUrl = 'https://www.xxx.com/wx/native.php'; //付款成功后的回调地址(不要有问号)
$notifyUrl = 'https://www.xxx.com/wx/notify.php'; //付款成功后的回调地址(不要有问号)
$payTime = time(); //付款时间
$jsApiParameters = $wxPay->createJsBizPackage($openId,$payAmount,$outTradeNo,$orderName,$notifyUrl,$payTime);
$jsApiParameters = json_encode($jsApiParameters);
Expand Down

0 comments on commit 3dec53b

Please sign in to comment.