Hello,
When I directly enter a sale on CloverMini, the receipt printed out has two lines "Tip ......" and "Total ...." for customers to write their tip amount and total.
But when I request a sale from my webapp via Cloud Pay Display api, receipts don't have those two lines. How can I make CloverMini print those two lines?
Thanks!
Harry
Here's my code:
let request = new sdk.remotepay.SaleRequest();
let externalPaymentID = Clover.CloverID.getNewId();
request.setExternalId(externalPaymentID);
let payingAmount: number = 1000;
request.setAmount(Math.round(payingAmount * 100));
request.setTaxAmount(0);
request.setAllowOfflinePayment(true);
request.setForceOfflinePayment(false);
request.setApproveOfflinePaymentWithoutPrompt(false);
request.setCardEntryMethods(Clover.CardEntryMethods.ALL);
request.setSignatureEntryLocation(sdk.payments.DataEntryLocation.ON_PAPER);
request.setSignatureThreshold(1);
request.setTipAmount(null);
request.setTipMode(sdk.payments.TipMode.ON_PAPER);
request.setTippableAmount(payingAmount);
request.setDisablePrinting(false);
request.setDisableReceiptSelection(false);
request.setDisableDuplicateChecking(false);
request.setAutoAcceptPaymentConfirmations(false);
request.setAutoAcceptSignature(true);
this.cloverConnector.sale(saleRequest);