From 4c2868a1f2c6d00fb017434016fa97c43fc28664 Mon Sep 17 00:00:00 2001 From: arti0090 Date: Thu, 5 Sep 2024 14:49:35 +0200 Subject: [PATCH] Fix config files after rebase --- config/packages.php | 9 -------- config/packages/events.php | 23 ------------------- config/services/payum/action.php | 14 ++++------- .../packages/commerce_weavers_tpay.yaml | 1 - 4 files changed, 4 insertions(+), 43 deletions(-) delete mode 100644 config/packages.php delete mode 100644 config/packages/events.php diff --git a/config/packages.php b/config/packages.php deleted file mode 100644 index daf459e9..00000000 --- a/config/packages.php +++ /dev/null @@ -1,9 +0,0 @@ -import('packages/**/*.php'); -}; diff --git a/config/packages/events.php b/config/packages/events.php deleted file mode 100644 index 6fc9cb45..00000000 --- a/config/packages/events.php +++ /dev/null @@ -1,23 +0,0 @@ -extension('sylius_ui', [ - 'events' => [ - 'sylius.shop.checkout.complete.summary' => [ - 'blocks' => [ - 'my_block_name' => [ - 'template' => '@CommerceWeaversSyliusTpayPlugin/blik.html.twig', - 'priority' => 5, - 'context' => [ - 'message' => 'Hello!', - ], - ], - ], - ], - ], - ]); -}; diff --git a/config/services/payum/action.php b/config/services/payum/action.php index a04f2270..dcb0b5b7 100644 --- a/config/services/payum/action.php +++ b/config/services/payum/action.php @@ -34,21 +34,15 @@ ->tag('payum.action', ['factory' => TpayGatewayFactory::NAME, 'alias' => 'cw.tpay.create_transaction']) ; - $services->set(CreateBlik0TransactionAction::class) - ->tag('payum.action', ['factory' => TpayGatewayFactory::NAME, 'alias' => 'cw.tpay.create_blik0_transaction']) - ; - - $services->set(FetchPaymentDetailsAction::class) - ->tag('payum.action', ['factory' => TpayGatewayFactory::NAME, 'alias' => 'cw.tpay.fetch_payment_details']) $services->set(NotifyAction::class) ->tag('payum.action', ['factory' => TpayGatewayFactory::NAME, 'alias' => 'cw.tpay.notify']) ; - $services->set(CreateBlik0TransactionAction::class) - ->tag('payum.action', ['factory' => TpayGatewayFactory::NAME, 'alias' => 'cw.tpay.create_blik0_transaction']) - ; - $services->set(GetStatusAction::class) ->tag('payum.action', ['factory' => TpayGatewayFactory::NAME, 'alias' => 'cw.tpay.get_status']) ; + + $services->set(CreateBlik0TransactionAction::class) + ->tag('payum.action', ['factory' => TpayGatewayFactory::NAME, 'alias' => 'cw.tpay.create_blik0_transaction']) + ; }; diff --git a/tests/Application/config/packages/commerce_weavers_tpay.yaml b/tests/Application/config/packages/commerce_weavers_tpay.yaml index 5968a4f4..5defcc58 100644 --- a/tests/Application/config/packages/commerce_weavers_tpay.yaml +++ b/tests/Application/config/packages/commerce_weavers_tpay.yaml @@ -1,3 +1,2 @@ imports: - { resource: "@CommerceWeaversSyliusTpayPlugin/config/config.php" } - - { resource: "@CommerceWeaversSyliusTpayPlugin/config/packages.php" }