mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Display authorized payment captured state on the orders table
This commit is contained in:
parent
72cb5b4944
commit
7e41ca3852
3 changed files with 115 additions and 3 deletions
|
@ -6,6 +6,7 @@ namespace Inpsyde\PayPalCommerce\WcGateway;
|
|||
|
||||
use Dhii\Data\Container\ContainerInterface;
|
||||
use Inpsyde\PayPalCommerce\WcGateway\Admin\AuthorizedPaymentStatus;
|
||||
use Inpsyde\PayPalCommerce\WcGateway\Admin\AuthorizedPaymentStatusColumn;
|
||||
use Inpsyde\PayPalCommerce\WcGateway\Admin\OrderDetail;
|
||||
use Inpsyde\PayPalCommerce\WcGateway\Checkout\DisableGateways;
|
||||
use Inpsyde\PayPalCommerce\WcGateway\Gateway\WcGateway;
|
||||
|
@ -71,5 +72,9 @@ return [
|
|||
},
|
||||
'wcgateway.admin.authorized-payment-status' => function(ContainerInterface $container): AuthorizedPaymentStatus {
|
||||
return new AuthorizedPaymentStatus();
|
||||
},
|
||||
'wcgateway.admin.authorized-payment-status-column' => function(ContainerInterface $container): AuthorizedPaymentStatusColumn {
|
||||
$settings = $container->get('wcgateway.settings');
|
||||
return new AuthorizedPaymentStatusColumn($settings);
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue