The order ID should be stored in a session after you make the first insert to the the database in the confirm page and usually that session is named 'OrderID'.
In regard to eCart v4, i don't believe eCart v4 updated the order status on the success page, but i will do a quick test to confirm.