this looks like a problem with the way you have set up the Store Cart Summary behaivor.
In the Store Cart Summary behavior, you have set the ID column to be the OrderCartID and bound that column to the session ID.
The ID column in the Store Cart Summary behavior should be the Primary key Column for the orders table. The primary Key column should be set to Auto Increment , you should be assigning a value to it in the Store Order Summary behavior.
When the order summary stores the order, it will save the auto increment value to a session that is used in the store order details behavior. In the store order details behavior, the ID column you choose is not the primary key column, it is a column used to create a relationship between the order and the order details record.
you have the Store Order Details behavior set correctly, but the store order summary