Where can I find test credit card numbers?
Test credit card numbers are used within PayPal Sandbox to validate the authorization, capture, and credit transaction flows.
Because test credit cards don't include a card verification code (CVV), you can use 123 as the CVV for Visa, MasterCard, Discover and Diners Club or 1234 as the CVV for American Express.
When using test cards, you can specify any expiration date in the future, using one of the following formats:
- PayPal Payments Pro – Use format mmyyyy.
- PayPal Payflow Pro – Use format mmyy.
Use PayPal's Credit Card Generator to generate random credit card information for testing. You can create test versions of Visa, Mastercard, American Express, Discover, Maestro, or JCB credit cards.
You may also use test credit card numbers that are issued within the PayPal Sandbox account. To learn how to get a test credit card within Sandbox, see How do I create a Sandbox test account?
Note: Because the Visa test card number 4111111111111111 is frequently used for testing in the live environment, this card number may be flagged as fraudulent. Therefore, don't use it for validation testing.