To display the order number in the window after payment, you need to set the value "YES" to the parameter SHOW ORDER NUMBER FOR ELECTRONIC QUEUE AFTER PAYMENT in the "Settings" - "Main settings" section of the manager panel. Order numbering is generated in accordance with the Order Numbering section.