From 70b63701955f94c16a90cecd6b738dde2fb59ffe Mon Sep 17 00:00:00 2001 From: Narek Zakarian Date: Mon, 12 Feb 2024 16:24:16 +0400 Subject: [PATCH] Improve the capitalization of "3DS Authentication Result" text --- modules/ppcp-button/src/Helper/ThreeDSecure.php | 2 +- .../src/Processor/CreditCardOrderInfoHandlingTrait.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ppcp-button/src/Helper/ThreeDSecure.php b/modules/ppcp-button/src/Helper/ThreeDSecure.php index e99f12bdc..93091907d 100644 --- a/modules/ppcp-button/src/Helper/ThreeDSecure.php +++ b/modules/ppcp-button/src/Helper/ThreeDSecure.php @@ -78,7 +78,7 @@ class ThreeDSecure { if ( $authentication_result ) { $result = $this->card_authentication_result_factory->from_paypal_response( $authentication_result ); - $this->logger->info( '3DS authentication result: ' . wc_print_r( $result->to_array(), true ) ); + $this->logger->info( '3DS Authentication Result: ' . wc_print_r( $result->to_array(), true ) ); if ( $result->liability_shift() === AuthResult::LIABILITY_SHIFT_POSSIBLE ) { return self::PROCCEED; diff --git a/modules/ppcp-wc-gateway/src/Processor/CreditCardOrderInfoHandlingTrait.php b/modules/ppcp-wc-gateway/src/Processor/CreditCardOrderInfoHandlingTrait.php index 71e96b90a..b04d4ccc2 100644 --- a/modules/ppcp-wc-gateway/src/Processor/CreditCardOrderInfoHandlingTrait.php +++ b/modules/ppcp-wc-gateway/src/Processor/CreditCardOrderInfoHandlingTrait.php @@ -46,7 +46,7 @@ trait CreditCardOrderInfoHandlingTrait { $card_authentication_result_factory = new CardAuthenticationResultFactory(); $result = $card_authentication_result_factory->from_paypal_response( $authentication_result ); - $three_d_response_order_note_title = __( '3DS authentication result', 'woocommerce-paypal-payments' ); + $three_d_response_order_note_title = __( '3DS Authentication Result', 'woocommerce-paypal-payments' ); /* translators: %1$s is 3DS order note title, %2$s is 3DS order note result markup */ $three_d_response_order_note_format = __( '%1$s %2$s', 'woocommerce-paypal-payments' ); $three_d_response_order_note_result_format = '