on 2022 Nov 10 12:23 PM
Hello,
we get the current receipt using this function:
receiptManager.findOrCreate(UserRegistry.INSTANCE.getCurrentUser(), null, true);
This works fine on normal receipts, but after parking this function only returns NULL. We would expect the current receipt as normal.
Is this the correct function to use in this case? Or what function would we use to get the retrieved currently open receipt after parking?
Best Regards
Request clarification before answering.
Hello,
The method returns (if no receipt key specified) the receipt that is in state new and no parked receipts. If you would like to load the parked receipt, then you have to specify the receiptKey
ReceiptKey is the second parameter of the method
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.