Search: 
Available in: TSYS
CCSettle Component [TSYS Integrator V6]

Properties   Methods   Events   Configuration Settings  

The CCSettle component is used to do a Batch Settlement on all transactions that were successfully authorized with the CCECOMMERCE or CCRETAIL components. This component may also send Level II and Level III Corporate Purchasing Card data for better interchange rates.

NOTE: What follows is a very short description of the component interfaces. For more information, please consult the help files that come with the respective package.

Remarks

This component allows for a direct, secure connection to the Vital/TSYS gateway through a standard Internet connection. This component can be integrated into web pages or stand-alone Point Of Sale applications. Because all SSL communications are handled inside the component, any application or web page can be deployed without the need for expensive dedicated SSL servers. The CCSettle component is used to settle all transactions previously authorized by the CCECOMMERCE or CCRETAIL component. When a transaction is authorized, money in the customer's account is blocked and tagged for the merchant. However, funds do not actually change hands at this point. When transactions are settled with the CCSettle component the funds are deducted from the customer's account and added to the merchant's. It is essential that the authorized transactions are properly recorded and resent later in a Batch Settlement.

To send a Batch Settlement, first the user must fill out the Merchant properties with the same information contained in the authorizing component's Merchant properties.

   
  CCSettle.MerchantBankId = "999995"
  CCSettle.MerchantCategoryCode = "5999"
  CCSettle.MerchantName = "test merchant"
  CCSettle.MerchantNumber = "123456789012"
  CCSettle.MerchantCity = "Beverly Hills"
  CCSettle.MerchantState = "CA"
  CCSettle.MerchantStoreNumber = "5999"
  CCSettle.MerchantTerminalNumber = "1515"
  CCSettle.MerchantZip = "90210"

Additionally, the AgentBankNumber, AgentChainNumber, TerminalId, BatchNumber, and IndustryType must be set. Note that the TerminalId is fundamentally different from the Merchant. The Merchant is used to identify a unique terminal (PC, server, whatever) within a merchant location. The TerminalId, also known as the "V Number", is used for point-of-sale tracking.

   
  CCSettle.AgentBankNumber = "000000"
  CCSettle.AgentChainNumber = "111111"
  CCSettle.TerminalId = "00000001"
  CCSettle.BatchNumber = 15
  CCSettle.IndustryType = itRetail

At this point, you are ready to add transactions to the batch settlement. Each transaction to be settled must be added to the DetailRecords array property. First set the DetailRecordCount; to the total number of transactions you wish to settle. Each index in the DetailRecords array property must be set with the XML aggregate returned from the CCRETAIL, CCECOMMERCE, or CCDETAILRECORD component's GetDetailAggregate method.

   
  CCSettle.DetailRecordCount = 1
  CCSettle.DetailAggregate(0) = CCRETAIL.GetDetailAggregate()

Finally, call the SendSettlement method.

   
  CCSettle.SendSettlement()

If the transaction is successful, the ResponseCode will contain "GB", which indicates a "Good Batch". You should check that the Response and Response match the Batch and Batch properties. If the transaction is not successful and you receive an "RB" Response (indicating a "Rejected Batch") the component throws an exception. You may inspect the Error. Error, Error, Error, and Error properties for more information concerning why the batch was rejected.

Thousands of detail records may be settled in the above manner, just by increasing the DetailRecordCount and adding a transaction to each index of the DetailRecords property. However it is recommended that Batch Settlements be kept relatively small - around 100 transactions or so - to decrease the number of records that must be resent in the event of an error.

To Void a transaction that has been authorized but has not yet been settled, simply do not include it in the batch settlement. The block on the cardholder's account will clear automatically. Credits and forced transactions may be created using the CCDETAILRECORD component and settled in the same manner.

To add Level II or Level III data to the settled transactions, use the DetailRecords property and the CCLEVEL2 or CCLEVEL3 components.

Note that the IndustryType from the CCSettle component MUST match the detail record aggregate of EACH transaction that is added to the settlement. You cannot mix industry types in a batch - you must settle a separate batch for each industry type.

