# ValidateCard Method The ValidateCard method validates the credit card. Syntax
    [ID=] SiteKiosk.Plugins("SiteCash").Devices("CreditCard").
          ValidateCard(obj)
Parameters
obj | CreditCardInfo object that provides information about the used card.
Return Value Returns a Long value that contains the ID of the transaction. Remarks None. Examples The following example validates the credit card.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    creditcard = SiteKiosk.Plugins("SiteCash").Devices("CreditCard");
    ccardinfo = creditcard.CreateCardInfo();
    creditcard.ValidateCard(ccardinfo);
    </SCRIPT>
Applies to SiteKiosk v5.0 (and later versions). Back to top