Merge branch 'master' of github.com:inpsyde/woocommerce-paypal-commerce-gateway

This commit is contained in:
David Remer 2020-04-14 10:43:49 +03:00
commit eb6a0369b9

View file

@ -29,7 +29,6 @@ class WcGateway extends WcGatewayBase implements WcGatewayInterface
OrderFactory $orderFactory,
SettingsFields $settingsFields
) {
$this->sessionHandler = $sessionHandler;
$this->cartRepository = $cartRepository;
$this->endpoint = $endpoint;
@ -42,6 +41,8 @@ class WcGateway extends WcGatewayBase implements WcGatewayInterface
'woocommerce-paypal-gateway'
);
parent::__construct();
$this->title = $this->get_option('title');
$this->description = $this->get_option('description');
@ -55,8 +56,6 @@ class WcGateway extends WcGatewayBase implements WcGatewayInterface
'process_admin_options',
]
);
parent::__construct();
}
public function init_form_fields()