+1 for this. On top of the pickup use-case, it would also be very useful in a kiosk environment where the customer uses the app interface to generate an order, which can then be paid for in situ via terminal.
The Terminal API is super-useful as it is, but the specific pain-point is not having a mechanism to associate a terminal-generated Payment with its corresponding Order - unless I’m missing something, terminal API payments are necessarily custom amounts, so you lose out on all the Order functionality like stock control.
Interestingly, if you run the terminal in “interactive mode” (in lieu of any better name) all the Order functionality you would expect to exist does, which suggests an “assign terminal Payment to Order” isn’t too far removed from what’s already going on under the hood?
In the meantime, will investigate the
UpdateOrder approach, cheers for the idea