mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
Add PAYPAL convert action service ID to the removed services
This commit is contained in:
parent
ba400e4fa0
commit
b3914d4bcd
2 changed files with 3 additions and 1 deletions
|
|
@ -63,6 +63,7 @@
|
|||
"nyholm/psr7": "^1.6",
|
||||
"pagerfanta/pagerfanta": "^3.0",
|
||||
"payum/core": "^1.7.3",
|
||||
"payum/offline": "^1.7.3",
|
||||
"payum/payum-bundle": "^2.5",
|
||||
"php-http/httplug": "^2.4",
|
||||
"php-http/message-factory": "^1.0",
|
||||
|
|
@ -213,7 +214,6 @@
|
|||
"matthiasnoback/symfony-dependency-injection-test": "^4.2",
|
||||
"mikey179/vfsstream": "^1.6",
|
||||
"mockery/mockery": "^1.4",
|
||||
"payum/offline": "^1.7.3",
|
||||
"payum/paypal-express-checkout-nvp": "^1.7.3",
|
||||
"payum/stripe": "^1.7.3",
|
||||
"phparkitect/phparkitect": "^0.2.9",
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|||
final class UnregisterPaypalGatewayTypePass implements CompilerPassInterface
|
||||
{
|
||||
private const PAYPAL_GATEWAY_TYPE_SERVICE_ID = 'sylius.form.type.gateway_configuration.paypal';
|
||||
private const PAYPAL_CONVERT_ACTION_SERVICE_ID = 'sylius.payum_action.paypal_express_checkout.convert_payment';
|
||||
|
||||
public function process(ContainerBuilder $container): void
|
||||
{
|
||||
|
|
@ -28,5 +29,6 @@ final class UnregisterPaypalGatewayTypePass implements CompilerPassInterface
|
|||
}
|
||||
|
||||
$container->removeDefinition(self::PAYPAL_GATEWAY_TYPE_SERVICE_ID);
|
||||
$container->removeDefinition(self::PAYPAL_CONVERT_ACTION_SERVICE_ID);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue