From 2282020f90b8b0579f687c5454d1bf1459ffb86f Mon Sep 17 00:00:00 2001 From: devil_gong Date: Mon, 7 Jan 2019 15:54:01 +0800 Subject: [PATCH] pay debug --- extend/payment/WeixinMini.php | 1 + 1 file changed, 1 insertion(+) diff --git a/extend/payment/WeixinMini.php b/extend/payment/WeixinMini.php index e2d84bc2f..b789a7e88 100644 --- a/extend/payment/WeixinMini.php +++ b/extend/payment/WeixinMini.php @@ -151,6 +151,7 @@ class WeixinMini // xml $xml = $this->ArrayToXml($ret['data']); $result = $this->XmlToArray($this->HttpRequest('https://api.mch.weixin.qq.com/pay/unifiedorder', $xml)); + print_r($result); if(!empty($result['return_code']) && $result['return_code'] == 'SUCCESS' && !empty($result['prepay_id'])) { // 返回数据