Merge pull request #3228 from woocommerce/PCP-4348-remove-apple-pay-google-pay-from-the-verbiage-when-region-is-not-eligible

Remove Apple Pay, Google Pay from the verbiage when region is not eligible (4348)
This commit is contained in:
Emili Castells 2025-03-17 14:56:05 +01:00 committed by GitHub
commit e07cacee65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,6 +21,16 @@ const StepWelcome = ( { setStep, currentStep } ) => {
canUseFastlane canUseFastlane
); );
const onboardingHeaderDescription = canUseCardPayments
? __(
'Your all-in-one integration for PayPal checkout solutions that enable buyers to pay via PayPal, Pay Later, all major credit/debit cards, Apple Pay, Google Pay, and more.',
'woocommerce-paypal-payments'
)
: __(
'Your all-in-one integration for PayPal checkout solutions that enable buyers to pay via PayPal, Pay Later, all major credit/debit cards, and more.',
'woocommerce-paypal-payments'
);
return ( return (
<div className="ppcp-r-page-welcome"> <div className="ppcp-r-page-welcome">
<OnboardingHeader <OnboardingHeader
@ -28,10 +38,7 @@ const StepWelcome = ( { setStep, currentStep } ) => {
'Welcome to PayPal Payments', 'Welcome to PayPal Payments',
'woocommerce-paypal-payments' 'woocommerce-paypal-payments'
) } ) }
description={ __( description={ onboardingHeaderDescription }
'Your all-in-one integration for PayPal checkout solutions that enable buyers to pay via PayPal, Pay Later, all major credit/debit cards, Apple Pay, Google Pay, and more.',
'woocommerce-paypal-payments'
) }
/> />
<div className="ppcp-r-inner-container"> <div className="ppcp-r-inner-container">
<WelcomeFeatures /> <WelcomeFeatures />