diff --git a/changelog/patch-disable-tokenised-carts-by-default b/changelog/patch-disable-tokenised-carts-by-default new file mode 100644 index 00000000000..0c3c7646c25 --- /dev/null +++ b/changelog/patch-disable-tokenised-carts-by-default @@ -0,0 +1,4 @@ +Significance: patch +Type: fix + +Ensures that the tokenised cart for ECE implementation is disabled by default. diff --git a/includes/class-wc-payments-features.php b/includes/class-wc-payments-features.php index 0a80979e849..6eefb80fb9b 100644 --- a/includes/class-wc-payments-features.php +++ b/includes/class-wc-payments-features.php @@ -49,7 +49,7 @@ public static function are_payments_enabled() { * @return bool */ public static function is_tokenized_cart_ece_enabled(): bool { - return '1' === get_option( self::TOKENIZED_CART_ECE_FLAG_NAME, '1' ); + return '1' === get_option( self::TOKENIZED_CART_ECE_FLAG_NAME, '0' ); } /**