Replace PayPal Credit to Pay Later in payment settings page

This commit is contained in:
dinamiko 2021-01-21 11:11:23 +01:00
parent 592237822a
commit 09fdd98369
2 changed files with 6 additions and 6 deletions

View file

@ -541,7 +541,7 @@ return array(
'default' => false, 'default' => false,
'desc_tip' => true, 'desc_tip' => true,
'description' => __( 'description' => __(
'If you enable this setting, PayPal will be instructed not to allow the buyer to use funding sources that take additional time to complete (for example, eChecks). Instead, the buyer will be required to use an instant funding source, such as an instant transfer, a credit/debit card, or PayPal Credit.', 'If you enable this setting, PayPal will be instructed not to allow the buyer to use funding sources that take additional time to complete (for example, eChecks). Instead, the buyer will be required to use an instant funding source, such as an instant transfer, a credit/debit card, or Pay Later.',
'woocommerce-paypal-payments' 'woocommerce-paypal-payments'
), ),
'label' => __( 'Require Instant Payment', 'woocommerce-paypal-payments' ), 'label' => __( 'Require Instant Payment', 'woocommerce-paypal-payments' ),
@ -603,7 +603,7 @@ return array(
), ),
'options' => array( 'options' => array(
'card' => _x( 'Credit or debit cards', 'Name of payment method', 'woocommerce-paypal-payments' ), 'card' => _x( 'Credit or debit cards', 'Name of payment method', 'woocommerce-paypal-payments' ),
'credit' => _x( 'PayPal Credit', 'Name of payment method', 'woocommerce-paypal-payments' ), 'credit' => _x( 'Pay Later', 'Name of payment method', 'woocommerce-paypal-payments' ),
'sepa' => _x( 'SEPA-Lastschrift', 'Name of payment method', 'woocommerce-paypal-payments' ), 'sepa' => _x( 'SEPA-Lastschrift', 'Name of payment method', 'woocommerce-paypal-payments' ),
'bancontact' => _x( 'Bancontact', 'Name of payment method', 'woocommerce-paypal-payments' ), 'bancontact' => _x( 'Bancontact', 'Name of payment method', 'woocommerce-paypal-payments' ),
'eps' => _x( 'eps', 'Name of payment method', 'woocommerce-paypal-payments' ), 'eps' => _x( 'eps', 'Name of payment method', 'woocommerce-paypal-payments' ),
@ -804,7 +804,7 @@ return array(
), ),
'requirements' => array( 'messages' ), 'requirements' => array( 'messages' ),
'gateway' => 'paypal', 'gateway' => 'paypal',
'description' => str_replace( '<a>', '<a href="https://www.paypal.com/us/business/buy-now-pay-later">', __( 'Customize the appearance of <a>PayPal Credit messages</a> on checkout to promote special financing offers, which help increase sales.', 'woocommerce-paypal-payments' ) ), 'description' => str_replace( '<a>', '<a href="https://www.paypal.com/us/business/buy-now-pay-later">', __( 'Customize the appearance of <a>Pay Later messages</a> on checkout to promote special financing offers, which help increase sales.', 'woocommerce-paypal-payments' ) ),
'class' => array( 'ppcp-subheading' ), 'class' => array( 'ppcp-subheading' ),
), ),
'message_enabled' => array( 'message_enabled' => array(
@ -1107,7 +1107,7 @@ return array(
), ),
'requirements' => array( 'messages' ), 'requirements' => array( 'messages' ),
'gateway' => 'paypal', 'gateway' => 'paypal',
'description' => str_replace( '<a>', '<a href="https://www.paypal.com/us/business/buy-now-pay-later">', __( 'Customize the appearance of <a>PayPal Credit messages</a> on product pages to promote special financing offers, which help increase sales.', 'woocommerce-paypal-payments' ) ), 'description' => str_replace( '<a>', '<a href="https://www.paypal.com/us/business/buy-now-pay-later">', __( 'Customize the appearance of <a>Pay Later messages</a> on product pages to promote special financing offers, which help increase sales.', 'woocommerce-paypal-payments' ) ),
'class' => array( 'ppcp-subheading' ), 'class' => array( 'ppcp-subheading' ),
), ),
'message_product_enabled' => array( 'message_product_enabled' => array(
@ -1410,7 +1410,7 @@ return array(
), ),
'requirements' => array( 'messages' ), 'requirements' => array( 'messages' ),
'gateway' => 'paypal', 'gateway' => 'paypal',
'description' => str_replace( '<a>', '<a href="https://www.paypal.com/us/business/buy-now-pay-later">', __( 'Customize the appearance of <a>PayPal Credit messages</a> on your cart page to promote special financing offers, which help increase sales.', 'woocommerce-paypal-payments' ) ), 'description' => str_replace( '<a>', '<a href="https://www.paypal.com/us/business/buy-now-pay-later">', __( 'Customize the appearance of <a>Pay Later messages</a> on your cart page to promote special financing offers, which help increase sales.', 'woocommerce-paypal-payments' ) ),
'class' => array( 'ppcp-subheading' ), 'class' => array( 'ppcp-subheading' ),
), ),
'message_cart_enabled' => array( 'message_cart_enabled' => array(

View file

@ -290,7 +290,7 @@ class PayPalGateway extends \WC_Payment_Gateway {
} }
return __( return __(
'Accept PayPal, PayPal Credit and alternative payment types.', 'Accept PayPal, Pay Later and alternative payment types.',
'woocommerce-paypal-payments' 'woocommerce-paypal-payments'
); );
} }