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

void __fastcall 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 component.

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:

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

Manually-keyed Food Stamp transaction:

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

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