Hi @burano
Not used the pacakge above, but I work for an eCommerce company (and have done eCommerce before here), and this is the general process that we use:
- User adds an item to their basket
- this creates a session with that product in the basket
- They can add other products if they wish
- They proceed to through the checkout, and the basket is saved as an order (with the product details at the time of purchase - eg the price at that point)
- The payment is processed through the payment gateway.
- Successful payments get updated as such, and things like bank transfer get marked as Pending Payment
- At this point we clear the basket from the session
So, should the user start a new order either straight away or after a few days, it is treat as that, a new order.
And each order, is a snapshot of the details of that time (customer details, product details, etc), but they are still liked by having the IDs, but this means that should any details change for the product/customer, it doesnt effect previous orders.
So going back to your question, yes I would certainly start a new basket session for each order (unless you are also adding functionality to amend orders, in that case you would need to resume a previous basket session)