diff --git a/modules/ppcp-settings/resources/js/Components/Screens/Onboarding/Components/AcdcOptionalPaymentMethods.js b/modules/ppcp-settings/resources/js/Components/Screens/Onboarding/Components/AcdcOptionalPaymentMethods.js
index bdd921d81..a4b4a1a8e 100644
--- a/modules/ppcp-settings/resources/js/Components/Screens/Onboarding/Components/AcdcOptionalPaymentMethods.js
+++ b/modules/ppcp-settings/resources/js/Components/Screens/Onboarding/Components/AcdcOptionalPaymentMethods.js
@@ -1,9 +1,10 @@
-import { __ } from '@wordpress/i18n';
-
-import BadgeBox from '../../../ReusableComponents/BadgeBox';
import { Separator } from '../../../ReusableComponents/Elements';
-import PricingTitleBadge from '../../../ReusableComponents/PricingTitleBadge';
-import { CardFields } from './PaymentOptions';
+import {
+ AlternativePaymentMethods,
+ CardFields,
+ DigitalWallets,
+ Fastlane,
+} from './PaymentOptions';
const AcdcOptionalPaymentMethods = ( {
isFastlane,
@@ -15,59 +16,11 @@ const AcdcOptionalPaymentMethods = ( {
-
}
- description={ __(
- 'Accept Apple Pay on eligible devices and Google Pay through mobile and web.',
- 'woocommerce-paypal-payments'
- ) }
- learnMoreLink={
- 'https://www.paypal.com/us/business/paypal-business-fees'
- }
- />
+
-
}
- description={ __(
- 'Seamless payments for customers across the globe using their preferred payment methods.',
- 'woocommerce-paypal-payments'
- ) }
- learnMoreLink={
- 'https://www.paypal.com/us/business/paypal-business-fees'
- }
- />
+
-
- }
- description={ __(
- "Speed up guest checkout with Fatslane. Link a customer's email address to their payment details.",
- 'woocommerce-paypal-payments'
- ) }
- learnMoreLink={
- 'https://www.paypal.com/us/business/paypal-business-fees'
- }
- />
+
);
}
@@ -77,45 +30,9 @@ const AcdcOptionalPaymentMethods = ( {
-
}
- description={ __(
- 'Accept Apple Pay on eligible devices and Google Pay through mobile and web.',
- 'woocommerce-paypal-payments'
- ) }
- learnMoreLink={
- 'https://www.paypal.com/us/business/paypal-business-fees'
- }
- />
+
-
}
- description={ __(
- 'Seamless payments for customers across the globe using their preferred payment methods.',
- 'woocommerce-paypal-payments'
- ) }
- learnMoreLink={
- 'https://www.paypal.com/us/business/paypal-business-fees'
- }
- />
+
);
}
@@ -124,42 +41,9 @@ const AcdcOptionalPaymentMethods = ( {
-
}
- description={ __(
- 'Accept Apple Pay on eligible devices and Google Pay through mobile and web.',
- 'woocommerce-paypal-payments'
- ) }
- learnMoreLink={
- 'https://www.paypal.com/us/business/paypal-business-fees'
- }
- />
+
-
}
- description={ __(
- 'Seamless payments for customers across the globe using their preferred payment methods.',
- 'woocommerce-paypal-payments'
- ) }
- learnMoreLink={
- 'https://www.paypal.com/us/business/paypal-business-fees'
- }
- />
+
);
};
diff --git a/modules/ppcp-settings/resources/js/Components/Screens/Onboarding/Components/PaymentOptions/AlternativePaymentMethods.js b/modules/ppcp-settings/resources/js/Components/Screens/Onboarding/Components/PaymentOptions/AlternativePaymentMethods.js
new file mode 100644
index 000000000..f546eca33
--- /dev/null
+++ b/modules/ppcp-settings/resources/js/Components/Screens/Onboarding/Components/PaymentOptions/AlternativePaymentMethods.js
@@ -0,0 +1,28 @@
+import { __ } from '@wordpress/i18n';
+import PricingTitleBadge from '../../../../ReusableComponents/PricingTitleBadge';
+import BadgeBox from '../../../../ReusableComponents/BadgeBox';
+
+const AlternativePaymentMethods = () => (
+ }
+ description={ __(
+ 'Seamless payments for customers across the globe using their preferred payment methods.',
+ 'woocommerce-paypal-payments'
+ ) }
+ learnMoreLink={
+ 'https://www.paypal.com/us/business/paypal-business-fees'
+ }
+ />
+);
+
+export default AlternativePaymentMethods;
diff --git a/modules/ppcp-settings/resources/js/Components/Screens/Onboarding/Components/PaymentOptions/DigitalWallets.js b/modules/ppcp-settings/resources/js/Components/Screens/Onboarding/Components/PaymentOptions/DigitalWallets.js
new file mode 100644
index 000000000..7a58b3fd2
--- /dev/null
+++ b/modules/ppcp-settings/resources/js/Components/Screens/Onboarding/Components/PaymentOptions/DigitalWallets.js
@@ -0,0 +1,23 @@
+import { __ } from '@wordpress/i18n';
+import PricingTitleBadge from '../../../../ReusableComponents/PricingTitleBadge';
+import BadgeBox from '../../../../ReusableComponents/BadgeBox';
+
+const DigitalWallets = () => (
+ }
+ description={ __(
+ 'Accept Apple Pay on eligible devices and Google Pay through mobile and web.',
+ 'woocommerce-paypal-payments'
+ ) }
+ learnMoreLink={
+ 'https://www.paypal.com/us/business/paypal-business-fees'
+ }
+ />
+);
+
+export default DigitalWallets;
diff --git a/modules/ppcp-settings/resources/js/Components/Screens/Onboarding/Components/PaymentOptions/Fastlane.js b/modules/ppcp-settings/resources/js/Components/Screens/Onboarding/Components/PaymentOptions/Fastlane.js
new file mode 100644
index 000000000..2c2bbf542
--- /dev/null
+++ b/modules/ppcp-settings/resources/js/Components/Screens/Onboarding/Components/PaymentOptions/Fastlane.js
@@ -0,0 +1,22 @@
+import { __ } from '@wordpress/i18n';
+import PricingTitleBadge from '../../../../ReusableComponents/PricingTitleBadge';
+import BadgeBox from '../../../../ReusableComponents/BadgeBox';
+
+const Fastlane = () => (
+
+ }
+ description={ __(
+ "Speed up guest checkout with Fatslane. Link a customer's email address to their payment details.",
+ 'woocommerce-paypal-payments'
+ ) }
+ learnMoreLink={
+ 'https://www.paypal.com/us/business/paypal-business-fees'
+ }
+ />
+);
+
+export default Fastlane;
diff --git a/modules/ppcp-settings/resources/js/Components/Screens/Onboarding/Components/PaymentOptions/index.js b/modules/ppcp-settings/resources/js/Components/Screens/Onboarding/Components/PaymentOptions/index.js
index 292b73ff0..6de5533d8 100644
--- a/modules/ppcp-settings/resources/js/Components/Screens/Onboarding/Components/PaymentOptions/index.js
+++ b/modules/ppcp-settings/resources/js/Components/Screens/Onboarding/Components/PaymentOptions/index.js
@@ -1,8 +1,11 @@
+export { default as AlternativePaymentMethods } from './AlternativePaymentMethods';
+export { default as CardFields } from './CardFields';
+export { default as CreditDebitCards } from './CreditDebitCards';
export { default as Crypto } from './Crypto';
+export { default as DigitalWallets } from './DigitalWallets';
+export { default as Fastlane } from './Fastlane';
export { default as PayInThree } from './PayInThree';
export { default as PayLater } from './PayLater';
export { default as PayPalCheckout } from './PayPalCheckout';
export { default as PayWithPayPal } from './PayWithPayPal';
export { default as Venmo } from './Venmo';
-export { default as CardFields } from './CardFields';
-export { default as CreditDebitCards } from './CreditDebitCards';