pay debug
parent
5ee6738fc7
commit
8502b81d13
|
|
@ -152,7 +152,7 @@ class WeixinMini
|
||||||
$xml = $this->ArrayToXml($ret['data']);
|
$xml = $this->ArrayToXml($ret['data']);
|
||||||
$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));
|
||||||
|
|
||||||
print_r($result);
|
print_r($result);die;
|
||||||
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