Parent Class: Custom

The wwCCProcessing class is an abstract class that provides the basic interface for Credit Card processing for the following Internet CC Providers. These classes are implementation specific but provide the same basic interface so you can easily switch between them.

Click the class links for examples to get you started quickly.

For more information on signing up with these supported providers please visit the following link on our Web site providing contact info and pricing information:

http://www.west-wind.com/webconnection/merchantproviders.asp

Remarks: contained in ccProcessing.prg

Properties, Events and Methods

Member Description
ValidateCardThis method is responsible for actually processing the credit card transaction. It goes out to the provider and returns validation information.
o.ValidateCard()
cAddressMain Address for the customer.
cAddress2Second address line. This is not required for AVS validation - use only for your own reference of the data stored on the Merchant server.
cCardExpirationExpiration date in MM/YYYY format.
cCardNoCredit Card Number
cCityThe city of the cardholder.
cCommentsOrder comments. Used only for your info on the merchant's server.
cCompanyOptional company name of the cardholder.
cCountryFull name of the country of the card holder.
cCountryCodeCountry code for the order. This is required only for wwClearCommerce - Country codes are starndard ISO country codes and can be found in the ClearCommerce/Linkpoint manuals.
cEmailEmail address of the cardholder. Used only for reference.
cErrorMsgIf a hard error occurred during processing of the request you'll find this error message property set.
cFaxOptional Fax.
cHTTPLinkLink used on the server to access credit card processing. NOt used for ClearCommerce since they provide their own hardwired API. Used for AccessPoint and any client side HTTP access.
cHTTPResultContains the full HTTP raw result of the request. This is provided for debugging and record keeping purposes.
cNameFull name of the card holder.
cOrderIdAn order ID to be used for your reference.
cPhonePhone number of the card holder. Not used but recommended to be provided.
cServerName of the server that will be used to remotely connect to for processing.
cStateTwo letter state code for cardholder
cStoreNameName or store number. AccessPoint: Your store user name/merchant Id. ClearCommerce: Store Number.
cStorePasswordThe password for your store with ClearCommerce.
cValidatedMessageFull parsed result message
cValidatedResultThis is the validated result from CC processing.
cXMLInputcXMLInput holds the XML input string sent to the ClearCommerceAPI. Not used with AccessPoint. Provided here mainly for future extensibility for any APIs.
cZipZip code of cardholder.
lErrorError flag - check after a call to ValidateCard to check for hard errors like bad connections or API failures.
lMod10CheckDetermines whether Validation uses a Mod10 check to fail. Mod10 check check for valid credit card formatting.
lTestTransactionFlag to allow test transactions to be run with the ClearCommerce API. Doesn't work with AccessPoint.
nOrderAmountThe dollar amount of the order. If this value is a negative number a Credit operation is assumed. Credits only work with ClearCommerce, not AccessPoint.
nPortThe HTTP port used to connect to the server. Used only by ClearCommerce at this time.


Last Updated: 8/17/2005 | Send topic feedback