# CreditCard Object The CreditCard object controls the credit card device. Members Table The following table lists the members provided by the CreditCard object.
Members
Collections | Description
AcceptedCards | Contains the names of the accepted credit cards.
Properties | Description
AmountIncrement | Increment value of the steps when choosing an amount.
CardReaderAvailable | If a credit card reader is available.
CustomerEmailReceiptEnabled | If customer email receipt is enabled.
EmailReceiptEnabled | If receipt Emails should be sent.
ManualInputEnabled | If manual input is enabled.
MaxAmount | Maximum amount.
Merchant | Name of the merchant.
MerchantEmailAddress | Email address of the merchant.
MinAmount | Minimum amount.
ProcessingFee | Fee for using a credit card.
Methods | Description
CreateCardInfo | Creates an object containing card information.
CreateReceiptText | Creates a receipt text.
DebitCard | Debits the credit card.
GetCardBalance | Determines the gift card balance.
ValidateCard | Validates the credit card.
Events | Description
OnCardSwiped | Fires when the card is swiped.
OnProgressChange | Fires when the transaction progress changes.
OnTransactionBegin | Fires when a transaction begins.
OnTransactionComplete | Fires when a transaction is completed.
Remarks This object is available through the collection Devices. Use the CreditCard object to provide credit card paying. This device can be activated in the SiteKiosk configuration. 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 determines if a credit card reader is available and shows it in an alert window.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    creditcard = SiteKiosk.Plugins("SiteCash").Devices("CreditCard");
    alert(creditcard.CardReaderAvailable);
    </SCRIPT>
Applies to SiteKiosk v5.0 (and later versions). Back to top