Fix ThreeDSecure warning.

This commit is contained in:
Pedro Silva 2024-02-22 17:59:43 +00:00
parent acbbb06ca5
commit 9032457868
No known key found for this signature in database
GPG key ID: E2EE20C0669D24B3

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;
}