ValidateChecksum Method



 
The ValidateChecksum method determines if the entered credit card information is valid.


Syntax

    [bool=] SiteKiosk.Plugins("SiteCash").Devices("CreditCard").
            ValidateChecksum()
    
Return Value
    Returns a Boolean value that indicates if the entered information is valid.
Remarks
    None.
Examples
    The following example determines if the current credit card information is valid.

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

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

Back to top