Test Credit Cards for Stripe and PayPal
Complete reference of test card numbers for Stripe, PayPal, Braintree, and Adyen testing.
Published:
Tags: test credit cards Stripe PayPal, Stripe test card numbers, PayPal sandbox cards
Test Credit Cards for Stripe and PayPal Payment processor test cards simulate the full payment cycle — approvals, declines, 3D Secure, and network errors — without processing real money. Each processor provides dedicated card numbers for each scenario. --- Important: Test Mode Only These card numbers work exclusively in sandbox/test mode with test API keys. Attempting to use them with live API keys will result in a payment decline — real card networks reject these numbers. Never confuse test and live API credentials. Stripe Test Cards Success Cards | Card Number | Network | Behaviour | |-------------|---------|-----------| | 4242 4242 4242 4242 | Visa | Payment succeeds | | 4000 0566 5566 5556 | Visa (debit) | Payment succeeds | | 5555 5555 5555 4444 | Mastercard | Payment succeeds | |…
Frequently Asked Questions
What are the Stripe test card numbers?
Stripe's main test card is 4242 4242 4242 4242 (Visa, always succeeds). For failure scenarios: 4000 0000 0000 0002 (card declined), 4000 0000 0000 9995 (insufficient funds), 4000 0000 0000 0069 (expired card). All Stripe test cards use any future expiry date, any 3-digit CVC, and any 5-digit zip code. They work only in test mode.
What is the test card for PayPal sandbox?
PayPal sandbox uses pre-generated test credit cards associated with sandbox buyer accounts rather than card numbers you enter manually. In the PayPal developer dashboard, create a sandbox personal account and use the generated card numbers. The standard test Visa is 4032035728452662 with expiry in a future year. Test accounts can be created at developer.paypal.com.
How do I test failed payments?
Each payment processor provides card numbers that trigger specific failure scenarios. Stripe uses 4000 0000 0000 0002 for generic declines, 4000 0000 0000 9995 for insufficient funds, and 4000 0000 0000 0069 for expired cards. For Braintree, 4000 1111 1111 1115 triggers a decline. Always test the full failure path — not just the happy path — including retry logic and user-facing error messages.
What is the 3D Secure test card?
Stripe provides 4000 0025 0000 3155 for 3D Secure authentication flow testing. This card triggers the 3DS challenge, redirecting the user to an authentication page where you can choose 'complete' or 'fail' the authentication. Test your implementation of 3DS return URL handling and payment state after authentication with this card.
What are Braintree test credit cards?
Braintree's main success card is 4111 1111 1111 1111 (Visa). For American Express: 378282246310005. For Mastercard: 5431111111111111. For decline: 4000111111111115. Braintree also has processor-specific test cards and test nonces for alternative payment methods. Use the sandbox environment with test API credentials.
All articles · theproductguy.in