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 Listing
Go to the Marketplace tab in the Merchant Portal and click "Preview". This will pull up a preview of your Marketplace Listing in your browser.
Begin the Checkout Process
Click "Personalize Your Box" to initiate the checkout process:
Select your product (if applicable) and choose "Proceed to Checkout":
Sign in to your Cratejoy account (or create a new one to test with):
Choose a plan (if applicable):
Enter Test Transaction Billing Information
Now enter the address, test transaction card number, expiration date, CVC, and postal code:
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:
Credit Card Number: 5555555555554444
Security Code: 123 (any 3-4 digit number)
Expiration: (anything in the future)
Postal Code: 20001
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
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.
You also have the option to remove the test data after you have run your test transactions.