CreditCardInfo Object



 
The CreditCardInfo object provides information about the used credit card.


Members Table

    The following table lists the members provided by the CreditCardInfo object.

    Members
    Properties Description
    Balance Credit card balance.
    CardType Credit card type.
    CustomerEmail Customer email address.
    CVCode Card validation code.
    FirstName First name of the owner.
    LastName Last name of the owner.
    MagneticStripeCard Whether it is a magnetic stripe card.
    Month Month when the validity ends.
    Number Credit card number.
    TransactionMode Transaction mode.
    Year Year when the validity ends.
    Methods Description
    ValidateChecksum Returns if the entered card information is valid.

Remarks
    This object is returned by the CreateCardInfo method. Use the CreditCardInfo object to receive information about the credit card and its owner.

    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 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