mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Fix update payment source on WC Order subscription renewals.
This commit is contained in:
parent
977f9836e2
commit
6a99a9befc
2 changed files with 45 additions and 2 deletions
|
@ -27,6 +27,7 @@ return array(
|
|||
$environment = $container->get( 'onboarding.environment' );
|
||||
$settings = $container->get( 'wcgateway.settings' );
|
||||
$authorized_payments_processor = $container->get( 'wcgateway.processor.authorized-payments' );
|
||||
$funding_source_renderer = $container->get( 'wcgateway.funding-source.renderer' );
|
||||
return new RenewalHandler(
|
||||
$logger,
|
||||
$repository,
|
||||
|
@ -36,7 +37,8 @@ return array(
|
|||
$payer_factory,
|
||||
$environment,
|
||||
$settings,
|
||||
$authorized_payments_processor
|
||||
$authorized_payments_processor,
|
||||
$funding_source_renderer
|
||||
);
|
||||
},
|
||||
'wc-subscriptions.repository.payment-token' => static function ( ContainerInterface $container ): PaymentTokenRepository {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue