2
votes

I am using the sandbox url for accepting test payment through paypal.

When a user clicks a button he is redirected to paypal sandbox site. On the paypal sandbox site the user is presented with an option to pay using credit card. However when I try test credit card 4111-1111-1111-1111 it gives me the following error "The card you entered cannot be used for this payment. Please enter a different debit or credit card number."

I am not sure what am I missing?

1
try from here : fakenamegenerator.comVimalnath
I just tried that it says "You have entered an invalid number or incomplete debit or credit card number. Please check your entry and try again".Devashish
I'm voting to close this question as off-topic because it is documentedEdSF
Thanks EdSF for your reply. Did you read the question properly? I have already mentioned that I am using 4111-1111-1111-1111 which is a Visa test credit card number and is also present in the link you have shared. The issue is the test credit card that PayPal recommend are not working. I am not sure if there is a setting I am missing?Devashish

1 Answers

3
votes

The numbers provided in the documentation are used so much that the sandbox servers just don't accept them anymore. They really need to update the docs.

I would recommend generating fresh credit card numbers to use. I always use this site for that. The numbers it generates will work fine in the sandbox.