Skip to content

Commit

Permalink
feat: enable tokenized ECE by default
Browse files Browse the repository at this point in the history
  • Loading branch information
frosso committed Dec 20, 2024
1 parent 915fcc8 commit 97da397
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
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

0 comments on commit 97da397

Please sign in to comment.