CreditCard Object



 
The CreditCard object controls the credit card device.


Members Table

Remarks
    This object is available through the collection Devices. Use the CreditCard object to provide credit card paying.
    This device can be activated in the SiteKiosk configuration.

    Note that the path of a file using SiteKiosk objects must be allowed in the
    SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
    if it is not a browser skin file.
Examples
    The following example determines if a credit card reader is available and shows it in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    creditcard = SiteKiosk.Plugins("SiteCash").Devices("CreditCard");
    alert(creditcard.CardReaderAvailable);
    </SCRIPT>
    

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

Back to top