KioEMVTransaction Object

Functions

Type Signature
int GetStatus(string deviceName = null)
Gets general device status.
KioDeviceStatus GetStatusEx(string deviceName = null)
Gets detailed device status.
int GetState(string deviceName = null)
Gets current device state.
bool Payment(int amount, string deviceName = null)
Performs a PreAuth payment transaction for the request amount which must be confirmed.
bool Void(string transactionRefId, string deviceName = null)
Voids an unconfirmed transaction, and returns the result via the OnKioEMVTransactionCompleted callback.
bool Confirm(string transactionRefId, string deviceName = null)
Finalizes an unconfirmed transaction, and returns the result via the OnKioEMVTransactionCompleted callback.
bool CancelTransaction(string deviceName = null)
Cancels a pending transaction, and returns the result via the OnKioEMVTransactionCompleted callback.
bool SetIdleMessage(string msg, string deviceName = null)
Sets a new idle message for the device.
bool SetParameters(string deviceName = null)
Performs a device parameter load under the Datacap EMV framework.
bool Sale(int paymentAmount, string deviceName = null)
Performs a single step sale transaction for the requested amount, as opposed to 2-step transaction done with Payment() and Confirm().
bool VoidSale(int paymentAmount, string ReferenceId, string CardHashToken, string AuthCode, string AcqRefData, string ProcessData, string deviceName = null)
Voids a previous Sale transaction in the batch that has not yet been settled.

Page Callbacks

Type Signature
function(result) OnKioEMVTransactionCompleted
Many EMV transaction actions (Payment, Refund, Confirm, Void, and CancelTransaction) will cause KioWare to attempt calling OnKioEMVTransactionCompleted in every frame of every browser.
function(newState) OnKioEMVStateChanged
KioWare attempts calling OnKioEMVStateChanged in every frame of every browser when the device state changes.