We will work on Apr 26th (Saturday) and will be off from Apr 30th (Wednesday) until May 2nd (Friday) for public holiday in our country

Commit 55617992 authored by attilak's avatar attilak

Fix undefined additionalInfo threeDS2 variable

parent 61e513b8
...@@ -74,10 +74,18 @@ class AdyenOrderPaymentStatus implements \Adyen\Payment\Api\AdyenOrderPaymentSta ...@@ -74,10 +74,18 @@ class AdyenOrderPaymentStatus implements \Adyen\Payment\Api\AdyenOrderPaymentSta
$payment->getMethod() === AdyenOneclickConfigProvider::CODE $payment->getMethod() === AdyenOneclickConfigProvider::CODE
) { ) {
$additionalInformation = $payment->getAdditionalInformation(); $additionalInformation = $payment->getAdditionalInformation();
return $this->adyenHelper->buildThreeDS2ProcessResponseJson(
$additionalInformation['threeDSType'], $type = null;
$additionalInformation['threeDS2Token'] if (!empty($additionalInformation['threeDSType'])) {
); $type = $additionalInformation['threeDSType'];
}
$token = null;
if (!empty($additionalInformation['threeDS2Token'])) {
$token = $additionalInformation['threeDS2Token'];
}
return $this->adyenHelper->buildThreeDS2ProcessResponseJson($type, $token);
} }
return true; return true;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment