We would have to reproduce it to figure out what is going wrong. It looks like no orders have failed, so that is probably working. I know that last time we looked into this I found a requirement that the session variable eCartSMC_OrderID needs to be set for your checkout to work, but in some cases it wasn't set. I saw that NEWorderID was set instead for some workflows. So we added lines 155-159 to your pp_confirm.php:
<?php
if (isset($_SESSION["NEWorderID"]) && $_SESSION["NEWorderID"] && (!isset($_SESSION["eCartSMC_OrderID"]) || !$_SESSION["eCartSMC_OrderID"])) {
$_SESSION["eCartSMC_OrderID"] = $_SESSION["NEWorderID"];
}
?>
I can see in the latest failed page neither eCartSMC_OrderID or NEWorderID is set. I see that the session variable set in this case is "EDITformID".
I think you may need to add the same code to cover this instance below the old one. I've added:
<?php
if (isset($_SESSION["EDITformID"]) && $_SESSION["EDITformID"] && (!isset($_SESSION["eCartSMC_OrderID"]) || !$_SESSION["eCartSMC_OrderID"])) {
$_SESSION["eCartSMC_OrderID"] = $_SESSION["EDITformID"];
}
?>
To your pp_confirm.php page. Please download that page for your reference. The code I added is on lines 160-164.