Setting up an agent for Delivery
- Go to the WhiteServer admin panel. Use the dealer login and password to access it
- Go to the Restaurants section
- Enter the full object code in the ObjectId field and click the Find button.
- Go to the restaurant editing menu by clicking on the gear
. The restaurant card will open.
- Make sure the Connected Systems section is blue and the enabled agent for RKMid is selected
- Go to the Order Creation Parameters menu
- Click the Update directories button to download the parameters from the cash register server.
- The necessary settings for connecting to Delivery will be filled in automatically. Detailed descriptions of the parameters are in the table below:
- Cashier ID
- Table ID
- Cash register ID
- Order type code
- Order category code
- In the Optional parameters block:
- Select Order Currency. Specify the currency used for online payments.
- Menu Selector Code — Leave empty
- Please indicate the Reason for order cancellation
- In the Order confirmation time in seconds field, enter 0
- Enable the Create unconfirmed order setting
Turn off the Create order as draft setting
Attention!
If you skip the Optional parameters setting, r_k Delivery may not work correctly.
- Save the changes by clicking the Save button
- The new settings will be applied to the agent with the RkMid role.
Description of parameters
Parameter | Default value | Description |
---|---|---|
Parameter | Default value | Description |
Cashier | Cashier #1 | The cashier through which delivery orders will be processed |
Table for orders | Стол #1 | The r_keeper code of the table for which the order will be created. |
Cash register | Cash register #1 | The r_keeper identifier of the cash register where: the order will be created, the receipt will be printed, the order will be paid for and closed. |
Order type | Order type. r_k Delivery does not use this parameter, but it is required for the agent to work. | |
Order category | Order category. r_k Delivery does not use this parameter, but it is required for the agent to work. | |
Order currency | Rubles | The currency in which online orders will be paid (rubles are used by default). |
Reason for order cancellation | Waiter's mistake without writing off | Reason for canceling dishes in r_keeper |
Order confirmation time in seconds | 0 | It is better to use the default value. In this case, the confirmation form will not appear at the cash register |
Name of the node with the order confirmation form | 127.0.0.1 | The IP address where the Agent's website with the order confirmation form is deployed. |
Create an unconfirmed order | Yes | To create or not to create an order not confirmed at the cash register |
Create order as draft | No | Whether or not to create an order as a draft |
ExtSource Code | 42 |
View logs
On the tasks tab, in the restaurant card, you will see a list of tasks that were received at the object from different systems.
For delivery, the AggregatorId value is always 199990357.