question

dhana avatar image
dhana asked Raymond Lee Deactivated edited

Custom receipt for custom tender

Hi Team,

Regarding "Custom receipt Printing"
Could you please help us to print Extra data along with final payment receipt, We are using custom tender to create order and submit line items for payments, in the end i have achieved the Successful payment of orders along with Order details , Additional charges etc, But our requirement is that we need to Pass custom text as an additional data to be printed along with the final receipt, is that possible ?

We have gone through lot of forum queries and many developers replies regarding the Custom print job, And tried the following sample as well - using this github link https://github.com/clover/android-examples/tree/master/receipteditexample
but all the attempts gone in vein, Please let us know about how to Print Custom receipt with order details with extra notes.
Kindly help us to achieve this we are stucked up here.

Thanks in advance.

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

Raymond Lee avatar image
Raymond Lee Deactivated answered Raymond Lee Deactivated edited
You can add an order note to the order you are printing the receipt for, and if the merchant has it enabled in their setting to print the order note, your note will be printed as part of the receipt.
Order mOrder = mOrderConnector.createOrder(new Order());
mOrder.setNote("Order note here"); // Adds an order note to local order object
mOrderConnector.updateOrder(mOrder); // Updates the order in Clover's database
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