mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
process orders when credit card is approved
This commit is contained in:
parent
f9dac40c47
commit
241a5e170d
5 changed files with 36 additions and 10 deletions
|
@ -77,12 +77,14 @@ return [
|
|||
$orderEndpoint = $container->get('api.endpoint.order');
|
||||
$paymentsEndpoint = $container->get('api.endpoint.payments');
|
||||
$orderFactory = $container->get('api.factory.order');
|
||||
$threeDsecure = $container->get('button.helper.three-d-secure');
|
||||
return new OrderProcessor(
|
||||
$sessionHandler,
|
||||
$cartRepository,
|
||||
$orderEndpoint,
|
||||
$paymentsEndpoint,
|
||||
$orderFactory
|
||||
$orderFactory,
|
||||
$threeDsecure
|
||||
);
|
||||
},
|
||||
'wcgateway.processor.authorized-payments' => static function (ContainerInterface $container): AuthorizedPaymentsProcessor {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue