Fires when a credit transaction is finished.
SiteKiosk.Plugins("SiteCash").Devices("ACOS").OnTransactionFinished = h
||Long value that contains the transaction ID.
||Boolean value that indicates if the transaction was successful.
The object that caused the event can be referenced in the event function using "this".
The following example shows an alert window when a transaction has been processed.
smartcard = SiteKiosk.Plugins("SiteCash").Devices("ACOS");
smartcard.OnTransactionFinished = OnTransactionFinished;
function OnTransactionFinished(id, success)
alert("Transaction " + id + " done, success: " + success);
SiteKiosk v5.0 (and later versions).
Back to top