diff --git a/modules/ppcp-applepay/services.php b/modules/ppcp-applepay/services.php index 003c8226c..6079fcb40 100644 --- a/modules/ppcp-applepay/services.php +++ b/modules/ppcp-applepay/services.php @@ -964,7 +964,7 @@ return array( : $container->get( 'applepay.enable-url-sandbox' ); $button_url = $enabled - ? admin_url( 'admin.php?page=wc-settings&tab=checkout§ion=ppcp-gateway#field-alternative_payment_methods' ) + ? admin_url( 'admin.php?page=wc-settings&tab=checkout§ion=ppcp-gateway&ppcp-tab=ppcp-credit-card-gateway#ppcp-applepay_button_enabled' ) : $enable_url; return sprintf( diff --git a/modules/ppcp-googlepay/services.php b/modules/ppcp-googlepay/services.php index f7e195821..6f41db792 100644 --- a/modules/ppcp-googlepay/services.php +++ b/modules/ppcp-googlepay/services.php @@ -926,7 +926,7 @@ return array( : $container->get( 'googlepay.enable-url-sandbox' ); $button_url = $enabled - ? admin_url( 'admin.php?page=wc-settings&tab=checkout§ion=ppcp-gateway#field-alternative_payment_methods' ) + ? admin_url( 'admin.php?page=wc-settings&tab=checkout§ion=ppcp-gateway&ppcp-tab=ppcp-credit-card-gateway#ppcp-googlepay_button_enabled' ) : $enable_url; return sprintf(