Remove payee repository on smart button class

This commit is contained in:
dinamiko 2021-06-17 14:42:41 +02:00
parent 8774879b79
commit 64f856b83d
2 changed files with 0 additions and 13 deletions

View file

@ -59,7 +59,6 @@ return array(
if ( $paypal_disabled ) {
return new DisabledSmartButton();
}
$payee_repository = $container->get( 'api.repository.payee' );
$payer_factory = $container->get( 'api.factory.payer' );
$request_data = $container->get( 'button.request-data' );
@ -73,7 +72,6 @@ return array(
$container->get( 'button.url' ),
$container->get( 'session.handler' ),
$settings,
$payee_repository,
$payer_factory,
$client_id,
$request_data,