Suppose a person A wants to order a pizza from a particular outlet as stated in the above example. He can now 'host a meal' consisting of 2 pizzas (with one pizza left unclaimed) on the app at 1 PM and schedules the checkout at a particular time, say 2 PM. Now, some person B opens the app to see all hosted meals and finds the one created by A. Then, B claims the remaining pizza (which he now can get at appx 44 INR instead of the retail price of 85 INR) and makes a payment through the app. A gets a notification when all the items on his order have been claimed and are ready for checkout or when his scheduled time has come (whichever is earlier). A orders the food for both of them from Swiggy and pays for the whole order. A and B will meet at the delivery location, take their orders and B will mark the order delivered on Gromnom resulting in the staged payment being sent out to A. Thus completing the transaction and terminating the chat group.
0 commit comments