mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
🩹 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:
parent
ed3a48e520
commit
639ced5c91
2 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue