简体   繁体   中英

paypal rest api test credit card numbers

i am using the paypal rest api and the cc# that is included in the SDK seems to work as visa, but i can't seem to find any other test credit card numbers that work.

this seems to work fine:

Card number = "4417119669820331";
Card type = "visa";
cvv2 = "874";
expire month = "11";
expire year = "2018";

but none of the numbers i get on http://www.getcreditcardnumbers.com/ seem to work.

also, the numbers on this page don't work either: http://www.paypalobjects.com/en_US/vhelp/paypalmanager_help/credit_card_numbers.htm

I would suggest first that you set up your application here:

https://developer.paypal.com/

By login in / signing up. If I remember well, you first need either a business or a Premier PayPal account.

Your next step would be to go to Applications => My Apps and then add you app, you will have your credentials.

But I think you already have all this, so let's proceed.

Next go to Sandbox accounts and create new accounts. Next click on an account and click on the Profile link.

There, under the Funding tab, you will find a credit card number / type and so on. Use them to do your tests.

Hope this helps!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM