mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Ensure payment token exist for customer
This commit is contained in:
parent
c3f8076b92
commit
c058cd38c8
3 changed files with 62 additions and 3 deletions
|
@ -44,7 +44,8 @@ return array(
|
|||
$authorized_payments_processor,
|
||||
$funding_source_renderer,
|
||||
$container->get( 'wc-subscriptions.helpers.real-time-account-updater' ),
|
||||
$container->get( 'wc-subscriptions.helper' )
|
||||
$container->get( 'wc-subscriptions.helper' ),
|
||||
$container->get( 'api.endpoint.payment-tokens' )
|
||||
);
|
||||
},
|
||||
'wc-subscriptions.repository.payment-token' => static function ( ContainerInterface $container ): PaymentTokenRepository {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue