import BadgeBox from '../BadgeBox'; import { __, sprintf } from '@wordpress/i18n'; const BcdcOptionalPaymentMethods = ( { isPayLater, storeCountry } ) => { if ( isPayLater && storeCountry === 'us' ) { return (
1', 'woocommerce-paypal-payments' ) } description={ sprintf( // translators: %s: Link to PayPal REST application guide __( 'Process major credit and debit cards through PayPal’s card fields. 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 __( 'Process major credit and debit cards through PayPal’s card fields. Learn more', 'woocommerce-paypal-payments' ), 'https://woocommerce.com/document/woocommerce-paypal-payments/#manual-credential-input ' ) } />
); }; export default BcdcOptionalPaymentMethods;