Skip to content

Commit

Permalink
NTR: prepare hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalij Mik committed Apr 30, 2024
1 parent b74edb3 commit 442479d
Show file tree
Hide file tree
Showing 27 changed files with 141 additions and 125 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,3 @@
border: none;
}
}

.d-none{
display:none !important;
}
1 change: 1 addition & 0 deletions src/Resources/app/storefront/src/scss/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
@import "./account/payment-selection";
@import "./account/subscriptions";
@import "./component/credit-card-mandate";
@import "./display";
10 changes: 10 additions & 0 deletions src/Resources/app/storefront/src/scss/display.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.js-apple-pay .d-none,
.js-apple-pay-container .d-none,
.mollie-pos-terminals .d-none,
.mollie-components-credit-card .d-none,
#mollieCreditCardMandateDeleteError .d-none,
#mollieCreditCardMandateDeleteSuccess .d-none,
.mollie-ideal-issuer .d-none
{
display:none !important;
}
12 changes: 6 additions & 6 deletions src/Resources/config/routes/admin-api/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
path="/api/v{version}/_action/mollie/config/test-api-keys"
methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\PluginConfig\ConfigControllerBase::testApiKeys</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="_auth_required">true</default>
<default key="_auth_enabled">true</default>
</route>
Expand All @@ -18,7 +18,7 @@
path="/api/_action/mollie/config/test-api-keys"
methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\PluginConfig\ConfigControllerBase::testApiKeys64</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="_auth_required">true</default>
<default key="_auth_enabled">true</default>
</route>
Expand All @@ -27,7 +27,7 @@
path="/api/_action/mollie/config/validate/flowbuilder"
methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\PluginConfig\ConfigControllerBase::validateFlowBuilder</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="_auth_required">true</default>
<default key="_auth_enabled">true</default>
</route>
Expand All @@ -36,7 +36,7 @@
path="/api/_action/mollie/config/refund-manager"
methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\PluginConfig\ConfigControllerBase::getRefundManagerConfig</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="_auth_required">true</default>
<default key="_auth_enabled">true</default>
</route>
Expand All @@ -45,7 +45,7 @@
path="/api/v{version}/_action/mollie/config/refund-manager"
methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\PluginConfig\ConfigControllerBase::getRefundManagerConfigLegacy</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="_auth_required">true</default>
<default key="_auth_enabled">true</default>
</route>
Expand All @@ -54,7 +54,7 @@
path="/api/_action/mollie/config/subscription"
methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\PluginConfig\ConfigControllerBase::getSubscriptionConfig</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="_auth_required">true</default>
<default key="_auth_enabled">true</default>
</route>
Expand Down
4 changes: 2 additions & 2 deletions src/Resources/config/routes/admin-api/order.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="api.action.mollie.order.payment-url" path="/api/_action/mollie/order/payment-url" methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\OrderControllerBase::paymentUrl</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.action.mollie.order.payment-url.legacy" path="/api/v{version}/_action/mollie/order/payment-url" methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\OrderControllerBase::paymentUrlLegacy</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>
Expand Down
4 changes: 2 additions & 2 deletions src/Resources/config/routes/admin-api/payment_method.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

