Hi,
I have installed Remote-pay-cloud-pos-react example connecting to Flex DevKit using sandbox account. POS is working fine with exception of Print. Not able to print neither Text nor Image from the Device Tab in the example GUI. MacOS (ver 11.5.2), Chrome Version 94.0.4606.61. This is my code (slightly changed example thinking that missing set of request id matter):
printerChosen(printer, printType){ // executes print job based on type selected
if(printType === 'URL’){
...}
else if(printType === 'TEXT'){
let pr = new clover.sdk.remotepay.PrintRequest();
pr.setText([this.state.printTextContent]);
pr.setPrintDeviceId(printer.id);
pr.setPrintRequestId('112233');
pr.setRequestId('2112233');
console.log('PrintRequest - Print Text', pr);
this.cloverConnector.print(pr);
}
Request:
Response:
Any help is appreciated very much.