Direct Payment Integrator V6 - Online Help
Direct Payment Integrator V6
Questions / Feedback?

TSYSBenefit Control

Properties   Methods   Events   Configuration Settings   Errors  

The TSYSBenefit component is an advanced tool used to authorize Electronic Benefits (EBT) cards in a Retail environment, where the customer is purchasing products or services in person. This component makes authorizing EBT Food Stamp and Cash Benefit transactions (with a customer PIN) very easy. Supported Industry Types include retail stores, restaurants, and grocery stores.

Syntax

TSYSBenefit

Remarks

This control allows for simple, direct, secure connection to the Vital/TSYS TLS/SSL gateway through a standard Internet connection. Because all TLS/SSL communications are handled inside the control, any application or web page can be deployed without the need for expensive dedicated TLS/SSL servers.

The TSYSBenefit control makes authorizing EBT card transactions (where the customer's card is swiped through a card reader and a PIN is supplied) very easy by adding an additional layer of abstraction between the programmer and the protocol. There is no need to deal with raw sockets, TLS/SSL handshakes, or data packet formatting. The steps to setting up the control and authorizing a transaction are outlined below:

First, set the merchant properties with setup information acquired from your member bank or processor. For instance:


  TSYSBenefit1.MerchantBankId = "999995"
  TSYSBenefit1.MerchantNumber = "888000002447"
  TSYSBenefit1.MerchantName = "TEST MERCHANT"
  TSYSBenefit1.MerchantTerminalNumber = "1515"
  TSYSBenefit1.MerchantStoreNumber = "5999"
  TSYSBenefit1.MerchantCategoryCode = "5999"
  TSYSBenefit1.MerchantCity = "Durham"
  TSYSBenefit1.MerchantState = "NC"
  TSYSBenefit1.MerchantZip = "27713"
  TSYSBenefit1.MerchantTimeZone = "705"
  TSYSBenefit1.MerchantABANumber = "123456789"
  TSYSBenefit1.MerchantSettlementAgent = "V123"
  TSYSBenefit1.MerchantFCSId = "1234567"
  TSYSBenefit1.AgentBankNumber = "000000"
  TSYSBenefit1.AgentChainNumber = "111111"
  TSYSBenefit1.IndustryType = itRetail

Next, set properties that contain details about the transaction. The TransactionNumber is a sequence number, and should be incremented for each transaction you send. TransactionAmount is the amount of sale, formatted with an implicit decimal place. The CardMagneticStripe is read from the magnetic stripe on the back of the card, (Track 2 for EBT transactions) and the DebitPIN and DebitKSN are retrieved from a standard DUKPT Pin Pad device.


  TSYSBenefit1.TransactionNumber = 1
  TSYSBenefit1.TransactionAmount = "1000"
  TSYSBenefit1.CardMagneticStripe = "9999999800002773=09121015432112345678"
  TSYSBenefit1.CardPIN = "83C33384650827F6"
  TSYSBenefit1.CardKSN = "4A00310459400004"

The TSYSBenefit control supports both Food Stamp and Cash Benefit programs on the same card. Make sure to choose the correct TransactionType for the benefit program you wish to use, and then call the Authorize method. For example:


  TSYSBenefit1.TransactionType = ttFoodStampPurchase
  TSYSBenefit1.Authorize()

When the control receives a response from the Vital/TSYS servers, the result of the authorization will be displayed in several Response properties. The ResponseCode indicates whether the transaction was approved, and the remaining properties provide additional information about the transaction.

Once an EBT authorization is approved, the transaction must go through the batch settlement process in order for the merchant to receive the funds in his merchant account. This is done by passing the XML aggregate returned from the GetDetailAggregate method to the TSYSSettle control. Usually, a Batch Settlement of all authorized transactions is done at the end of each business day. Note that ttFoodStampBalanceInquiry and ttCashBenefitBalanceInquiry TransactionTypes cannot be settled.

Property List


The following is the full list of the properties of the control 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.
BatchNumberThe batch number that this transaction will be included in.
CardCVVDataThree digit security code on back of card (optional).
CardCVVPresenceIndicates the presence of the card verification value.
CardEntryDataSourceThis property contains a 1-character code identifying the source of the customer data.
CardExpMonthExpiration month of the credit card specified in Number .
CardExpYearExpiration year of the credit card specified in Number .
CardMagneticStripeTrack data read off of the card's magnetic stripe.
CardNumberCustomer's credit card number for the transaction.
CashBackAmountAmount returned to the customer in cash.
DebitKSNClear-text Key Sequence Number, used for Debit and EBT transactions.
DebitPINDUKPT DES encrypted PIN block, used for Debit and EBT transactions.
IndustryTypeCode which indicates the industry the merchant is engaged in.
MerchantBankIdThe number which identifies the merchant's bank or processor.
MerchantCategoryCodeClassifies a merchant by the type of store.
MerchantCityMerchant's City For Retail (Card Present) transactions, this property should contain the city in which the merchant is located.
MerchantCountryCodeIdentifies the country where the merchant is located.
MerchantCurrencyCodeIdentifies the type of currency used by the merchant.
MerchantLanguageDesignates the language that response messages will be returned in.
MerchantNameName of the merchant.
MerchantNumberA unique number used to identify the merchant within the VisaNet system.
MerchantServicePhoneMerchant's customer service number.
MerchantStateState or province that the merchant is located in.
MerchantStoreNumberUsed to identify a specific merchant's store within the VisaNet system.
MerchantTerminalNumberUsed to identify a unique terminal within a merchant location.
MerchantTimeZoneSpecifies the GMT offset used to calculate the local time within the VisaNet system.
MerchantZipZip code where the merchant that initiated this transaction is located.
MerchantABANumberMerchant's routing number.
MerchantFCSIdIdentifies the merchant as an approved Food Stamp merchant.
MerchantSettlementAgentMerchant's settling agent.
ResponseBalanceAvailable balance remaining on card.
ResponseApprovalCodeContains an authorization code when a transaction has been approved.
ResponseAuthorizedAmountAmount actually used from the card (used when supporting partial redemptions).
ResponseAuthSourceIndicates the source of the authorization code stored in ApprovalCode .
ResponseAVSResultContains the Address Verification System result code.
ResponseCodeIndicates the status of the authorization request.
ResponseCVVResultContains the returned CVV result code if it was requested.
ResponseRetrievalNumberThis number is to be used to identify transactions and should be submitted when making adjustments, reversals or at settlement.
ResponseReturnedACIReturned Authorization Characteristics Indicator contains CPS qualification status.
ResponseTextText information that describes each response code.
ResponseTransactionDateLocal transaction date returned from the server in MMddyy format.
ResponseTransactionIdContains the Transaction Identifier or MasterCard Reference Number.
ResponseTransactionNumberCheck this property against the original Transaction Number.
ResponseTransactionTimeLocal transaction time returned from the server in HHmmss format.
ResponseValidationCodeThis optional property contains information generated by the card issuer.
ResponseHostMessageIdUnique host message identifier (Reserved for future use).
ResponseNetworkIdIdentification code of the network on which the transaction was authorized.
ResponseSettleDateDate at which the Debit, EBT, or Gift Card transaction will settle.
ResponseTraceSystem Trace Audit Number returned for Debit transactions.
TransactionAmountPurchase amount to be authorized.
TransactionNumberSequence number of this transaction.
TransactionTypeSpecifies the type of EBT transaction to process.
VoucherCodeRequired for Food Stamp Voucher transactions.
VoucherNumberRequired for Food Stamp Voucher transactions.

Method List


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

AuthorizeSends a Gift Card transaction.
ConfigSets or retrieves a configuration setting .
GetDetailAggregateReturns an aggregate containing details of this transaction, which is then used for settlement.
InterruptInterrupts the current action.
ResetClears all properties to their default values.

Event List


The following is the full list of the events fired by the control 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 control with short descriptions. Click on the links for further details.

AllowPartialAuthsIndicates whether partial authorizations are to be supported.
SurchargeAmountThe transaction fee amount charged to the customer to account for acquirer-assessed surcharge.
AuthorizationIndicatorThe type of authorization request.
RetrySet this to retry a failed transaction.
SendExtendedAVSSpecifies whether to send extended AVS data.
ResponseStoreNumberCheck this field against the original Merchant StoreNumber.
ResponseTerminalNumberCheck this field against the original Merchant TerminalNumber.
ResponseCardholderVerificationVerification results for cardholder identification data (extended AVS).
PortThe port to which transactions are posted.
ServerThe server to which transactions are posted.
AuthenticationCodeAn alphanumeric code provided to the POS user for input when authenticating a POS device.
ActivateTerminalAuthenticates a POS device with TSYS.
DeactivateTerminalDeactivates a POS device with TSYS.
GenKeyA randomly generated string of alphanumeric characters identifying the terminal.
TsysETBThe Encryption Transmission Block TSYS uses to decrypt encrypted data.
UseConfirmationRequestIndicates whether or not to send a Confirmation Request authorization transaction.
LocalRetrievalNumberSpecifies the Retrieval Reference Number to use in a NonConfirm authorization request.
LocalDateSpecifies the local transaction date to use in a NonConfirm authorization request.
LocalTimeSpecifies the local transaction time to use in a NonConfirm authorization request.
ProcessorSpecifies the Processor you are connecting to.
HeartlandEncryptionModeSpecifies the encryption mode to use in Heartland transactions.
HeartlandDeviceIdSpecifies a device ID to uniquely identify each terminal (card data entry device).
HeartlandKeyBlockSpecifies the key block used to encrypt the data.
TimeoutA timeout for the component.
CodePageThe system code page used for Unicode to Multibyte translations.

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