When a cart is checked out successfully (payment approved),
A new order object is added to the database
An order status UI section appears in the menu
The order is polled for updates to its status
When the status changes to "Dispatched", the corresponding drone is polled for updates to its status
One more thing needed here, when the drone completes its delivery we should update the order status in the DB. Waiting on Yasmine's update order status changes for that.
This PR adds the following behavior:
When a cart is checked out successfully (payment approved),
One more thing needed here, when the drone completes its delivery we should update the order status in the DB. Waiting on Yasmine's update order status changes for that.