Merge branch 'trunk'

# Conflicts:
#	modules/ppcp-button/src/Helper/ThreeDSecure.php
This commit is contained in:
Philipp Stracker 2025-04-23 15:00:00 +02:00
commit ebcf91461f
No known key found for this signature in database
54 changed files with 1197 additions and 448 deletions

View file

@ -466,6 +466,10 @@ class SmartButton implements SmartButtonInterface {
* @return bool
*/
private function render_message_wrapper_registrar(): bool {
if ( ! apply_filters( 'woocommerce_paypal_payments_should_render_pay_later_messaging', true ) ) {
return false;
}
if ( ! $this->settings_status->is_pay_later_messaging_enabled() || ! $this->settings_status->has_pay_later_messaging_locations() ) {
return false;
}

View file

@ -20,7 +20,7 @@ use WooCommerce\PayPalCommerce\ApiClient\Factory\CardAuthenticationResultFactory
class ThreeDSecure {
public const NO_DECISION = 0;
public const PROCEED = 1;
public const PROCEED = 1;
public const REJECT = 2;
public const RETRY = 3;