I think I've found the problem, it's not the session order ID
it's to do you the order of the code blocks when the confirm page pulls the shipping address variables from the checkout page.
for example:
block like this (creating session variables from $_post data) must be declared first:
<?php
if (!session_id()) session_start();
if($_SERVER["REQUEST_METHOD"] == "POST") {
$_SESSION["eCartCheckoutForm_firstname"] = "".((isset($_POST["firstname"]))?$_POST["firstname"]:"") ."";
}
?>
Then the order summary (code block starting with):
<?php
// WA eCart Store Cart Summary in Db
if ($_SERVER["REQUEST_METHOD"] == "POST") // Trigger
{
$WA_connection = $database01;
$WA_table = "tb_Orders";
$WA_redirectURL = "";
$WA_indexField = "intOrderID";
$WA_fieldNamesStr =