$this->checkoutSession->getLastRealOrder()
$this->checkoutSession->getLastRealOrderId()
returning null after payment gateway redirect.
Strange thing is that it is working some time and after it stops working.
What is the issue and how to get paid order on success page ?