bool SetParameters(string)
Performs an initial device parameter load.
Security
Trust Level Required: Full Trust
Parameters
Name | Description |
input |
string Serialized JSON string with the following parameters from the EMVRequestInput class: (optional) DeviceName. |
Return
True if the command was queued for processing, false otherwise.
Remarks
This call is implemented for NETePay. This call must be performed before any other transactions can be run. Other frameworks do not require this call. If other EMV integrations call it, it will result in a script error.
Examples
var input = {
"DeviceName": "MyDevice"
};
if (!KioEMVDevice.SetParameters(input))
alert('Failed to call SetParameters!');
// callback fired when operation processed
function OnKioEMVTransactionCompleted(result) {
alert('Operation returned: ' + lastTransResult.Result);
}
Requirements
KioWare for Windows version 8.24 or greater.