Update the LYS "Add payment methods" link to the payment settings page (#50609)

* Fix the "Add payment methods" link in LYS congrat screen redirects to a blank page

* Add changelog

* Fix link
This commit is contained in:
Chi-Hsuan Huang 2024-08-14 09:39:03 +08:00 committed by GitHub
parent 9fcd59d3d0
commit 175ebe2a5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -78,7 +78,7 @@ const getActionsList = ( { activePlugins, allTasklists }: WhatsNextProps ) => {
'Give your shoppers more ways to pay by adding additional payment methods to your store.',
'woocommerce'
),
link: `${ ADMIN_URL }admin.php?page=wc-admin&task=payments`,
link: `${ ADMIN_URL }admin.php?page=wc-settings&tab=checkout`,
linkText: __( 'Add payment methods', 'woocommerce' ),
trackEvent: 'launch_you_store_congrats_payments_click',
};

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Fix the "Add payment methods" link in LYS congrat screen redirects to a blank page