question

deepikakapila avatar image
deepikakapila asked Jeffrey Blattman answered

Not to show the line items in the receipt but show the total amount similar to transaction re print receipt.

Way to skip or not to show the LineItems and their price in the receipt, but show the total amount of the order in the Total similar to the re print receipt of the default app transaction.,
Print
10 |2000

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

1 Answer

Jeffrey Blattman avatar image
Jeffrey Blattman answered
You can use StaticPaymentPrintJob, and only attach a Payment or Payment UUID.

new StaticPaymentPrintJob.Builder().paymentId(id).build().print(...);
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