Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PAYOSWXP-114: remove storage of debit-mandates #310

Merged
merged 1 commit into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading