0

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:

{"quote_id_1":"114","last_added_product_id":"3345","cart_was_updated":false}

and sometimes it return below value from checkoutSession:

{"quote_id_1":"115","last_added_product_id":"4046","cart_was_updated":false,"last_quote_id":"115","last_success_quote_id":"115","last_order_id":"99","last_real_order_id":"000000099","last_order_status":"pending"}

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.

0

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.