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.

    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.

    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.
    The following example shows the last name of the card owner in an alert window.

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

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

Back to top