You should create a “current order” thing in the User db structure, ref to a Order data type, , containing the ordered products. And also a “placed order” thing. When the purchase is completed, to reset the “current order” you just move its contents to the Placed order, and that’s it.

1 Like