CreateCardInfo Method



 
The CreateCardInfo method creates an object containing information about the credit card.


Syntax

    [obj=] SiteKiosk.Plugins("SiteCash").Devices("CreditCard").
           CreateCardInfo()
    
Return Value Remarks
    None.
Examples
    The following example shows the last name of the card owner in an alert window.

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

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

Back to top