mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-07 19:54:15 +08:00
do not enable the gateways by default
This commit is contained in:
parent
3b46feffce
commit
d2d7d533a0
2 changed files with 3 additions and 3 deletions
|
@ -79,7 +79,7 @@ class CreditCardGateway extends PayPalGateway
|
|||
'title' => __('Enable/Disable', 'woocommerce-paypal-commerce-gateway'),
|
||||
'type' => 'checkbox',
|
||||
'label' => __('Enable Credit Card Payments', 'woocommerce-paypal-commerce-gateway'),
|
||||
'default' => 'yes',
|
||||
'default' => 'no',
|
||||
],
|
||||
'ppcp' => [
|
||||
'type' => 'ppcp',
|
||||
|
|
|
@ -68,7 +68,7 @@ class PayPalGateway extends \WC_Payment_Gateway
|
|||
|
||||
$this->method_title = __('PayPal Payments', 'woocommerce-paypal-commerce-gateway');
|
||||
$this->method_description = __(
|
||||
'Provide your customers with the PayPal payment system',
|
||||
'Provide your customers with the PayPal payment option.',
|
||||
'woocommerce-paypal-commerce-gateway'
|
||||
);
|
||||
$this->title = $this->config->has('title') ?
|
||||
|
@ -101,7 +101,7 @@ class PayPalGateway extends \WC_Payment_Gateway
|
|||
'title' => __('Enable/Disable', 'woocommerce-paypal-commerce-gateway'),
|
||||
'type' => 'checkbox',
|
||||
'label' => __('Enable PayPal Payments', 'woocommerce-paypal-commerce-gateway'),
|
||||
'default' => 'yes',
|
||||
'default' => 'no',
|
||||
],
|
||||
'ppcp' => [
|
||||
'type' => 'ppcp',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue