PayPal sandbox card number is not working - paypal

I have implemented PayPal payment method in my website. I am testing in sandbox right now. I got a credit card number from a website https://www.paypalobjects.com/en_US/vhelp/paypalmanager_help/credit_card_numbers.htm
Card number is 4111111111111111.
When I use this card number with expiry date 03/2018, it works flawlessly but when I use the same card number with 12/2020, it does not work. Can anyone please tell me its reason?
Thanks and best regards

Related

Sandbox for PayPal all time ask me to add a credit card

I set up correctly the sandbox accounts (seller and buyer) long time ago, until past week everything was working good, now at test into sandbox always ask me to add a credit card, if I add the new credit card info, it shows again the same form asking to add a credit card, no error or another information is shown. If I try to test without the paypal account, using the credit card payment way, after I put the info of credit card an buyer, says credit card declined. All these data are the same I used until the previous week, and it was working well. I'm using a third part cart with checkout button (REST API)
I experienced the same thing. I think there is something wrong with Paypal sandbox environment right now (or as usual). If you want to try the payment now there is a solution.
Please see this answer on another question related to this issue.
But you can only use the credit in your account instead of credit card.

Cannot pay in PayPal sandbox?

I am using Express Checkout, and when testing in sandbox, I used to fill in fake but valid credit card numbers, like those produced by this site: http://www.getcreditcardnumbers.com/
It all worked fine until recently I found that PayPal sandbox no longer accepts these numbers. The page keeps showing "The card you entered cannot be used for this payment. Please enter a different credit or debit card number."
However I did find one card number 4444333322221111 that makes PayPal sanbox show a different error: "You might already have an account, Please login." Maybe this means that PayPal does not simply reject any card number.
I also tried creating a test account in Dashboard > Sandbox > Accounts, and use the card number inside the Profile section, but that didn't work either. So how should I test in PayPal sandbox?
When making a testing in Sandbox for credit card, you must make sure the card number hasn't been used anywhere in PayPal. Use http://www.fakenamegenerator.com/ to get a fresh card number.
paypal provides a list of creditcard numbers for testing purposes
https://www.paypalobjects.com/en_US/vhelp/paypalmanager_help/credit_card_numbers.htm

PayPal sandbox which credit card to use?

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?
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.

Paypal Sandbox Credit Card in Use Error Message

Within Paypal Sandbox, when I try to add a credit card to the buyers account, I keep getting the error message "That card number is already assigned to another PayPal account." I don't get it, since Paypal just generated the number for me when I made the test account. What am I not getting here? How do I fix this?
You need to use another fake-but-valid credit card number. The ones of PP_MTS_Chad does not work for me but there are services out there - for example http://www.getcreditcardnumbers.com/ - which can help you to generate a new fake-but-valid credit card number.
Have you tried refreshing the page and generating a different credit card number? If that doesn't work, below are some test Visa credit card numbers that should work.
Visa
4024007100084663
4532097039922088
4684431180691661
4532281047529784
4485709869935124
4532455118197917
4532751738631248
4024007151460556
4485191830561711
4024007120680144
MasterCard
5298938631492858
5366456971629085
5280019641034996
5332799760390380
5457222336826489
5367034163101350
5359283541706691
5489595916141912
5140323874680289
5246932992053568

What information do I use to test credit card transactions with PayPal Payments Pro

I've spent about an hour trying to figure out what information to use to test credit card transactions in the PayPal Sandbox environment. No matter what I try I get the "Invalid Data This transaction cannot be processed." error. I'm using the Classic API.
I created a personal verified account with a Visa credit card in my developer account but the credit card information generated by the system yield the same error. Here's a screen of the account:
https://www.evernote.com/shard/s141/sh/e2a7147c-9cfb-4587-814d-13fdd97d1c29/a1e3d97e505071d6f927a71195f06f2f
After searching I found this post https://www.x.com/developers/paypal/forums/paypal-sandbox/how-test-sandbox-paypal-using-pay-credit-card I then logged into that Sandbox account, went to Profile > Credit/Debit Cards > Add a Card, chose Visa but the credit card number wasn't pre-populate as I had hoped. Here's a screen:
https://www.evernote.com/shard/s141/sh/5cfce2b8-da2f-4147-abf5-5d742995b3ca/6d6e1541cbb5809e0e14972d2d81f4bb
I'm really at a loss now. Any help would be really appreciated :)
P.S. I've already tried the cliche test numbers like 4444333322221111 but nothing seems to work.
Try using some of these test credit card numbers. If it still does not work can you provide the API request you are sending, and the full API response you are getting back and I will look it up on my side and see whats causing the issue.
Visa Test Card Numbers - You can use 123 for the CVV2, and any valid future date for the exp date.
4916064324171157
4916884530887530
4024007135477981
4556908617562966
4929631921286961
4916781542208590
4502888845652562
4532975922625589
4024007116051706
4485137169794373