12-21-2012 12:50 PM - edited 12-21-2012 12:52 PM
I'm having some issues doing a credit request using the C# SDK. Here is the code I am using:
var txid = "2181163453";
var amount = 1.0M; var lastfour = "1111"; //test account var apilogin = "xxx"; var transkey = "xxx"; var request = new CreditRequest(txid, amount, lastfour); var gate = new CardPresentGateway(apilogin, transkey, true); var response = (CardPresentResponse)gate.Send(request);
I get a
The credit card number is invalid
error message using the last four. If i enter a full credit card number it tells me to enter an exipration date. I don't understand, it should just take the txid and work.
12-21-2012 02:26 PM
Looks like a bug in the SDK. I'm looking at the post values being sent and it is sending x_trans_id instead of x_ref_transid
Looking for a workaround...