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