AnsweredAssumed Answered

How to test an "invalid" card number?

Question asked by shanon@qbc.com on Jun 17, 2019
Latest reply on Jun 26, 2019 by tboumil

I've got a connection to the cnpAPI sandbox via https://www.testvantivcnp.com/sandbox/communicator/online, and have been first playing with getting a response via the registerTokenRequest function.

 

I've come across multiple differing documents with examples of card numbers to use for testing features, and my issue that I seem to be running into is that no matter what number I put in for the card, the response always comes back as 801 - Account Number was successfully registered.

 

I've tried using the "invalid" card numbers from the cnpAPI reference guide, as well as trying to "build" a card number for the desired response using the data here: http://vantiv-ecommerce.github.io/sandbox/

Does anyone have any tips on this?

Outcomes