Skip to content

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

@Rogeriohsjr

Description

@Rogeriohsjr

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);
  controller.Execute();
  var response = controller.GetApiResponse();

Another issue that I noticed that it returns null is when we pass more character then the field handles, like lineItemType.name 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting-replyIssue awaiting reply from Developer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions