laowu 1 Minggu lalu
induk
melakukan
8080e9d8d1
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      app/Services/PayPlus.php

+ 1 - 1
app/Services/PayPlus.php

@@ -218,7 +218,7 @@ class PayPlus
             'AppId: ' . ($this->config['appId'] ?? ''),
             'Authorization: ' . $this->signPayoutPayload($payload),
         ];
-        Util::WriteLog('PayPlus', 'PayPlus request(' . $path . '): ' . json_encode($payload));
+        Util::WriteLog('PayPlus', 'PayPlus request(' . $path . '): ' . json_encode($payload) . ' | Headers: ' . json_encode($headers));
         $response = $this->curlJson(rtrim($this->config['apiUrl'] ?? '', '/') . $path, $payload, $headers);
         Util::WriteLog('PayPlus', 'PayPlus response(' . $path . '): ' . json_encode($response));
         return json_decode($response, true) ?: [];