When returning orders from closed cash shifts, the order identifier has become available
Tags:
In V7Preview5, a new argument Nullable<Guid> orderId was added to the method
ReturnPaymentWithoutOrder.
This method is implemented in the plugin code and is called from SyrveFront when an attempt is made to return an order that was paid with a plugin type in a cash shift that is currently closed.
When returning items independently of orders, the specified argument is equal to null.
You can read more about returning orders from closed cash shifts in the article “Returning Goods”.
More about the ReturnPaymentWithoutOrder method can be found in the article “External Payment Types”, in the “Payment Return Methods” section.