Merge pull request #2051 from woocommerce/PCP-2466-acdc-unsuccessfully-payment-with-new-credit-card-when-debugging-is-enabled-json-error-on-frontend-and-warning-on-network-tab-2

ACDC Unsuccessfully payment with new credit card when debugging is enabled (json error on frontend and warning on network tab) (2466)
This commit is contained in:
Emili Castells 2024-02-29 11:58:34 +01:00 committed by GitHub
commit da6d57b77b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -67,10 +67,10 @@ class ThreeDSecure {
return self::NO_DECISION;
}
if ( ! $payment_source->properties()->brand ?? '' ) {
if ( ! ( $payment_source->properties()->brand ?? '' ) ) {
return self::NO_DECISION;
}
if ( ! $payment_source->properties()->authentication_result ?? '' ) {
if ( ! ( $payment_source->properties()->authentication_result ?? '' ) ) {
return self::NO_DECISION;
}