diff --git a/modules.local/ppcp-onboarding/src/Render/OnboardingRenderer.php b/modules.local/ppcp-onboarding/src/Render/OnboardingRenderer.php index bfa67b585..1b21242ca 100644 --- a/modules.local/ppcp-onboarding/src/Render/OnboardingRenderer.php +++ b/modules.local/ppcp-onboarding/src/Render/OnboardingRenderer.php @@ -34,7 +34,7 @@ class OnboardingRenderer data-paypal-button="true" > diff --git a/modules.local/ppcp-wc-gateway/services.php b/modules.local/ppcp-wc-gateway/services.php index eacd8be65..50d036023 100644 --- a/modules.local/ppcp-wc-gateway/services.php +++ b/modules.local/ppcp-wc-gateway/services.php @@ -567,7 +567,7 @@ return [ 'gateway' => 'paypal', ], 'message_heading' => [ - 'heading' => __('Message on Checkout', 'woocommerce-paypal-commerce-gateway'), + 'heading' => __('Credit Messaging on Checkout', 'woocommerce-paypal-commerce-gateway'), 'type' => 'ppcp-heading', 'screens' => [ State::STATE_PROGRESSIVE, @@ -589,7 +589,7 @@ return [ 'gateway' => 'paypal', ], 'message_layout' => [ - 'title' => __('Message layout', 'woocommerce-paypal-commerce-gateway'), + 'title' => __('Credit Messaging layout', 'woocommerce-paypal-commerce-gateway'), 'type' => 'select', 'class' => ['wc-enhanced-select'], 'default' => 'text', @@ -610,7 +610,7 @@ return [ 'gateway' => 'paypal', ], 'message_logo' => [ - 'title' => __('Message logo', 'woocommerce-paypal-commerce-gateway'), + 'title' => __('Credit Messaging logo', 'woocommerce-paypal-commerce-gateway'), 'type' => 'select', 'class' => ['wc-enhanced-select'], 'default' => 'primary', @@ -633,7 +633,7 @@ return [ 'gateway' => 'paypal', ], 'message_position' => [ - 'title' => __('Message logo position', 'woocommerce-paypal-commerce-gateway'), + 'title' => __('Credit Messaging logo position', 'woocommerce-paypal-commerce-gateway'), 'type' => 'select', 'class' => ['wc-enhanced-select'], 'default' => 'left', @@ -655,7 +655,7 @@ return [ 'gateway' => 'paypal', ], 'message_color' => [ - 'title' => __('Message text color', 'woocommerce-paypal-commerce-gateway'), + 'title' => __('Credit Messaging text color', 'woocommerce-paypal-commerce-gateway'), 'type' => 'select', 'class' => ['wc-enhanced-select'], 'default' => 'black', @@ -678,7 +678,7 @@ return [ 'gateway' => 'paypal', ], 'message_flex_color' => [ - 'title' => __('Message color', 'woocommerce-paypal-commerce-gateway'), + 'title' => __('Credit Messaging color', 'woocommerce-paypal-commerce-gateway'), 'type' => 'select', 'class' => ['wc-enhanced-select'], 'default' => 'blue', @@ -704,7 +704,7 @@ return [ 'gateway' => 'paypal', ], 'message_flex_ratio' => [ - 'title' => __('Message ratio', 'woocommerce-paypal-commerce-gateway'), + 'title' => __('Credit Messaging ratio', 'woocommerce-paypal-commerce-gateway'), 'type' => 'select', 'class' => ['wc-enhanced-select'], 'default' => '1x1', @@ -857,7 +857,7 @@ return [ ], 'message_product_heading' => [ - 'heading' => __('Message on Single product', 'woocommerce-paypal-commerce-gateway'), + 'heading' => __('Credit Messaging on Single product', 'woocommerce-paypal-commerce-gateway'), 'type' => 'ppcp-heading', 'screens' => [ State::STATE_PROGRESSIVE, @@ -879,7 +879,7 @@ return [ 'gateway' => 'paypal', ], 'message_product_layout' => [ - 'title' => __('Message layout', 'woocommerce-paypal-commerce-gateway'), + 'title' => __('Credit Messaging layout', 'woocommerce-paypal-commerce-gateway'), 'type' => 'select', 'class' => ['wc-enhanced-select'], 'default' => 'text', @@ -900,7 +900,7 @@ return [ 'gateway' => 'paypal', ], 'message_product_logo' => [ - 'title' => __('Message logo', 'woocommerce-paypal-commerce-gateway'), + 'title' => __('Credit Messaging logo', 'woocommerce-paypal-commerce-gateway'), 'type' => 'select', 'class' => ['wc-enhanced-select'], 'default' => 'primary', @@ -923,7 +923,7 @@ return [ 'gateway' => 'paypal', ], 'message_product_position' => [ - 'title' => __('Message logo position', 'woocommerce-paypal-commerce-gateway'), + 'title' => __('Credit Messaging logo position', 'woocommerce-paypal-commerce-gateway'), 'type' => 'select', 'class' => ['wc-enhanced-select'], 'default' => 'left', @@ -945,7 +945,7 @@ return [ 'gateway' => 'paypal', ], 'message_product_color' => [ - 'title' => __('Message text color', 'woocommerce-paypal-commerce-gateway'), + 'title' => __('Credit Messaging text color', 'woocommerce-paypal-commerce-gateway'), 'type' => 'select', 'class' => ['wc-enhanced-select'], 'default' => 'black', @@ -968,7 +968,7 @@ return [ 'gateway' => 'paypal', ], 'message_product_flex_color' => [ - 'title' => __('Message color', 'woocommerce-paypal-commerce-gateway'), + 'title' => __('Credit Messaging color', 'woocommerce-paypal-commerce-gateway'), 'type' => 'select', 'class' => ['wc-enhanced-select'], 'default' => 'blue', @@ -994,7 +994,7 @@ return [ 'gateway' => 'paypal', ], 'message_product_flex_ratio' => [ - 'title' => __('Message ratio', 'woocommerce-paypal-commerce-gateway'), + 'title' => __('Credit Messaging ratio', 'woocommerce-paypal-commerce-gateway'), 'type' => 'select', 'class' => ['wc-enhanced-select'], 'default' => '1x1', @@ -1276,7 +1276,7 @@ return [ ], 'message_cart_heading' => [ - 'heading' => __('Message on Cart', 'woocommerce-paypal-commerce-gateway'), + 'heading' => __('Credit Messaging on Cart', 'woocommerce-paypal-commerce-gateway'), 'type' => 'ppcp-heading', 'screens' => [ State::STATE_PROGRESSIVE, @@ -1298,7 +1298,7 @@ return [ 'gateway' => 'paypal', ], 'message_cart_layout' => [ - 'title' => __('Message layout', 'woocommerce-paypal-commerce-gateway'), + 'title' => __('Credit Messaging layout', 'woocommerce-paypal-commerce-gateway'), 'type' => 'select', 'class' => ['wc-enhanced-select'], 'default' => 'text', @@ -1319,7 +1319,7 @@ return [ 'gateway' => 'paypal', ], 'message_cart_logo' => [ - 'title' => __('Message logo', 'woocommerce-paypal-commerce-gateway'), + 'title' => __('Credit Messaging logo', 'woocommerce-paypal-commerce-gateway'), 'type' => 'select', 'class' => ['wc-enhanced-select'], 'default' => 'primary', @@ -1342,7 +1342,7 @@ return [ 'gateway' => 'paypal', ], 'message_cart_position' => [ - 'title' => __('Message logo position', 'woocommerce-paypal-commerce-gateway'), + 'title' => __('Credit Messaging logo position', 'woocommerce-paypal-commerce-gateway'), 'type' => 'select', 'class' => ['wc-enhanced-select'], 'default' => 'left', @@ -1364,7 +1364,7 @@ return [ 'gateway' => 'paypal', ], 'message_cart_color' => [ - 'title' => __('Message text color', 'woocommerce-paypal-commerce-gateway'), + 'title' => __('Credit Messaging text color', 'woocommerce-paypal-commerce-gateway'), 'type' => 'select', 'class' => ['wc-enhanced-select'], 'default' => 'black', @@ -1387,7 +1387,7 @@ return [ 'gateway' => 'paypal', ], 'message_cart_flex_color' => [ - 'title' => __('Message color', 'woocommerce-paypal-commerce-gateway'), + 'title' => __('Credit Messaging color', 'woocommerce-paypal-commerce-gateway'), 'type' => 'select', 'class' => ['wc-enhanced-select'], 'default' => 'blue', @@ -1413,7 +1413,7 @@ return [ 'gateway' => 'paypal', ], 'message_cart_flex_ratio' => [ - 'title' => __('Message ratio', 'woocommerce-paypal-commerce-gateway'), + 'title' => __('Credit Messaging ratio', 'woocommerce-paypal-commerce-gateway'), 'type' => 'select', 'class' => ['wc-enhanced-select'], 'default' => '1x1', diff --git a/modules.local/ppcp-wc-gateway/src/Gateway/CreditCardGateway.php b/modules.local/ppcp-wc-gateway/src/Gateway/CreditCardGateway.php index 36ef8d21a..0a0857159 100644 --- a/modules.local/ppcp-wc-gateway/src/Gateway/CreditCardGateway.php +++ b/modules.local/ppcp-wc-gateway/src/Gateway/CreditCardGateway.php @@ -48,7 +48,7 @@ class CreditCardGateway extends PayPalGateway ]; } - $this->method_title = __('PayPal Credit Card', 'woocommerce-paypal-commerce-gateway'); + $this->method_title = __('PayPal Credit Card Processing', 'woocommerce-paypal-commerce-gateway'); $this->method_description = __( 'Provide your customers with the option to pay with credit card.', 'woocommerce-paypal-commerce-gateway' diff --git a/modules.local/ppcp-wc-gateway/src/Gateway/PayPalGateway.php b/modules.local/ppcp-wc-gateway/src/Gateway/PayPalGateway.php index 88a3d6e63..5dfdeb306 100644 --- a/modules.local/ppcp-wc-gateway/src/Gateway/PayPalGateway.php +++ b/modules.local/ppcp-wc-gateway/src/Gateway/PayPalGateway.php @@ -66,7 +66,7 @@ class PayPalGateway extends \WC_Payment_Gateway ]; } - $this->method_title = __('PayPal Payments', 'woocommerce-paypal-commerce-gateway'); + $this->method_title = __('PayPal', 'woocommerce-paypal-commerce-gateway'); $this->method_description = __( 'Provide your customers with the PayPal payment option.', 'woocommerce-paypal-commerce-gateway' diff --git a/modules.local/ppcp-wc-gateway/src/Settings/SettingsRenderer.php b/modules.local/ppcp-wc-gateway/src/Settings/SettingsRenderer.php index b11af95b8..ffab43153 100644 --- a/modules.local/ppcp-wc-gateway/src/Settings/SettingsRenderer.php +++ b/modules.local/ppcp-wc-gateway/src/Settings/SettingsRenderer.php @@ -185,6 +185,34 @@ class SettingsRenderer : woocommerce_form_field($key, $config, $value); ?>> +
+ ', + '' + ) + ); ?> +
+