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:
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:
Any ideas Ray? Thanks in advance.