Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enable tokenized ECE by default #10016

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions changelog/feat-enable-tokenized-ece-by-default
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: update

feat: GooglePay/ApplePay refactor to leverage Store API is enabled by default. Please contact us if you encounter new issues with these buttons.
2 changes: 1 addition & 1 deletion includes/class-wc-payments-features.php
Original file line number Diff line number Diff line change
Expand Up @@ -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, '0' );
return '1' === get_option( self::TOKENIZED_CART_ECE_FLAG_NAME, '1' );
}

/**
Expand Down
Loading