Beginning to understand a little and making a little progress but still stumped.

If I'm correct the order id isn't being passed because it's not being created by the securetrading.php file.

/*
$last_order_id = $db->Execute("select * from " . TABLE_ORDERS . " order by orders_id desc limit 1");
$new_order_id = $last_order_id->fields['orders_id'];
$new_order_id = $new_order_id++;
*/

The code has been commented out by C style multiline tags.

I have tried to remove these but this causes during the checkout stage for it to fail. you can get onto the index.php?main_page=checkout_confirmation page (step 3 of 3) but the Final Step - continue to confirm your order. Thank you! and confirm the order button do not appear preventing you from being passed over to the securetrading site.

If there is anyone who can help I would be very grateful.