add logger to PayPalBearer

This commit is contained in:
David Remer 2020-07-01 13:50:52 +03:00
parent 436d4ed3c8
commit e33a13482e

View file

@ -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 {