Adyen / adyen-shopware6

Adyen Payment plugin for Shopware 6
MIT License
21 stars 22 forks source link

[PW-8467] Payment methods in cart not shown or marked as not available #388

Closed andydandy80 closed 6 days ago

andydandy80 commented 1 year ago

In shopping cart is under the order items a section for calculating the shipping costs depending on payment method and shipping method. The payment methods there are not complete or marked as "not available". On final checkout page all payment methods are correct shown.

I have investigated it and found following critical code parts: src/Subscriber/PaymentSubscriber.php, Function onShoppingCartLoaded and there "$this->paymentMethodsFilterService->getAvailableGiftcards"

src/Service/PaymentMethodsFilterService.php, Function "getAvailableGiftcards". Here in the foreach loop all payments are removed.

Shopware version: 6.4.20.2 Plugin version: 3.11.0

Cart (../checkout/cart): grafik

Checkout (../checkout/confirm): grafik

candemiralp commented 1 year ago

Hello @andydandy80,

Thanks for raising this issue. We successfully reproduced the issue and created an investigation ticket to solve it. You will be informed when it is done.

Best Regards, Can

adyen-integrations-support commented 6 days ago

Hello @candemiralp,

Please note that we were unable to reproduce this issue in the latest plugin version (3.16.3), therefore it will be closed as resolved.

Payment methods that are labeled as not available on the /checkout/cart page are not displayed on the /checkout/confirm page.

If you can reproduce the issue again, feel free to re-open this ticket.

Thank you,

Kind regards.