wupengfei 1 year ago
parent
commit
3bf1b542f7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      addons/shopro/library/PayService.php

+ 1 - 1
addons/shopro/library/PayService.php

@@ -185,11 +185,11 @@ class PayService
     {
     {
         $code = 0;
         $code = 0;
         $response = [];
         $response = [];
-        var_dump($payload);
         switch ($this->payment) {
         switch ($this->payment) {
             case 'wechat':
             case 'wechat':
                 $payload['amount'] = $payload['amount'] * 100;
                 $payload['amount'] = $payload['amount'] * 100;
                 $response = Pay::wechat($this->config)->transfer($payload);
                 $response = Pay::wechat($this->config)->transfer($payload);
+                var_dump($response);
                 if ($response['return_code'] === 'SUCCESS' && $response['result_code'] === 'SUCCESS') {
                 if ($response['return_code'] === 'SUCCESS' && $response['result_code'] === 'SUCCESS') {
                     $code = 1;
                     $code = 1;
                 }
                 }