mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-01 11:29:59 +08:00
pay debug
This commit is contained in:
parent
571a0aca0e
commit
63d21759f2
@ -133,6 +133,7 @@ class WeixinMini
|
|||||||
|
|
||||||
// xml
|
// xml
|
||||||
$xml = $this->ArrayToXml($ret['data']);
|
$xml = $this->ArrayToXml($ret['data']);
|
||||||
|
print_r($xml);die;
|
||||||
$result = $this->XmlToArray($this->HttpRequest('https://api.mch.weixin.qq.com/pay/unifiedorder', $xml));
|
$result = $this->XmlToArray($this->HttpRequest('https://api.mch.weixin.qq.com/pay/unifiedorder', $xml));
|
||||||
if(!empty($result['return_code']) && $result['return_code'] == 'SUCCESS' && !empty($result['prepay_id']))
|
if(!empty($result['return_code']) && $result['return_code'] == 'SUCCESS' && !empty($result['prepay_id']))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user