Using the default orderdetails table from the wizard, it would normally just set the Session to the id that's entered into that table; it receives that variable from the orders table which is normally an integer. In my case, both of those ID fields are varchar. That doesn't matter, does it?
Is the page able to set the eCart3_OrderID session variable after saving to the orders table and before the details table?
<?php echo ((isset($_SESSION["eCart3_OrderID"]))?$_SESSION["eCart3_OrderID"]:""); ?>
In other words, do I need to have this set before I write to the orders table?