🩹 Fix incorrect links to AP/GP payment settings

The settings button for Apple Pay and Google Pay now directs users to the correct tab and section.
This commit is contained in:
Philipp Stracker 2024-05-28 16:41:33 +02:00
parent ed3a48e520
commit 639ced5c91
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -926,7 +926,7 @@ return array(
: $container->get( 'googlepay.enable-url-sandbox' );
$button_url = $enabled
? admin_url( 'admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway#field-alternative_payment_methods' )
? admin_url( 'admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcp-tab=ppcp-credit-card-gateway#ppcp-googlepay_button_enabled' )
: $enable_url;
return sprintf(