Pre-Order
A Pre-Order is an order for collection from the merchant. It may be for ASAP collection, or may include a time-slot for ordering ahead.
The User builds an in-app basket of Products that they have configured to meet their specific needs and tastes and then submits it to the Pepper Platform for processing. The Pepper Platform in turn submits it to the PoS' API for preparation.
Any rewards that the User is able to redeem are applied to their basket. The User can toggle these rewards on and off as desired.
There are two high level components of the Pre-Order integration:
- Pepper retrieve a menu from the POS, curate and enhance it with any necessary information required to display in an app.
- Pepper submit an order to the POS
Calculating and submitting an order
Pepper will integrate to the POS' API to submit an order. The data-flow will of course depend on the capability of the POS API, but a typical integration would follow a flow something like this:
- Pepper either calculates a basket request using configured menu information, or submits a basket request or a pending order to the POS to calculate basket totals, taxes, service charges, discounts etc.
- Pepper captures payment authorisation for the order through PepperPay
- Pepper adds payment to the order through POS API
- Pepper closes and completes the order through POS API
- Pepper completes the authorised payment through PepperPay