I'm having trouble testing credit card payments with PayPal's sandbox. When viewing a buyer's sandbox account's profile from within developer.paypal.com, I can see the following credit card details:
Although, when using these details on the payment screen, I get the message "We're sorry, we can't complete this payment. Please try another card."
I have read in other questions that you should be able to log into a sandbox account, go to add an additional credit card and it should generate some test numbers for you... However, when I do this, all of the fields are blank:
I have also tried using some "valid" numbers (i.e. they pass the Luhn algorithm), but none of those worked for me either.
I've also tried the numbers listed on this page: https://www.paypalobjects.com/en_US/vhelp/paypalmanager_help/credit_card_numbers.htm - They didn't work.
I've tried both US and UK accounts. No luck.
Any ideas?
It turns out, after messing around with all of the settings in the test business account, that one (or more) of the fraud related settings in the payment receiving preferences / security settings screens were causing the test payments to fail (without any useful error).