Merge pull request #8120 from turbo124/v5-develop

Minor improvements for checkout 3ds processing
This commit is contained in:
David Bomba 2023-01-09 17:50:18 +11:00 committed by GitHub
commit ffc9a75479
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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