PayPal Integrator V5 - Online Help
PayPal Integrator V5
Questions / Feedback?

CardValidator Component

Properties   Methods   Events   Configuration Settings   Errors  

The CardValidator component is used to verify that a given credit card number is formatted properly, and could be a valid card number. Validating a card before actually submitting a transaction for authorization can reduce the fees that may be associated with invalid or declined transactions.

Syntax

nsoftware.InPayPal.Cardvalidator

Remarks

Utilization of this component catches accidentally mistyped card numbers and allows buyers to re-input their number without having the transaction declined. It can also determine the type of credit card (Visa, MasterCard, Discover, etc) to easily determine if the customer is presenting a payment type which you do not support. The component can also parse swiped track data and perform these same checks on it.

There are three checks performed on the customer's credit card information:

The card number is checked for validity using the Luhn mod-10 algorithm.
The type of the card (Visa, MasterCard, etc.) is computed from the card number.
The expiration date is checked against the current system date.

The ValidateCard method explains these checks in more detail.

Property List


The following is the full list of the properties of the component with short descriptions. Click on the links for further details.

CardExpMonthExpiration month of the credit card specified in CardNumber .
CardExpYearExpiration month of the credit card specified in CardNumber .
CardNumberCredit card number to be validated.
CardTypeIndicates the results of the Luhn Digit Check algorithm.
CardTypeDescriptionHuman-readable description of the CardType .
DateCheckPassedIndicates whether the card is expired or not.
DigitCheckPassedIndicates the results of the Luhn Digit Check algorithm.
TrackDataMagnetic stripe data read off the credit card.
TrackTypeIndicates the type of the specified TrackData .

Method List


The following is the full list of the methods of the component with short descriptions. Click on the links for further details.

ConfigSets or retrieves a configuration setting .
ResetClears all properties to their default values.
ValidateCardChecks the card number and expiration date for validity.

Event List


The following is the full list of the events fired by the component with short descriptions. Click on the links for further details.

ErrorInformation about errors during data delivery.

Configuration Settings


The following is a list of configuration settings for the component with short descriptions. Click on the links for further details.

NameOnCardThe name encoded in the track data on the credit card.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 5.0.6240.0