OnInpaymentFailed Event
Fires when an inpayment failed.
Syntax
SiteKiosk.Plugins("SiteCash").OnInpaymentFailed = handler
|
Parameters
Remarks
The object that caused the event can be referenced in the event function using "this".
An inpayment can be done using the DebitTrial method.
SiteCash devices that fire this event are ACOS Smartcards and the HW200 interface.
Examples
The following example shows the name of the device when an inpayment failed.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
SiteKiosk.Plugins("SiteCash").OnInpaymentFailed = OnInpaymentFailed;
function OnInpaymentFailed(obj)
{
alert(obj.Name);
}
</SCRIPT>
|
Applies to
SiteKiosk v6.0 (and later versions).
Back to top