public void EbtSale_TrackData() { var response = ebtTrackData.Charge(AMOUNT) .WithCurrency(CURRENCY) .Execute(); AssertEbtResponse(response, TransactionStatus.Captured); }
public void Test_229_swipe_foodStamp_sale() { Transaction response = foodCard.Charge(100m) .WithCurrency("USD") .Execute(); Assert.IsNotNull(response); // check message data PriorMessageInformation pmi = response.MessageInformation; Assert.IsNotNull(pmi); Assert.AreEqual("1200", pmi.MessageTransactionIndicator); Assert.AreEqual("008000", pmi.ProcessingCode); Assert.AreEqual("200", pmi.FunctionCode); // check result System.Diagnostics.Debug.WriteLine(response.HostResponseDate); System.Diagnostics.Debug.WriteLine(response.SystemTraceAuditNumber); Assert.AreEqual("000", response.ResponseCode); }