When in test mode, you can run tests to view various billing transaction scenarios, such as a successful transaction, credit card decline, invalid credit card information, and more.
This will prevent transactions from skewing your reports and analytics. Orders placed while not in test mode will appear in your reports and analytics.
You must connect your Stripe account before completing a test transaction. Test transactions should be done using Stripe's test card numbers. You can also toggle test mode on your Stripe dashboard to view these test transactions and details within Stripe.
Visit Your Store
Go to the web, and enter your URL as if you were a customer visiting your website. Select a product, and begin the checkout process.
Begin the Checkout Process
When you get to the shipping page, please enter a valid US or Canadian shipping adress. If you have chosen to ship to international locations, you can enter an international address as well.
Enter Test Transaction Billing Information
Instead of entering your own credit card information, you will enter test transaction information. To test a successful credit card transaction, enter the following information:
Stripe Test Cards
Credit Card Number: 4242424242424242
You can test other types of transactions as well:
- Card Decline
- Credit Card Number: 4000000000000002
- Incorrect Card Number
- Credit Card Number: 4242424242424241
- Invalid Expiration Year
- Expiration Year: 1970
- Invalid CVC
- Security Code: 99
There are various other testing options that can be viewed at stripe.com/docs/testing
Other Test Cards For All Payment Processors
|CARD TYPE||GOOD CARD|
|3D Secure Enrolled||4556761029983886|
|Third Party Vault||Any|
Security Code: 123 (any 3-4 digit number)
Expiration: (anything in the future)
Note: You must be connected to a payment gateway in order to place test transactions.
View Your Completed Transaction
From the merchant portal, choose Subscriptions from the navigation menu.
Your most recent transaction will be at the top of the list. Any test orders will be clearly marked with with the word "test" in the background.