We need to confirm that the order is session is named OrderID. On the top of success page, please includes these lines of code:
<?php
session_start();
echo $_SESSION['OrderID'];
var_dump($_SESSION);
?>
Please post back with the output you get on the success page with those lines included.
if you can just copy the output to a text file and attache it to your reply.