Hi,
We are using Clover Android SDK to get all line items from Order. So that we sent all line items to StaticOrderPrintJob for printing.
But some merchants orders not printing all line items , some items are missing.
ArrayList<String> itemIdList=new ArrayList<String>();
itemIdList.clear();
for(int j=0;j<order.getLineItems().size();j++) {
if (!order.getLineItems().get(j).getName().equalsIgnoreCase("Convenience Fee") && !order.getLineItems().get(j).getName().equalsIgnoreCase("Delivery Fee")) {
itemIdList.add(order.getLineItems().get(j).getId());
}
}
PrintJob pj = new StaticOrderPrintJob.Builder().markPrinted(true).itemIds(itemIdList).order(order).build();
PrintJobsConnector pjc = new PrintJobsConnector(getBaseContext());
We are providing merchant, order and item information with private post
Can we know reason?
Thank you.