question

Will Macaluso avatar image
Will Macaluso asked Jacob Abrams answered

Print receipt before payment is issued? (Android Platform)

Hi,

How can I trigger a receipt to be printed before an order is complete? I would also be interested in understanding how to trigger an email/text receipt as well.

Thanks,

Will

Print
10 |2000 characters needed characters left characters exceeded

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

1 Answer

Jacob Abrams avatar image
Jacob Abrams answered

If you have no payment yet you can either print out a bill with all the prices and the total, or you can print out the order like for a kitchen.

Take a look at https://github.com/clover/clover-andr... and its many subclasses. You probably want the StaticBillPrintJob. Use the factory to construct one with an order and then use the print method to send it to the printer.

I will investigate email and text receipts to see that is available.

10 |2000 characters needed characters left characters exceeded

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