question

aashishtanwar avatar image
aashishtanwar asked David Marginian Deactivated edited

Unable to print order with clover mini with displayOrder method

Hi,

We have created web application where we are using Multiple inventory items which is created in sandbox for making order.

On sale request we are

var amount = parseInt($('input.payment_amount').val());
var item = new clover.order.DisplayLineItem();
item.setId(1234);
item.setName('Test Item');
item.setPrice(amount * 100);
var order = new clover.order.Order();
order.setTitle("Hi Trent");
order.setId(1234);
order.setTotal(amount * 100);
order.setLineItems([item]);
clover_connector.showDisplayOrder(order);


When we create sales request from connected clover device at the same time we are creating order and adding line items to it but on success of payment it does not shows to print receipt and also does not goes to kitchen printer as well.


How can we print itemized items on clover mini with showDisplayOrder ?


Please help us out we were stuck in this from last month.

clover developer community
10 |2000

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

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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