Minor improvements for checkout 3ds processing

This commit is contained in:
David Bomba 2023-01-09 17:50:01 +11:00
parent 7372cf4ffc
commit abc3e39188

View File

@ -497,7 +497,7 @@ class CheckoutComPaymentDriver extends BaseDriver
$request->query('cko-session-id')
);
if ($payment['approved']) {
if (isset($payment['approved']) && $payment['approved']) {
return $this->processSuccessfulPayment($payment);
} else {
return $this->processUnsuccessfulPayment($payment);