I am using the remote-pay-cloud sdk in javascript for my semi-integration project. Is it possible to skip the prompt asking for a tip using the sdk?
I am using the remote-pay-cloud sdk in javascript for my semi-integration project. Is it possible to skip the prompt asking for a tip using the sdk?
Are you using the beta (https://github.com/clover/remote-pay-...) or the NPM version (https://github.com/clover/remote-pay-...
One note, regardless - part of a Merchant configuration allows them to either show or hide the tip screen. This is, of course, under the control of the merchant, and will affect every transaction so may not be appropriate.
I am currently using the beta version. I did see the option to turn on or off the tips in the settings on the Clover. There are situations when we do and don't want to ask for tips. I was hoping that there was a way to bypass the tip prompt.
For the beta version, you can add the following to the sale request suppressOnScreenTips
For example see https://github.com/clover/remote-pay-.... The sale request would be changed to:
var mySale = {
"amount": 12345, //the amount of a sale, including tax
"tipAmount": 123, // - the amount of a tip. Added to the amount for the total.
"suppressOnScreenTips": true,
"requestId": CloverID.getNewId()
}
This will inhibit the display of the on screen tips for the sale - if the merchant has them configured.
Please keep in mind that the beta version will be replaced in the near future with the 1.0 release of the Connector.
2 People are following this question.