Added api integration for the order.
Also added cookie logic for denying multiple visits after an order