The order summary and order details are stored to the database on the Confirm page.
On the confirm page, open the server behaviors list.
Double click on the eCart Store order Summary server behavior.
make sure that the Primary key column is selected for Order ID and make note of the name that is set in the Store As section, then click cancel.
Click on the Bindings tab and expand the session collection. Make sure there is a session variable listed here with the name you noted from the Store as section of the Store Order Summary behavior.
Back on the Server Behaviors tab, double click the eCart store order Details server behavior.
For Order ID select the detailOrderID column, then in the columns list, maker sure the detailOrderID column is bound to the session variable that is set by the Store Cart summary behavior.