private void btnPADReset_Click(object sender, EventArgs e) { txtResponse.Text = string.Empty; emvTransaction = EMVTransactions.EMVPadReset; txtRequest.Text = EMVRequest.GetEMVPadResetRequest(configData, GetTransData()); }
public void Process(DSIEMVXLib.DsiEMVX dsiEMVX, ConfigurationData configData, TransactionData transData) { string txnResponse = string.Empty; _request = EMVRequest.GetEMVPadResetRequest(configData, transData); _response = dsiEMVX.ProcessTransaction(_request); _responseDictionary = XMLHelper.ParseXMLResponse(_response); }
public void Process(DSIEMVXLib.DsiEMVX dsiEMVX, ConfigurationData configData, TransactionData transData) { var tempRequest = string.Empty; tempRequest = EMVRequest.GetEMVPadResetRequest(configData, transData); _response = dsiEMVX.ProcessTransaction(tempRequest); _responseDictionary = XMLHelper.ParseXMLResponse(_response); if (_responseDictionary["CmdStatus"].ToLower() == "success") { _response = dsiEMVX.ProcessTransaction(_request); _responseDictionary = XMLHelper.ParseXMLResponse(_response); tempRequest = EMVRequest.GetEMVPadResetRequest(configData, transData); dsiEMVX.ProcessTransaction(tempRequest); XMLHelper.ParseXMLResponse(_response); } }