Re: Card Validation test data inconsistency

mehmetkemalbaye
Regular Visitor

Card Validation test data inconsistency

Hello,

I'm trying to prepare test cases for card validation API. When I use this request:

{
"cardCvv2Value": "227",
"cardExpiryDate": "2020-10",
"primaryAccountNumber": "4957030420210488"
}

It returns with status code 200 but according to test data table it should return error with "Invalid Zip Code and CVV2 values" message.

Which one is wrong?

Thank you.

 

2 REPLIES 2
API_Managers
Visa Developer Support Specialist

Re: Card Validation test data inconsistency

Hi,

 

Thanks for the question! When you look at the Scenario Based Test Data for Invalid Zip Code and CVV2 values, do you see the expected response from what you requested? For example, you have inputted in the Scenario Based Test Data for Invalid Zip Code and CVV2 values request data, and then the Scenario Based Test Data response output is what you expect to see from that Invalid Zip Code and CVV2 values row. If this is what you see, then sandbox is functioning as expected and you've inputted the correct test data.

 

Thank you,

Diana




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

mehmetkemalbaye
Regular Visitor

Re: Card Validation test data inconsistency

Hello,

The json I wrote is already 5th row of Scenario Based Test Data it should return "Invalid Zip Code and CVV2" but it ends with success.