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

PaymentType Property

Specifies the type of EBT transaction to process.

Syntax

 tsyshcbenefit.getPaymentType([callback])
 tsyshcbenefit.setPaymentType( paymentType, [callback])

Possible Values

  0 (ptFoodStamp), 
  1 (ptCashBenefit)

Default Value

0


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 getPaymentType([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 setPaymentType([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:

ptFoodStamp (0)This payment type 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.
ptCashBenefit (1)This payment type 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 DebitPIN and DebitKSN properties are required for all transaction types except ttFoodStampVoucher. For most transactions, the Card property should be set with the magnetic stripe Track 2 data from the card. If the magnetic stripe cannot be read, 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