I am facing this weird issue on the checkout page. We are using 3rd party payment module, which redirects customer to the payment page after placing order in Magento. In the controller, it tries to get the orderId from checkoutSession. Sometimes the ID is available in session and sometime it is missing in session.

Sometime it returns this value from checkoutSession:


and sometimes it return below value from checkoutSession:


I am not sure what is the issue. Please let me know, if anyone know about this issue.

FYI, we are using Magento 2.4.2 CE, saving session in DB and frontend in Redis.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.