Settings UI: Add Settings tab Redux store

This commit is contained in:
Daniel Dudzic 2025-01-17 13:59:17 +01:00
parent d1a67406ef
commit 6993038c05
No known key found for this signature in database
GPG key ID: 31B40D33E3465483
17 changed files with 811 additions and 50 deletions

View file

@ -554,7 +554,7 @@ class WCGatewayModule implements ServiceModule, ExtendingModule, ExecutableModul
$billing_agreements_endpoint = $c->get( 'api.endpoint.billing-agreements' );
assert( $billing_agreements_endpoint instanceof BillingAgreementsEndpoint );
$reference_transactions_enabled = $billing_agreements_endpoint->reference_transaction_enabled();
$reference_transactions_enabled = $billing_agreements_endpoint->reference_transaction_enabled();
$features['save_paypal_and_venmo'] = array(
'enabled' => $reference_transactions_enabled,
);
@ -562,7 +562,7 @@ class WCGatewayModule implements ServiceModule, ExtendingModule, ExecutableModul
$dcc_product_status = $c->get( 'wcgateway.helper.dcc-product-status' );
assert( $dcc_product_status instanceof DCCProductStatus );
$dcc_enabled = $dcc_product_status->dcc_is_active();
$dcc_enabled = $dcc_product_status->dcc_is_active();
$features['advanced_credit_and_debit_cards'] = array(
'enabled' => $dcc_enabled,
);