DebitRefund Method
Sends a Refund request for a Debit or EBT card.
Syntax
int DebitRefund();
Remarks
This method sends a Debit/EBT refund (return) request to the FDMS transaction processor, which returns funds to a Cardholder's account. If the Refund request was successful, ResponseSuccess will be True.
For Debit Card refunds, Track2 data will need to be set as well as the DebitKSN and DebitPIN.
For EBT transactions, EBTPaymentType will need to be set as well as the Track2 card data or card number, DebitKSN and DebitPIN.
For Food Stamp Voucher transactions, you will need to set EBTVoucherCode and EBTVoucherNumber rather than
DebitKSN and DebitPIN.
OmahaRetail.TransactionNumber = 999
OmahaRetail.TransactionAmount =
"1.00"
OmahaRetail.Card.EntryDataSource = edsTrack2
OmahaRetail.Card.MagneticStripe =
"4017779999999999=16041200000000001"
OmahaRetail.DebitKSN =
"876543210A005611119"
OmahaRetail.DebitPIN =
"8741F3581F20D1D1"
OmahaRetail.DebitRefund()
if
(OmahaRetail.ResponseSuccess) {
OmahaBatchMgr.DetailRecords.Add(
new
OmahaRecordType(OmahaRetail.GetDetailAggregate()))
}