Investigating 400 errors in the mobile app

Http failure response https://api.readytopay.co/orders/submit: 400 OK

Please Note: This is applicable only for Mobile Ordering, this error will not happen with Pay at Table

400 errors occur when a user is trying to go from the Pickup Details page in the mobile app to the Checkout page (after clicking on the Checkout button). The error message displayed is:

Some of the most common reasons are:

  1. If the status of the menu item in question is disabled, or out of stock. (See Items & Mods: Configuring an Item &  Items & Mods: Marking as In/Out of Stock)
  2. If the menu item in question contains alcohol, but the location does not have alcohol ordering enabled (See: Enabling/Disabling Alcohol Sales)
  3. If the number of alcohol units selected exceeds the location purchasing limit which is set in the Orders dialog - “Max # of Drinks per Order”  (See Order Settings (Orders screen))
  4. If an item has a set of modifiers, and the modifier group constraints minimum value has been set for that modifier group, and the modifier group in question has fewer options set than the minimum constraint value set (See: Modifier Groups: Editing a Modifier Group)
    1. Example
      1. Item has 2 Modifiers in the Modifier Group with a Required Minimum of 1
      2. Guest chooses 1 modifier (of the 2 options) and goes to the Pickup Details Page
      3. Meanwhile, in the Ready Dashboard, someone has updated that Modifier Group to be a Minimum of 2
      4. Guest clicks Checkout 
      5. Error
  5. Vice versa, if an item has a set of modifiers, and the modifier group constraints maximum value has been set for that modifier group, and the modifier group in question has more options set than the maximum constraint value set (See: Modifier Groups: Editing a Modifier Group)
    1. Example
      1. Item has 2 Modifiers in the Modifier Group with a Required Maximum of 2
      2. Guest chooses 2 modifiers (of the 2 options) and goes to the Pickup Details Page
      3. Meanwhile, in the Ready Dashboard, someone has updated that Modifier Group to be a Maximum of 1
      4. Guest clicks Checkout 
      5. Error
  6. If there are more than 100 individual items in the Review Order screen for an order
    • 100 individual items > Success
    • 101 individual items  > Error
    • 100 individual items > update one Item to have 10 copies > Success
  7. There is no Guest Info or Customer Info item created and enabled in the Menu Builder
    1. There needs to be a Menu Item in the Menu Builder created and enabled (usually called Guest Info or Customer Info) and it must be linked to the correct POS Item
    2. The configuration of which POS Item is used for the Guest Information is set on the Ready Admin side, please reach out to support (support@readytopay.com) with the following information:
      1. Screenshot of the error (like above)
      2. Location and Company in the Ready Dashboard
      3. POS ID for Guest Information in the POS

    Specifically for Order Ahead Dates:

    1. If there are no more available timeslots in the day