OnCreditStatusChange Event



 
Fires when the credit status changes.


Syntax

    SiteKiosk.Plugins("SiteCash").OnCreditStatusChange = handler
Remarks
    The credit status indicates if credit is available or not.

    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example shows an alert window when the credit status changes.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Plugins("SiteCash").OnCreditStatusChange = OCSChange;
    function OCSChange()
    {
       alert(SiteKiosk.Plugins("SiteCash").CreditStatus);
    }
    </SCRIPT>
    

Applies to
    SiteKiosk v5.0 (and later versions).

Back to top