New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

createTransactionController - Get return as Null if CVV is less then 3 characters #248

Rogeriohsjr opened this Issue Jan 31, 2019 · 0 comments


None yet
1 participant
Copy link

Rogeriohsjr commented Jan 31, 2019

I got an issue this week where we were passing 2 characters as CVV and instead Authorize.Net returns that CVV is invalid, it was returning null. I tested with 1 character as well, and same issue.

// The method that we were passing CVV
var creditCard = new creditCardType
                    cardCode = cvv

// Null was returning from this execution
  var controller = new createTransactionController(request);
  var response = controller.GetApiResponse();

Another issue that I noticed that it returns null is when we pass more character then the field handles, like adding 100 character, I believe this field is char 31 for the api, if we pass more then that it returns null. Would be nice you guys truncate this instead of wait for us do that or at least return a different error then null.

I am using version: 1.8.10, not sure if those were fixed already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment