$ReplaceGoTo = "postfinance_simulator.php?OrderID=" .$_SESSION['OrderID'] ."&MEMID=". $_SESSION['SecurityAssist_MEMID'] ."&Total=" .$eCartUllrich->GrandTotal() ."";
The OrderID session should match whatever you entered in the store cart summary in database SB for the saved order id.