mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 13:44:42 +08:00
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:
commit
e07cacee65
1 changed files with 11 additions and 4 deletions
|
@ -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 />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue