With the code on top of the page, it deletes all contents before, so instead of opening the success page with all order information, it opens the empty cart page.
I am not sure why it worked before, but the language session remained, the success page showed all the order number and the mini cart was empty with a zero amount..