There are 2 eCart server behaviors, (one for each) usually on the confirm.php page, which save the order details in the 2 relevant tables.
Ensure your page has both server behaviors activated.
(eCart Store Summary in Database)
(eCart Store Details in Database)