We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) 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
$payment->setAdditionalInformation('3dActive', false);
$isValid = true;
$errorMessages = [];
$resultCode = $response['resultCode'];
$resultCode = array_key_exists("resultCode", $response) ? $response['resultCode']:'';
// validate result
if (!empty($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