question

liju avatar image
liju asked Dan answered

Urgent - Printing - clover SDK - Fire function not working in production merchants

My clover pos applicaiton is using following code to fire an order print. It is not working at production merchant locations. Even though it is working in Sandbox & dev setup.

mOrderConnector.fire(orderId);

Urgently need help regarding this as order printing & fire is also not working for any of our merchants.

Thanks.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Dan avatar image
Dan answered

mOrderConnector.fire(orderId) should be firing the print job. Reasons why it wouldn't fire include: an invalid order id, all of the line items are already marked as printed, not having the orders write permission, there not being labels associated with any printers, none of the items having labels that are associated with a printer, and so on and so forth. Do you have any more information you can provide? Was this working with previous versions of your app? Does it work with the previous apk and not your latest apk?

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

liju avatar image
liju answered

Thanks for pointing out the various scenarios for fire not working. This really helped us. We found that in our case it was not working for want of Inventory READ/WRITE permissions. Thanks a lot.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community