Skip to content

Commit

Permalink
PAYOSWXP-114: remove storage of debit-mandates
Browse files Browse the repository at this point in the history
  • Loading branch information
rommelfreddy authored and janteuber committed Jun 25, 2024
1 parent 7b43480 commit b0907b6
Show file tree
Hide file tree
Showing 34 changed files with 36 additions and 1,039 deletions.
125 changes: 0 additions & 125 deletions src/Components/MandateService/MandateService.php

This file was deleted.

35 changes: 0 additions & 35 deletions src/Components/MandateService/MandateServiceInterface.php

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

12 changes: 0 additions & 12 deletions src/DependencyInjection/controllers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,6 @@
</call>
</service>

<service id="PayonePayment\Storefront\Controller\Account\AccountMandateController">
<argument type="service" id="PayonePayment\Storefront\Page\Mandate\AccountMandatePageLoader" />
<argument type="service" id="PayonePayment\StoreApi\Route\MandateRoute" />

<call method="setContainer">
<argument type="service" id="service_container"/>
</call>
<call method="setTwig">
<argument type="service" id="twig"/>
</call>
</service>

<service id="PayonePayment\Storefront\Controller\Account\AccountOrderControllerDecorator"
decorates="Shopware\Storefront\Controller\AccountOrderController">
<argument type="service" id="PayonePayment\Storefront\Controller\Account\AccountOrderControllerDecorator.inner" />
Expand Down
4 changes: 0 additions & 4 deletions src/DependencyInjection/entities.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
<tag name="shopware.entity.definition" entity="payone_payment_card"/>
</service>

<service id="PayonePayment\DataAbstractionLayer\Entity\Mandate\PayonePaymentMandateDefinition">
<tag name="shopware.entity.definition" entity="payone_payment_mandate"/>
</service>

<service id="PayonePayment\DataAbstractionLayer\Entity\NotificationTarget\PayonePaymentNotificationTargetDefinition">
<tag name="shopware.entity.definition" entity="payone_payment_notification_target"/>
</service>
Expand Down
1 change: 0 additions & 1 deletion src/DependencyInjection/handler/payment_handler.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@

<service id="PayonePayment\PaymentHandler\PayoneDebitPaymentHandler"
parent="PayonePayment\PaymentHandler\AbstractSynchronousPayonePaymentHandler">
<argument key="$mandateService" type="service" id="PayonePayment\Components\MandateService\MandateService" />

<tag name="shopware.payment.method.sync" />
</service>
Expand Down
13 changes: 0 additions & 13 deletions src/DependencyInjection/listeners.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@
<tag name="kernel.event_subscriber"/>
</service>

<service id="PayonePayment\EventListener\CheckoutConfirmDebitEventListener">
<argument type="service" id="PayonePayment\StoreApi\Route\MandateRoute" />

<tag name="kernel.event_subscriber"/>
</service>

<service id="PayonePayment\EventListener\CheckoutConfirmRatepayEventListener">
<argument type="service" id="Shopware\Core\System\SystemConfig\SystemConfigService" />
<argument type="service" id="PayonePayment\Components\Ratepay\Installment\InstallmentService" />
Expand All @@ -41,13 +35,6 @@
<tag name="kernel.event_subscriber"/>
</service>

<service id="PayonePayment\EventListener\CheckoutFinishEventListener">
<argument type="service" id="payone_payment_mandate.repository" />
<argument type="service" id="order_transaction.repository" />

<tag name="kernel.event_subscriber"/>
</service>

<service id="PayonePayment\EventListener\StorefrontRenderEventListener">
<argument type="service" id="cache.object"/>
<argument type="service" id="sales_channel.payment_method.repository"/>
Expand Down
6 changes: 0 additions & 6 deletions src/DependencyInjection/pages.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,5 @@
<argument type="service" id="event_dispatcher"/>
<argument type="service" id="PayonePayment\StoreApi\Route\CardRoute" />
</service>

<service id="PayonePayment\Storefront\Page\Mandate\AccountMandatePageLoader" >
<argument type="service" id="Shopware\Storefront\Page\GenericPageLoader"/>
<argument type="service" id="event_dispatcher"/>
<argument type="service" id="PayonePayment\StoreApi\Route\MandateRoute" />
</service>
</services>
</container>
7 changes: 0 additions & 7 deletions src/DependencyInjection/requestParameter/builder.xml
Original file line number Diff line number Diff line change
Expand Up @@ -574,13 +574,6 @@
<tag name="payone_request_builder"/>
</service>

<!-- Get File -->
<service id="PayonePayment\Payone\RequestParameter\Builder\Mandate\GetFileRequestParameterBuilder"
parent="PayonePayment\Payone\RequestParameter\Builder\AbstractRequestParameterBuilder">

<tag name="payone_request_builder"/>
</service>

<!-- Manage Mandate -->
<service id="PayonePayment\Payone\RequestParameter\Builder\Mandate\ManageMandateRequestParameterBuilder"
parent="PayonePayment\Payone\RequestParameter\Builder\AbstractRequestParameterBuilder">
Expand Down
Loading

0 comments on commit b0907b6

Please sign in to comment.