Order order = orderConnector.getOrder(authorization.getOrderId());
new StaticPaymentPrintJob(order, params[1], PrintJob.FLAG_SALE).print(context, CloverAccount.getAccount(context));
In Order json payment state is "OPEN".
Order order = orderConnector.getOrder(authorization.getOrderId());
new StaticPaymentPrintJob(order, params[1], PrintJob.FLAG_SALE).print(context, CloverAccount.getAccount(context));
In Order json payment state is "OPEN".
Can you clarify what your question is? The subject line and the body of your post appear to be different. If you question is why is the order state open, can you explain how the order has been paid for?
2 People are following this question.