I am attempting to display an order on my Clover Mini using the Pay Display app and the JS SDK. I have successfully initiated sales and printed receipts however when I attempt to display an order the app crashes showing "Unfortunately, Pay Display has stopped." The following is the code I am using to call the method:
clover.displayOrder({ lineItems: [ { name: 'Burger', price: '$5.00', quantity: '1' } ], tax: '$1.00', subtotal: '$5.00', total: '$6.00' }, function(err, displayOrderResult) { if (err) console.error(err); else console.log(displayOrderResult); });