CardType Property
Type of credit card being used in this transaction.
Syntax
int GetCardType();
int SetCardType(int iCardType);
Possible Values
CT_UNKNOWN(0), CT_VISA(1), CT_MASTER_CARD(2), CT_AMEX(3), CT_DISCOVER(4), CT_DINERS(5), CT_JCB(6), CT_VISA_ELECTRON(7), CT_MAESTRO(8), CT_LASER(10)
Default Value
0
Remarks
Type of credit card being used in this transaction. This property contains the customer's credit card type. This is automatically computed after the CardNumber is set, but it can also be changed manually. A list of valid card types is included below.
ctUnknown (0) | Invalid or unknown prefix, card type not known. |
ctVisa (1) | Visa or Delta Card. |
ctMasterCard (2) | MasterCard. |
ctAMEX (3) | American Express Card. |
ctDiscover (4) | Discover Card. |
ctDiners (5) | Diners Club or Carte Blanche Card. |
ctJCB (6) | JCB Card. |
ctVisaElectron (7) | Visa Electron Card (runs as a Visa for most gateways) |
ctMaestro (8) | Maestro Card |
ctLaser (10) | Laser Card (Ireland) |
This property is not available at design time.
Data Type
Integer