All messed up OrderReferenceID and OrderTotal
I added this to the bottom of the checkout Success page and now it IS creating a new entry in the orders table each time:
<?php
$eCart1->ClearCart();
unset($_SESSION['OrderID']);
unset($_SESSION['eCart1_OrderID']);
?>
Now the only problem still seems to be something I did that causes the OrderTotal and OrderReferenceID to be NULL.
The previous orders had an OrderReferenceID that looks something like this:
ot3s52cegprk0793f5epd80of5
Any ideas Ray? Thanks in advance.