Re: Card number are expired in standbox

Solved! Go to solution
Kilwinboy
Regular Visitor

Card number are expired in standbox

Hi! In standbox the test data for card number are expired and i wanted to do some tests. Is there some others samples?

6 REPLIES 6
API_Products
Visa Developer Support Specialist

Re: Card number are expired in standbox

Hey @Kilwinboy,

 

We're happy to help. When you create a test App in our sandbox you'll receive test data in your App. The test data for your Visa Developer application is available in the Dashboard under test data in the left navigation. You'll basically have a table per API that is split into the Request and Response sections and the values on the Request section are meant to be populated in the payload with the intention of obtaining results specified in the Response section.
20190905 Test Data.png
Sandbox data is limited to what is provided in the Test Data tables and is not integrated to the Visa Network and you cannot test real data in sandbox. 
 




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.

Kilwinboy
Regular Visitor

Re: Card number are expired in standbox

Hi Diana,

thanks for taking time to respond. I took a picture of the test data page and i don't see a valid card number and expiry date for Payment Account Validation API.

I understand that the data set is not as in production but when i took a data for other service to run account validation, i got this error ""errorMessage" : "API Validation Error: 3001. Expiration Date has invalid content or has expired."

CardNumber: *****

Expiry date: 2021-01

Cvv: *****

Please let me know if you have valid data for this service especially.

Thanks for your helpScreen Shot 2021-02-10 at 11.11.11 PM.png

willamowen
Regular Visitor

Re: Card number are expired in standbox

Card expiration dates generally come in a two-number format, with the first number representing the month and the second showing the year. For example, 09/23 would be September of 2023.

SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: Card number are expired in standbox

Hi @Kilwinboy,

 

If you are testing the Payment Account Validation API, please try to use "primaryAccountNumber": "4957*3108" and "cardExpiryDate": "2040-10" and replace * with 03000031

 

You should get a success response similar to below:

{
"cvv2ResultCode": "P",
"transactionIdentifier": 379376030795169,
"actionCode": "25",
"addressVerificationResults": "I",
"responseCode": "5"
}

 

Hope this helps.


Best,
Stacey

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

Re: Card number are expired in standbox

Hi, thanks for helping.

I wanted to validate my use cases:

1. Card is valid

2. Card is invalid

So based on the documentation and your sample, i got a actionCode: 25 (Unable to locate record in file). Is there enough to determine if the card is valid if i get 200 Ok respond?

Thanks

SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: Card number are expired in standbox

Hi @Kilwinboy,

 

We are currently working on getting test PANs for various test scenarios in sandbox in the coming months. Please stay tuned...

 

As you have mentioned, the actionCode returned for the above test PAN is 25 (Unable to locate record in file) and http response is 200 (request received and processed). This should give you a general view of the request and response structure. You can use this to understand the API and build your solution. If you are ready to promote your project to the higher environment, you'll be able to do more in depth testing with production data. Hope this helps. Please let me know if you have further questions.

 

 

 


Best,
Stacey

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