Contents
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Action | Tests | Expected Vendor Behavior | Expected Result |
---|---|---|---|
Pricing Order |
→ Place Order in Whitelabel App
Order’s cart contains an Item → Order successfully sent and placed in Partner’s POS.
Order’s cart contains a Combo → Order successfully sent and placed in Partner’s POS.
Order’s cart contains an item, with a Modifier Multiplier without (0)
→ Order payload contains Modifier Multiplied PLU
→ Order successfully sent and placed in Partner’s POS, describing the without modifier.
Order’s cart contains an item, with Modifier Multiplier with (1)
→ Order payload contains Modifier Multiplied PLU
→ Order successfully sent and placed in Partner’s POS, describing the “with” modifier.
Order’s cart contains an item, with Modifier Multiplier extra (2)
→ Order payload contains Modifier Multiplied PLU
→ Order
| Authenticated user selects ordering for the corresponding store, builds a cart and navigates to the checkout. All Cart Structures must be tested in this category:
| Partner is subscribed to the Partner utilizes the Price Webhook Callback to answer the Price request. Error Handling to follow the
| |
Commit Order
| Authenticated user selects ordering for the corresponding store, builds a cart, navigates to the checkout and places an order. All Cart Structures must be tested in this category:
| ||
Cancel Order | → Check whether the status has been changed to cancel → Check whether the automatic refund has been processed (if applicable) → Check whether the cancellation email was triggered → Check whether delivery has been cancelled (if applicable) → When the order is canceled in the POS the payment should be refunded. | ||
Order Injection: Cart → Place Order in Whitelabel App | Order’s cart contains an Item → Order successfully sent and placed in Partner’s POS. | ||||||||||||
Order’s cart contains a Combo → Order successfully sent and placed in Partner’s POS. | |||||||||||||
Order’s cart contains an item, with a Modifier Multiplier without (0) → Order payload contains Modifier Multiplied PLU → Order successfully sent and placed in Partner’s POS, describing the “extra(2)” without modifier. | |||||||||||||
Order’s cart contains a comboan item, with an item that has a Modifier Multiplier without with (01) → Order payload contains Modifier Multiplied PLU, inside the item, inside the combo.→ Partner Integration successfully handles a 3 level nested structure in the cart. → Order successfully sent and placed in Partner’s POS, describing the without “with” modifier. Modifier Multiplier | |||||||||||||
Order’s cart contains a Combo with Premium Itemsan item, with Modifier Multiplier extra (2) → Order payload contains a Combo, with it’s children priced at 0, and premium items priced normally.Modifier Multiplied PLU → Order successfully sent and placed in Partner’s POS, priced at combo + premium item costdescribing the “extra(2)” modifier. | |||||||||||||
Order’s cart contains a System Wide Offer (Item)→ Offer contains an itema combo, with an item that has a Modifier Multiplier without (0) → Order payload contains Modifier Multiplied PLU, inside the item, inside the combo. → Partner Integration successfully handles a 3 level nested structure in the cart. → Order successfully sent and placed in Partner’s POS, offer is applied successfully. (Burillo, Alejandro) The offer is added into cart with correct pricedescribing the without modifier. | |||||||||||||
Order’s cart contains a System Wide Offer (Combo) Combo with Premium Items → Offer Order payload contains a Combo, with it’s children priced at 0, and premium items priced normally. → Order successfully sent and placed in Partner’s POS, offer is applied successfully. The Offer is added into cart with correct pricepriced at combo + premium item cost. | |||||||||||||
Order’s cart contains a Config System Wide Offer (Item) → Offer contains an item → Order successfully sent and placed in Partner’s POS, offer is applied successfully. (Burillo, Alejandro) |
| ||||||||||||
Order’s cart contains a Config System Wide Offer (Combo) → Offer contains a Combo → Order successfully sent and placed in Partner’s POS, offer is applied successfully. |
| ||||||||||||
Order’s cart contains a Config Offer (Percentage DiscountItem) → Offer contains a Order level percentage discount(e.g. 10% discount)an item → Order successfully sent and placed in Partner’s POS, offer is applied successfully. |
| Order’s cart contains a Loyalty Reward (Item) → User with enough loyalty points, selects loyalty reward in loyalty page on Whitelabel App. → Order is placed in Whitelabel App, with a cart containing a Loyalty rewards item.. |
| ||||||||||
Order’s cart contains a Config Offer (Combo) → Offer contains a Combo → Order successfully sent and placed in Partner’s POS.→ Loyalty reward Item , offer is applied successfully. |
| ||||||||||||
Order’s cart contains a Config Offer (Percentage Discount) → Offer contains a Loyalty Reward (Combo)→ Reward contains a ComboOrder level percentage discount(e.g. 10% discount) → Order successfully sent and placed in Partner’s POS.→ Loyalty reward Combo , offer is applied successfully. |
| ||||||||||||
Order’s cart contains a Loyalty Reward (Percentage Discount) → Reward contains a Order level percentage discount(e.g. 10% discount) → Reward Item) → User with enough loyalty points, selects loyalty reward in loyalty page on Whitelabel App. → Order is placed in Whitelabel App, with a cart containing a Loyalty rewards item. → Order successfully sent and placed in Partner’s POS, offer . → Loyalty reward Item is applied successfully. |
| ||||||||||||
Order discounts -
| Order Cancellation | After execution call to Partners API with the → Check whether the status has been changed to cancel → Check whether the automatic refund has been processed (if applicable) → Check whether the cancellation email was triggered → Check whether delivery has been cancelled (if applicable) | Payment | → Ensure payments are successfully processed using each payment method Order cancelation → When the order is canceled in the POS the payment should be refunded.Order’s cart contains a Loyalty Reward (Combo) → Reward contains a Combo → Order successfully sent and placed in Partner’s POS. → Loyalty reward Combo is applied successfully. | |||||||||
Order’s cart contains a Loyalty Reward (Percentage Discount) → Reward contains a Order level percentage discount(e.g. 10% discount) → Reward successfully sent and placed in Partner’s POS, offer is applied successfully. |
| ||||||||||||
Order discounts -
|
In-Restaurant Service Modes
...
Action | Tests | Expected Vendor Behavior | Expected Result | ||
---|---|---|---|---|---|
Place a Delivery order | Authenticated user inputs address within delivery area on restaurant search in App, builds a cart and navigates to checkout. Authenticated user clicks on “Continue” on the checkout page, and confirms selecting any payment method by clicking “Place Secure Order”. | Partner collects the service mode (
Partner collects the order number ( | → Order is injected in the POS. → Order does not appear in the KDS (not fired into the kitchen). | ||
Fire a Delivery order into the kitchen | Delivery vendor request to move the order to kitchen
| Partner is subscribed to the Partner fires the order through a POST call to the Fire Order endpoint.
| → Order appears in the KDS (is fired into the kitchen). → KDS identifies the service mode. → DSS ticket printed according to the service mode. → Receipt printed with Order Number from RBI.
| ||
Cancel a Delivery order Delivery cancelation → Delivery Order successfully sent and placed in Partner’s POS. → If a delivery cancellation is requested:
|
Info |
---|
Payment Methods do not interfere with order firing for Delivery orders. |
...