do not enable the gateways by default

This commit is contained in:
David Remer 2020-08-20 07:31:16 +03:00
parent 3b46feffce
commit d2d7d533a0
2 changed files with 3 additions and 3 deletions

View file

@ -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',

View file

@ -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',