Order Payment at the Current Terminal

Tags: v8

Previously, orders could only be paid through the main terminal via the API. The main terminal had to be a cash register (with a connected fiscal printer). In one of the previous versions, we attempted to eliminate the term “Main Cash Register,” decoupling the main terminal from the point of sale and, consequently, from the fiscal printer. In API V8, we took the next step by allowing order payments at the local terminal.

In the methods PayOrder and PayOrderAndPayOutOnUser, a new argument isPaymentLocal was added, which determines whether the order will be paid at the local fiscal printer or at the fiscal printer of the main terminal.

Let us remind you that paying for an order using the method PayOrderAndPayOutOnUser in cash creates a debt for the waiters. Previously, such debts were only accounted for at the main terminal. Now, debts are accounted for at all terminals where such payments occurred. Such debts can only be settled at the terminal where they were created (where such payments occurred).