mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Merge branch 'trunk'
# Conflicts: # modules/ppcp-button/src/Helper/ThreeDSecure.php
This commit is contained in:
commit
ebcf91461f
54 changed files with 1197 additions and 448 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue