Fix first batch of typos

This commit is contained in:
Daniel Dudzic 2025-03-24 14:09:19 +01:00
parent 2aa89eb88c
commit a0a7d042b4
No known key found for this signature in database
GPG key ID: 31B40D33E3465483
11 changed files with 20 additions and 20 deletions

View file

@ -20,7 +20,7 @@ use WooCommerce\PayPalCommerce\ApiClient\Factory\CardAuthenticationResultFactory
class ThreeDSecure {
const NO_DECISION = 0;
const PROCCEED = 1;
const PROCEED = 1;
const REJECT = 2;
const RETRY = 3;
@ -84,7 +84,7 @@ class ThreeDSecure {
$this->logger->info( '3DS Authentication Result: ' . wc_print_r( $result->to_array(), true ) );
if ( $result->liability_shift() === AuthResult::LIABILITY_SHIFT_POSSIBLE ) {
return $this->return_decision( self::PROCCEED, $order );
return $this->return_decision( self::PROCEED, $order );
}
if ( $result->liability_shift() === AuthResult::LIABILITY_SHIFT_UNKNOWN ) {
@ -124,19 +124,19 @@ class ThreeDSecure {
$result->enrollment_status() === AuthResult::ENROLLMENT_STATUS_BYPASS
&& ! $result->authentication_result()
) {
return self::PROCCEED;
return self::PROCEED;
}
if (
$result->enrollment_status() === AuthResult::ENROLLMENT_STATUS_UNAVAILABLE
&& ! $result->authentication_result()
) {
return self::PROCCEED;
return self::PROCEED;
}
if (
$result->enrollment_status() === AuthResult::ENROLLMENT_STATUS_NO
&& ! $result->authentication_result()
) {
return self::PROCCEED;
return self::PROCEED;
}
if ( $result->authentication_result() === AuthResult::AUTHENTICATION_RESULT_REJECTED ) {