import BadgeBox, { BADGE_BOX_TITLE_BIG } from '../BadgeBox'; import { __, sprintf } from '@wordpress/i18n'; import Separator from '../Separator'; const AcdcOptionalPaymentMethods = ( { isFastlane, isPayLater, storeCountry, } ) => { if ( isFastlane && isPayLater && storeCountry === 'us' ) { return (
1', 'woocommerce-paypal-payments' ) } description={ sprintf( // translators: %s: Link to PayPal REST application guide __( 'Style the credit card fields to match your own style. Includes advanced processing with risk management, 3D Secure, fraud protection options, and chargeback protection. Learn more', 'woocommerce-paypal-payments' ), 'https://woocommerce.com/document/woocommerce-paypal-payments/#manual-credential-input ' ) } /> 1', 'woocommerce-paypal-payments' ) } description={ sprintf( // translators: %s: Link to PayPal REST application guide __( 'Accept Apple Pay on eligible devices and Google Pay through mobile and web. Learn more', 'woocommerce-paypal-payments' ), 'https://woocommerce.com/document/woocommerce-paypal-payments/#manual-credential-input ' ) } /> 1', 'woocommerce-paypal-payments' ) } description={ sprintf( // translators: %s: Link to PayPal REST application guide __( 'Seamless payments for customers across the globe using their preferred payment methods. Learn more', 'woocommerce-paypal-payments' ), 'https://woocommerce.com/document/woocommerce-paypal-payments/#manual-credential-input ' ) } /> 1', 'woocommerce-paypal-payments' ) } description={ sprintf( // translators: %s: Link to PayPal REST application guide __( 'Speed up guest checkout with Fatslane. Link a customer\'s email address to their payment details. Learn more', 'woocommerce-paypal-payments' ), 'https://woocommerce.com/document/woocommerce-paypal-payments/#manual-credential-input ' ) } />
); } if ( isPayLater && storeCountry === 'uk' ) { return (
1', 'woocommerce-paypal-payments' ) } description={ sprintf( // translators: %s: Link to PayPal REST application guide __( 'Style the credit card fields to match your own style. Includes advanced processing with risk management, 3D Secure, fraud protection options, and chargeback protection. Learn more', 'woocommerce-paypal-payments' ), 'https://woocommerce.com/document/woocommerce-paypal-payments/#manual-credential-input ' ) } /> 1', 'woocommerce-paypal-payments' ) } description={ sprintf( // translators: %s: Link to PayPal REST application guide __( 'Accept Apple Pay on eligible devices and Google Pay through mobile and web. Learn more', 'woocommerce-paypal-payments' ), 'https://woocommerce.com/document/woocommerce-paypal-payments/#manual-credential-input ' ) } /> 1', 'woocommerce-paypal-payments' ) } description={ sprintf( // translators: %s: Link to PayPal REST application guide __( 'Seamless payments for customers across the globe using their preferred payment methods. Learn more', 'woocommerce-paypal-payments' ), 'https://woocommerce.com/document/woocommerce-paypal-payments/#manual-credential-input ' ) } />
); } return (
1', 'woocommerce-paypal-payments' ) } description={ sprintf( // translators: %s: Link to PayPal REST application guide __( 'Style the credit card fields to match your own style. Includes advanced processing with risk management, 3D Secure, fraud protection options, and chargeback protection. Learn more', 'woocommerce-paypal-payments' ), 'https://woocommerce.com/document/woocommerce-paypal-payments/#manual-credential-input ' ) } /> 1', 'woocommerce-paypal-payments' ) } description={ sprintf( // translators: %s: Link to PayPal REST application guide __( 'Accept Apple Pay on eligible devices and Google Pay through mobile and web. Learn more', 'woocommerce-paypal-payments' ), 'https://woocommerce.com/document/woocommerce-paypal-payments/#manual-credential-input ' ) } /> 1', 'woocommerce-paypal-payments' ) } description={ sprintf( // translators: %s: Link to PayPal REST application guide __( 'Seamless payments for customers across the globe using their preferred payment methods. Learn more', 'woocommerce-paypal-payments' ), 'https://woocommerce.com/document/woocommerce-paypal-payments/#manual-credential-input ' ) } />
); }; export default AcdcOptionalPaymentMethods;