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

Sale Method

Submits a sale transaction for an Electronic Benefits (EBT) card.

Syntax

globalbenefitcontrol.Sale

Remarks

EBT sale transactions are similar to Debit card transactions in that they are real-time and require an EncryptedPIN and KSN. EBT cards are connected to either a Food Stamp account or a Cash Benefit account, or both. Like debit transactions, EBT transactions also must use track2 data read from the card's magnetic stripe - track1 data is not acceptable. Food stamp transactions MAY be manually keyed, but cash benefit transactions may NOT be manually keyed. The BenefitType property indicates whether the sale acts on a Food Stamp or Cash Benefit account.

This transaction is automatically added to the current open batch, and will be settled after the current batch is released with the GlobalBatchMgr control.

The EBT card may be specified by either a CardMagneticStripe returned by a card reader, (Track2 only), or manually entered through the CardNumber. CardExpMonth, and CardExpYear.

The ResponseCode and ResponseText properties indicate whether this transaction was successful. For example:

Swiped Cash Benefits transaction with cash back:

control.CardEntryDataSource = edsMagneticStripe
control.CardMagneticStripe = "9999999800002773=09121015432112345678"   
control.EncryptedPIN = "623F36B53CC18393"
control.KSN = "000000008F000021"
control.BenefitType = btCashBenefits
control.TransactionAmount = "25.00" '$20 purchase with $5 cash back  
control.CashBack = "5.00"
control.Sale

Manually-keyed Food Stamp transaction:

control.CardEntryDataSource = edsManuallyEntered 
control.CardNumber = "9999999800002773"   
control.CardExpYear = 12
control.CardExpMonth = 2015
control.EncryptedPIN = "623F36B53CC18393"
control.KSN = "000000008F000021"
control.BenefitType = btFoodStamps
control.TransactionAmount = "25.00"  'Cash back not supported for food stamps!
control.Sale

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