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 f2ded80d authored by Imran Shakil's avatar Imran Shakil Committed by Marcos Garcia

Bugfix/896 card type server error (#897)

* Update PaymentLink.php

To avoid "class not found" exception

* [bugfix/896] check array key
Co-authored-by: default avatarshakil imran <shakil.imran@monotaro.com>
Co-authored-by: default avatarAttila Kiss <42297201+cyattilakiss@users.noreply.github.com>
parent d0c0b72c
...@@ -66,7 +66,7 @@ class CheckoutResponseValidator extends AbstractValidator ...@@ -66,7 +66,7 @@ class CheckoutResponseValidator extends AbstractValidator
$payment->setAdditionalInformation('3dActive', false); $payment->setAdditionalInformation('3dActive', false);
$isValid = true; $isValid = true;
$errorMessages = []; $errorMessages = [];
$resultCode = $response['resultCode']; $resultCode = array_key_exists("resultCode", $response) ? $response['resultCode']:'';
// validate result // validate result
if (!empty($resultCode)) { if (!empty($resultCode)) {
$payment->setAdditionalInformation('resultCode', $resultCode); $payment->setAdditionalInformation('resultCode', $resultCode);
......
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