Pay for your order at the current cash register
[ ]Previously, orders from the API could only be paid at the main terminal. In this case, the main terminal had to be a cash register (with a connected cash registrar). In one of the previous versions we made an attempt to get rid of the term “Main Cash Desk” by decoupling the main terminal from the point of sale and, as a result, from the fiscal registrar. API V8 took the next step by allowing payment for the order on the local terminal.
In methodsPayOrder
and PayOrderAndPayOutOnUser
a new argument isPaymentLocal has been added, which depends on
will the order be paid at the local fiscal registrar,
or it will be paid at the fiscal registrar of the main terminal.
Let us remind you that payment for the order using
PayOrderAndPayOutOnUser
cash, creates debt for waiters.
Previously, such debt was taken into account only at the main terminal.
Now the debt is taken into account at all terminals at which such payment took place.
Such a debt can only be repaid at the terminal on which it was generated (such payment took place).