diff --git a/Gateway/Command/CaptureStrategyCommand.php b/Gateway/Command/CaptureStrategyCommand.php index 8daea20..1ce398b 100644 --- a/Gateway/Command/CaptureStrategyCommand.php +++ b/Gateway/Command/CaptureStrategyCommand.php @@ -34,11 +34,6 @@ class CaptureStrategyCommand implements CommandInterface */ const CAPTURE = 'charge_capture'; - /** - * Vault capture command - */ - const VAULT_CAPTURE = 'vault_capture'; - /** * @var CommandPoolInterface */ @@ -130,7 +125,7 @@ private function getCommand(OrderPaymentInterface $payment) } // Process capture for payment via Vault - return self::VAULT_CAPTURE; + return self::CAPTURE; } /** diff --git a/etc/di.xml b/etc/di.xml index 1806f00..d604e9a 100644 --- a/etc/di.xml +++ b/etc/di.xml @@ -79,7 +79,7 @@ AuneStripeCaptureStrategyCommand AuneStripeCaptureCommand AuneStripeVaultAuthorizeCommand - AuneStripeVaultCaptureCommand + AuneStripeVaultSaleCommand AuneStripeRefundCommand AuneStripeRefundCommand AuneStripeRefundCommand @@ -183,17 +183,6 @@ - - - - Aune\Stripe\Gateway\Http\TransferFactory - Aune\Stripe\Gateway\Http\Client\ChargeCapture - Aune\Stripe\Gateway\Request\ChargeCaptureDataBuilder - Aune\Stripe\Gateway\Response\ChargeIdHandler - Aune\Stripe\Gateway\Validator\ResponseValidator - - -