Test credit card numbers failing in REST API vault calls

matt-james
Contributor
Contributor

I'm trying to use the credit card numbers that I got from https://developer.paypal.com/tools/sandbox/card-testing/, and every card number the I try, I get back "Credit card number is not an accepted test number." when calling https://api-m.sandbox.paypal.com/v3/vault/setup-tokens.  Any ideas what I need to do in order to use these test cards?  Something different in my account?  Or with the request?

Login to Me Too
2 REPLIES 2

Kavyar
Moderator
Moderator

Good day @matt-james 

 

Thank you for posting to the PayPal community.

 

I would like to provide you with some troubleshooting steps to help you resolve the issue you are experiencing. Kindly ensure that you are following these steps:

 

     1. Please verify that you are entering a valid credit card number and credit card CVV when using the PayPal API.

     2. Make sure that the expiration date is set to a date in the future.

 

I recommend trying the process again by utilizing the guide links provided below:

 

https://developer.paypal.com/tools/sandbox/card-testing/#link-testcards 

 

https://developer.paypal.com/api/nvp-soap/payflow/integration-guide/test-transactions/

 

Credit card generator for testing -  https://developer.paypal.com/developer/creditCardGenerator/ 

 

If you are still experiencing issues, please create an MTS ticket via the following URL -  https://www.paypal-support.com/s/?language=en_US . Please ensure that you provide detailed information and error details when submitting the ticket.

 

Sincerely,

Kavya

PayPal MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

 

Login to Me Too

matt-james
Contributor
Contributor

@KavyarBased on the links that you sent:

  • The first link is what I included in my description, and I've visited it often.  That's where I'm currently generating credit card numbers today.  And they're failing consistently.
  • The third link doesn't go anywhere and redirects me to the developer dashboard - you may want to update your notes.
  • The second link refers to Payflow, which I'm not using - all of my calls are REST API calls, so there is no PayPal interface that I'm using.

I'm already talking to MTS about other issues that I'm having with the APIs, so I'll mention this to them.  But they aren't responding quickly.  Any other ideas?

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.