diff --git a/modules/ppcp-settings/resources/js/Components/Screens/Settings/Components/Overview/features-config.js b/modules/ppcp-settings/resources/js/Components/Screens/Settings/Components/Overview/features-config.js index c1b821d66..3a01b436f 100644 --- a/modules/ppcp-settings/resources/js/Components/Screens/Settings/Components/Overview/features-config.js +++ b/modules/ppcp-settings/resources/js/Components/Screens/Settings/Components/Overview/features-config.js @@ -39,10 +39,7 @@ export const getFeatures = ( setActiveModal ) => { { type: 'tertiary', text: __( 'Learn more', 'woocommerce-paypal-payments' ), - urls: { - sandbox: '#', - live: '#', - }, + url: 'https://www.paypal.com/us/enterprise/payment-processing/accept-venmo', class: 'small-button', }, ], @@ -239,6 +236,17 @@ export const getFeatures = ( setActiveModal ) => { !! window.ppcpSettings?.isPayLaterConfiguratorAvailable && countryData ) { + const countryLocation = [ + 'UK', + 'ES', + 'IT', + 'FR', + 'US', + 'DE', + 'AU', + ].includes( storeCountry ) + ? storeCountry.toLowerCase() + : 'us'; features.push( { id: 'pay_later_messaging', title: __( 'Pay Later Messaging', 'woocommerce-paypal-payments' ), @@ -256,20 +264,10 @@ export const getFeatures = ( setActiveModal ) => { showWhen: 'enabled', class: 'small-button', }, - { - type: 'secondary', - text: __( 'Sign up', 'woocommerce-paypal-payments' ), - urls: { - sandbox: '#', - live: '#', - }, - showWhen: 'disabled', - class: 'small-button', - }, { type: 'tertiary', text: __( 'Learn more', 'woocommerce-paypal-payments' ), - url: 'https://developer.paypal.com/studio/checkout/pay-later/us', + url: `https://www.paypal.com/${ countryLocation }/business/accept-payments/checkout/installments`, class: 'small-button', }, ],