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

TransactionType Property

Specifies the type of EBT transaction to process.

Syntax

 tsysbenefit.getTransactionType([callback])
 tsysbenefit.setTransactionType( transactionType, [callback])

Possible Values

  8 (ettFoodStampPurchase), 
  9 (ettFoodStampReturn), 
  10 (ettFoodStampVoucher), 
  11 (ettFoodStampBalanceInquiry), 
  12 (ettCashBenefitWithdrawal), 
  13 (ettCashBenefitPurchase), 
  14 (ettCashBenefitBalanceInquiry)

Default Value

8


Callback

The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).

The callback for the getTransactionType([callback]) method is defined as:

function(err, data){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'data' is the value returned by the method.

The callback for the setTransactionType([callback]) method is defined as:

function(err){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'err' has 2 properties which hold detailed information:

err.code
err.message

Remarks

This property indicates the type of EBT transaction to send. The following table explains the transaction types in detail:

ettFoodStampPurchase (8)this transaction is used to purchase groceries or food items using funds from the Food Stamp account associated with the customer's EBT card. The customer may not receive cash back for this transaction.
ettFoodStampReturn (9)This transaction is used to refund money to a customer's Food Stamp account. This may only be used when a customer returns goods previously purchased using the ttFoodStampPurchase transaction type.
ettFoodStampVoucher (10)This transaction is identical to a ttFoodStampPurchase, but is used when the merchant's point of sale system or the EBT network is offline. The merchant must call the EBT Voice Authorization network and receive a VoucherNumber and VoucherCode to submit with this transaction.
ettFoodStampBalanceInquiry (11)This transaction retrieves the current available balance for the Food Stamp account associated with the customer's EBT card. The balance is returned in the ResponseBalance property.
ettCashBenefitWithdrawal (12)This transaction is used to withdraw money from the Cash Benefit account associated with the customer's EBT card. The amount to withdraw is indicated by the TransactionAmount property. The CashBackAmount property must be empty ("") for authorization, but should match the TransactionAmount when this transaction is settled.
ettCashBenefitPurchase (13)This transaction is used to purchase goods or services using funds from the Cash Benefit account associated with the customer's EBT card. The customer may also receive cash back using the CashBackAmount property. (Note that the TransactionAmount must equal the cost of the goods purchased PLUS the CashBackAmount).
ettCashBenefitBalanceInquiry (14)This transaction retrieves the current available balance for the Cash Benefit account associated with the customer's EBT card. The balance is returned in the ResponseBalance property.

The DebitPIN and DebitKSN properties are required for all transaction types except ttFoodStampVoucher. For most transactions, the CardTrack2Data property should be set with the magnetic stripe data from the card. If the magnetic stripe cannot be read, set CardTrack2Data to "" and set the CardNumber, CardExpMonth, and CardExpYear properties to send a manually-keyed transaction.

Data Type

Integer

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