mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-08 21:52:55 +08:00
Merge branch 'master' of github.com:inpsyde/woocommerce-paypal-commerce-gateway
This commit is contained in:
commit
eb6a0369b9
1 changed files with 2 additions and 3 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue