mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Show Venmo in cancellation section
This commit is contained in:
parent
9ef61a2b81
commit
014af02fbc
3 changed files with 45 additions and 7 deletions
|
@ -28,7 +28,10 @@ return array(
|
|||
return $session_handler;
|
||||
},
|
||||
'session.cancellation.view' => function ( ContainerInterface $container ) : CancelView {
|
||||
return new CancelView();
|
||||
return new CancelView(
|
||||
$container->get( 'wcgateway.settings' ),
|
||||
$container->get( 'wcgateway.funding-source.renderer' )
|
||||
);
|
||||
},
|
||||
'session.cancellation.controller' => function ( ContainerInterface $container ) : CancelController {
|
||||
return new CancelController(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue