|
|
@@ -177,10 +177,8 @@ class PayPlus
|
|
|
$decoded = json_decode($response, true) ?: [];
|
|
|
Util::WriteLog('PayPlus', 'PayPlus raw response: ' . json_encode($decoded));
|
|
|
$componentDelta = $this->decryptPayinResponse($decoded, $encrypted['aes_key'], $encrypted['iv']);
|
|
|
- Util::WriteLog('PayPlus', 'PayPlus raw response111: ' . json_encode($decoded));
|
|
|
if (!empty($componentDelta)) {
|
|
|
Util::WriteLog('PayPlus', 'PayPlus decrypted componentDelta: ' . json_encode($componentDelta));
|
|
|
- return $componentDelta;
|
|
|
}
|
|
|
$decoded['decryptedComponentDelta'] = $componentDelta;
|
|
|
return $decoded;
|