Move PayPal subscriptions api logic to its own module

This commit is contained in:
Emili Castells Guasch 2023-10-18 17:03:15 +02:00
parent b3c66f4cbb
commit 94674adc25
29 changed files with 707 additions and 604 deletions

View file

@ -31,7 +31,7 @@ return array(
},
'vaulting.credit-card-handler' => function( ContainerInterface $container ): VaultedCreditCardHandler {
return new VaultedCreditCardHandler(
$container->get( 'subscription.helper' ),
$container->get( 'wc-subscriptions.helper' ),
$container->get( 'vaulting.repository.payment-token' ),
$container->get( 'api.factory.purchase-unit' ),
$container->get( 'api.factory.payer' ),