mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
add logger to PayPalBearer
This commit is contained in:
parent
436d4ed3c8
commit
e33a13482e
1 changed files with 3 additions and 1 deletions
|
@ -74,11 +74,13 @@ return [
|
|||
//$secret = 'EILGMYK_0iiSbja8hT-nCBGl0BvKxEB4riHgyEO7QWDeUzCJ5r42JUEvrI7gpGyw0Qww8AIXxSdCIAny';
|
||||
|
||||
$host = $container->get('api.host');
|
||||
$logger = $container->get('woocommerce.logger.woocommerce');
|
||||
return new PayPalBearer(
|
||||
$pool,
|
||||
$host,
|
||||
$key,
|
||||
$secret
|
||||
$secret,
|
||||
$logger
|
||||
);
|
||||
},
|
||||
'onboarding.state' => function(ContainerInterface $container) : State {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue