cancel
Showing results for 
Search instead for 
Did you mean: 

Test Credit Card numbers for use on PayPal sandbox

Moderator

Test Credit Card numbers for use on PayPal sandbox

When testing the card checkout features on sandbox its advisable to use test card numbers Smiley Happy The sandbox pretty much accepts anything that passes the Luhn Algorithm test (See here).

 

You can generate card numbers using external sites like these:

 

http://www.fakenamegenerator.com/

http://www.getcreditcardnumbers.com/

http://saijogeorge.com/dummy-credit-card-generator/

 

Or you can generate them within PayPal using this guide below:

  1. Login to developer.paypal.com and click "Dashboard"
  2. Under the sandbox heading click "Accounts", followed by "Create Account"
  3. When creating the account make sure to Add a credit card. 
  4. Once created you can view the account profile, click "Funding" to see the test card number:

view_test_card_number_paypal.png

 

7 REPLIES
Moderator

Re: Test Credit Card numbers for use on PayPal sandbox

I'd also generally recommend not to re-use the same card number for a large amount of transactions

 

Rotate the card numbers you use for testing purposes to ensure a smooth experience

 

 


Was my post helpful? If so, please give me a kudos!
Highlighted

Credit Card Generator

virtual credit card generator is compensating real credit card? and are these numbers safe?
Member

Re: Test Credit Card numbers for use on PayPal sandbox

Can you use that fake credit card to actually buy something and not be charged 

 

Credit Card Generator

I found https://creditcard.run/_Credit Card Generator tool and generator creating this fake numbers. 
VISA Fake Numbers:
448516598580595-7, 453254046516095-4, 448525019433182-0
Amex Fake Numbers:
37552791891041-4, 37928800574157-8,  37536394661162-0
Mastercard Fake Numbers:
555751493175315-2, 222655761699167-8, 527735993203017-9

Usually paypal accepts, but sometimes paypal not accept this numbers. 

best regards

Moderator

Re: Credit Card Generator

Yep, these are for use on the sandbox environment and are completely safe to use, basically as long as the card number passes the Lunh Algorithm test we'll accept it on sandbox. 

New Community Member

Sorry, an error occurred while trying to retrieve your information from PayPal

We have setup a WordPress website with WooCommerce using PayPal as payment gateway. When using Sandbox mode everything works, but when going live, the payment doesn’t go trough. There is an error message saying “Sorry, an error occurred while trying to retrieve your information from PayPal. Please try again.” We have tried to pay with a PayPal account and with credit card. We have now tried to use the default WordPress theme, disabled all plugins except WooCommerce and PayPal. Still the same problem. Two weeks ago we setup two other eCommerce shops with the same WordPress theme, WooCommerce and PayPal as gateway. Both works fine. The only difference between those and this one is the hosting. https://minecraftapkmod.net/ Thanks
Member

Re: Test Credit Card numbers for use on PayPal sandbox

I found https://fake-card-generator.com/_Credit Card Generator tool and generator creating this fake numbers that work.