Reference field to link order from carticon to stores\orders

We need a way to be able to link the customers shopping cart to the order that gets generated. I can’t find any links between the customers cart (getcurrentcart()) and the orders table or events.

I have a customer front end that puts items in the customers cart, but i have no way to know if they have actually paid for the order.