/n software suggests that as a matter of good business practices all merchants and third parties that store cardholder data should be aware of the Visa Cardholder Information Security Program (CISP) and the MasterCard Site Data Protection (SDP) program. The purpose of these programs is to help protect the integrity of cardholder information via the use of outside-vendor auditing of systems security and server site security.

Property List


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

AgentBankNumberIdentifies a specific agent entity of the member bank or processor.
AgentChainNumberIdentifies a specific chain of an agent organization.
BatchContains information about the batch settlement, as computed by the component.
BatchNumberSequence number of this batch transaction.
DetailRecordsCollection of detail records to send in the settlement.
ErrorContains information about settlement errors.
IndustryTypeCode which indicates the industry the merchant is engaged in.
MerchantContains the merchant's setup information.
MerchantLocalPhoneMerchant's local phone number. Used in settlement only.
ResponseContains the response to a batch settlement.
SSLAcceptServerCertInstructs the component to unconditionally accept the server certificate that matches the supplied certificate.
SSLCertThe certificate to be used during SSL negotiation.
SSLServerCertThe server certificate for the last established connection.
TerminalIdContains number to accommodate a POS device tracking number.
TimeoutA timeout for the component.

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.
InterruptInterrupts the current action.
ResetResets all the properties of the entire settlement to their default values.
SendSettlementBegins a Batch Settlement transaction with the transaction server.

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.

ConnectedFired immediately after a connection completes (or fails).
DataPacketInFired when receiving a data packet from the transaction server.
DataPacketOutFired when sending a data packet to the transaction server.
DisconnectedFired when a connection is closed.
ErrorInformation about errors during data delivery.
SSLServerAuthenticationFired after the server presents its certificate to the client.
SSLStatusShows the progress of the secure connection.

Configuration Settings


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

DeviceCode
LocationNumberProvides additional information on the location of the merchant
DeveloperIdNumber that indicates the software's origin to the TSYS network
PortThe port to which transactions are posted
RetrySet this to retry a failed transaction
ServerThe server to which transactions are posted
VersionIdIndicates the software's version to the Vital network
ResponseStoreNumberCheck this field against the original Merchant StoreNumber
ResponseTerminalNumberCheck this field against the original Merchant TerminalNumber
UseIPv6Whether or not to use IPv6
MaxLineLengthThe maximum amount of data to accumulate when no EOL is found
FirewallAutoDetectTells the component whether or not to automatically detect and use firewall system settings, if available
FirewallHostName or IP address of firewall (optional)
FirewallListenerIf true, the component binds to a SOCKS firewall as a server (IPPort only)
FirewallPasswordPassword to be used if authentication is to be used when connecting through the firewall
FirewallPortThe TCP port for the FirewallHost;
FirewallUserA user name if authentication is to be used connecting through a firewall
FirewallTypeDetermines the type of firewall to connect through
TcpNoDelayWhether or not to delay when sending packets
ReuseSSLSessionDetermines if the SSL session is reused
SSLCipherStrengthThe minimum cipher strength used for bulk encryption
SSLEnabledProtocolsUsed to enable/disable the supported security protocols
SSLProviderThe name of the security provider to use
SSLSecurityFlagsFlags that control certificate verification
OpenSSLCADirThe path to a directory containing CA certificates
OpenSSLCAFileName of the file containing the list of CA's trusted by your application
OpenSSLCipherListA string that controls the ciphers to be used by SSL
OpenSSLPrngSeedDataThe data to seed the pseudo random number generator (PRNG)
AbsoluteTimeoutDetermines whether timeouts are inactivity timeouts or absolute timeouts
FirewallDataUsed to send extra data to the firewall
InBufferSizeThe size in bytes of the incoming queue of the socket
OutBufferSizeThe size in bytes of the outgoing queue of the socket
CodePageThe system code page used for Unicode to Multibyte translations (Windows/COM only)

| About | Privacy Policy | Terms of Use |
© Copyright 2010 /n software inc.