Pickup And Delivery Ordering
Pickup and delivery ordering inside OpenApp use the POS integration capability when the POS remains responsible for item acceptance, kitchen operations, payment recording, and order closure.
For pickup and delivery, OpenApp executes the customer payment before submitting the paid order to the POS. If the POS rejects the paid order, OpenApp refunds the customer payment.
Message types:
| Message type | Direction | Purpose |
|---|---|---|
| OrderItemsSubmittedToPos | OpenApp -> POS | Submit paid pickup or delivery products to the POS. |
| OrderMutationResult | POS -> OpenApp | Confirm accepted products or reject products with business reasons. |
| PaymentCompleted | OpenApp -> POS | Tell the POS that OpenApp payment succeeded and should be recorded. |
| PosPaymentResult | POS -> OpenApp | Confirm or reject recording the payment in the POS. |