Closed andydandy80 closed 6 days 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
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.
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):
Checkout (../checkout/confirm):