<route id="api.mollie.payment-method.update-methods" path="/api/_action/mollie/payment-method/update-methods" methods="GET">
<default key="_controller">Kiener\MolliePayments\Controller\Api\PaymentMethod\PaymentMethodControllerBase::updatePaymentMethods</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.mollie.payment-method.update-methods.legacy" path="/api/v{version}/_action/mollie/payment-method/update-methods" methods="GET">
<default key="_controller">Kiener\MolliePayments\Controller\Api\PaymentMethod\PaymentMethodControllerBase::updatePaymentMethodsLegacy</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>
Expand Down
22 changes: 11 additions & 11 deletions src/Resources/config/routes/admin-api/refund.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,77 +5,77 @@
https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="api.mollie.refund.order" path="/api/mollie/refund/order" methods="GET">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\RefundControllerBase::refundOrderNumber</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.action.mollie.refund-manager.data" path="/api/_action/mollie/refund-manager/data" methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\RefundControllerBase::refundManagerData</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.action.mollie.refund.list" path="/api/_action/mollie/refund/list" methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\RefundControllerBase::list</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.action.mollie.refund.total" path="/api/_action/mollie/refund/total" methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\RefundControllerBase::total</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.action.mollie.refund" path="/api/_action/mollie/refund" methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\RefundControllerBase::refundOrderID</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.action.mollie.refund.cancel" path="/api/_action/mollie/refund/cancel" methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\RefundControllerBase::cancel</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.action.mollie.refund-manager.data.legacy" path="/api/v{version}/_action/mollie/refund-manager/data" methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\RefundControllerBase::refundManagerDataLegacy</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.action.mollie.refund.list.legacy" path="/api/v{version}/_action/mollie/refund/list" methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\RefundControllerBase::listLegacy</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.action.mollie.refund.total.legacy" path="/api/v{version}/_action/mollie/refund/total" methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\RefundControllerBase::totalLegacy</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.action.mollie.refund.legacy" path="/api/v{version}/_action/mollie/refund" methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\RefundControllerBase::refundLegacy</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.action.mollie.refund.cancel.legacy" path="/api/v{version}/_action/mollie/refund/cancel" methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\RefundControllerBase::cancelLegacy</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>
Expand Down
4 changes: 2 additions & 2 deletions src/Resources/config/routes/admin-api/return.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
https://symfony.com/schema/routing/routing-1.0.xsd">
<route id="api.mollie.payment-return" path="/api/mollie/payment/return/{swTransactionId}" methods="GET|POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Payment\ReturnControllerBase::returnAction</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>false</bool></default>
<default key="auth_enabled"><bool>false</bool></default>
</route>

<route id="api.mollie.payment-return-legacy" path="/api/v{version}/mollie/payment/return/{swTransactionId}" methods="GET|POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Payment\ReturnControllerBase::returnActionLegacy</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>false</bool></default>
<default key="auth_enabled"><bool>false</bool></default>
</route>
Expand Down
26 changes: 13 additions & 13 deletions src/Resources/config/routes/admin-api/shipping.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,91 +7,91 @@

<route id="api.action.mollie.ship.status" path="/api/_action/mollie/ship/status" methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\ShippingControllerBase::status</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.action.mollie.ship.status.legacy" path="/api/v{version}/_action/mollie/ship/status" methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\ShippingControllerBase::statusLegacy</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.action.mollie.ship.total" path="/api/_action/mollie/ship/total" methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\ShippingControllerBase::total</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.action.mollie.ship.total.legacy" path="/api/v{version}/_action/mollie/ship/total" methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\ShippingControllerBase::totalLegacy</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.mollie.ship.order" path="/api/mollie/ship/order" methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\ShippingControllerBase::shipOrderOperational</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.mollie.ship.order.deprecated" path="/api/mollie/ship/order" methods="GET">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\ShippingControllerBase::shipOrderOperationalDeprecated</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.mollie.ship.order.batch" path="/api/mollie/ship/order/batch" methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\ShippingControllerBase::shipOrderBatchOperational</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.mollie.ship.item" path="/api/mollie/ship/item" methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\ShippingControllerBase::shipItemOperational</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.mollie.ship.item.deprecated" path="/api/mollie/ship/item" methods="GET">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\ShippingControllerBase::shipItemOperationalDeprecated</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.action.mollie.ship.order" path="/api/_action/mollie/ship" methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\ShippingControllerBase::shipOrderAdmin</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.action.mollie.ship.order.legacy" path="/api/v{version}/_action/mollie/ship" methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\ShippingControllerBase::shipOrderAdminLegacy</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.action.mollie.ship.item" path="/api/_action/mollie/ship/item" methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\ShippingControllerBase::shipItemAdmin</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>

<route id="api.action.mollie.ship.item.legacy" path="/api/v{version}/_action/mollie/ship/item" methods="POST">
<default key="_controller">Kiener\MolliePayments\Controller\Api\Order\ShippingControllerBase::shipItemAdminLegacy</default>
<default key="_routeScope">api</default>
<default key="_routeScope"><list><string>api</string></list></default>
<default key="auth_required"><bool>true</bool></default>
<default key="auth_enabled"><bool>true</bool></default>
</route>
Expand Down
Loading

0 comments on commit 442479d

Please sign in to comment.