Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. If the cabinet has multiple types of lockers (ambient, heated), the user can select multiple lockers if needed. If the cabinet has only one type of locker, this section will not be visible.

  2. Order will be created after pressing the OK button. Order will be sent to load if enough lockers are available to load the order. Related popup will be shown if any error happens while creating the order.

  3. If the user presses the CANCEL button, the user will be navigated away from this page. 

    1. If the screen idles for 1 minute, the user will also be navigated away from this page.

Order creation using QR code

A user can scan a QR code from any scanner and create a new order. Order creation may take 5-10 seconds since API call is needed to complete the process.

QR code content will follow the pattern like below where every field is separated by a comma.

  • (for heated locker) → BA1212E5,ld,order_code,timestamp_in_hex,organization,order_source,br,name,phone_number

  • (for ambient locker) → 7AC0BE77,ld,order_code,timestamp_in_hex,organization,order_source,tb,name,phone_number

Description of every field:

  • BA1212E5 or 7AC0BE77 → This is an identification code by which we can decide whether a heated locker or an ambient locker related order will be generated.

  • ld → This is a fixed field

  • order_code → Verification code for an order which can be used for picking up order. This is a mandatory field.

  • timestamp → Order creation time will be in hexadecimal format. This QR code should be used within this timestamp plus 30 minute.

  • organization → Organization name of the order. This is an optional field.

  • order_source → Order can be created using QR code only for five different delivery app. Their sudo is given with their name

    • Mobile Pickup → mb

    • Grubhub → gh

    • UberEats → ue

    • Doordash → dd

    • Postmates → pm

  • br or tb → This field represents which type of locker the user needs to load the order. This is a mandatory field.

  • name: This field represents the customer name for the order. This is an optional field.

  • phone_number: This field represents the customer phone number for the order. This is an optional field.

Let’s assume we want to create a Grubhub order using only code 440 at 13 March 2024 4:40 PM for heated locker. So the QR code content will be

BA1212E5,ld,440,65F182A8,,mb,br,

Note: If we do not want to place any for a field, we have to keep that field empty by just placing comma.