Closed fgerodez closed 5 months ago
Hello there, We added that new plugin, due to the new cookies management in Magento 2.4.x (For more informatio, please read: https://support.magento.com/hc/en-us/articles/360049032952-Customers-get-logged-out-or-lose-cart-content-on-Magento-storefront).
We couldn't reproduce the problem you're experiencing. Can you provide us with more info: logs, browser used, frequency....
Best regards
Hi,
We've spent some time to try and understand why successful payments through the iframe form were always redirected to the empty cart page instead of the standard Magento checkout/success page.
It turns out that a new plugin was added quite recently that prevents the php session from being started on payzen/payment/response :
https://github.com/lyra/plugin-magento/blob/master/Controller/Plugin/SessionChecker.php
I don't understand the logic behind this plugin as the Response Controller explicitly uses the session to store important information :
Without these, the checkout success page cannot find the order and always redirects to checkout/cart.
Can you look at it?
Thanks,