Reputation: 37632
So I am facing this error when execute request to FirstData.com.
244 Invalid Encryption Format Fix Invalid encryption flag. Data is Inaccurate.
E4.ServiceSoapClient ws = new E4.ServiceSoapClient();
E4.Transaction txn = new E4.Transaction();
txn.ExactID = firstData.ExactID;
txn.Password = firstData.Password;
txn.Transaction_Type = "00";
txn.Card_Number = model.CardNumber;
txn.CardHoldersName = model.CardHoldersName;
txn.DollarAmount = product.Price.ToString();
txn.Customer_Ref = product.Name;
txn.Reference_No = product.ID.ToString();
By developer docs for 00 transaction type we have to send those properties:
CardholdersName
Card_Number
DollarAmount
Expiry_Date
Any clue how to fix this error?
Upvotes: 1
Views: 829