Placing a test order is a great way to test your website's checkout and also to test different functions in your account without affective actual customers. This guide will cover placing test orders in your store.
Please note: In order to place test orders, you will first need to connect Stripe to your account
Placing test orders
- (Optional) Turn on test mode in your store. Test orders placed while in test mode do not show up in reports and analytics. If you do not want test orders to affect these figures, it is best to enable test mode
- On your storefront, click on your subscription product and complete the next steps until you reach the Checkout page
- On the checkout page, enter one of the cards below depending on which checkout scenario you want to test. You can enter any 3 digit code for the CVV value. The expiration date just needs to be in the future.
- Successful transaction - Card number: 4242424242424242
- Declined transaction - Card number: 4000000000000002
- Incorrect card number - Card number: 4242424242424241
- Invalid expiration year - Enter 1970 as the expiration year
- Invalid CVV - Enter 99 as the security code
Stripe has additional test cards for different transaction results on their help site.
What can I do with test orders?
Test orders generate shipments and behave in the same way as normal orders including generating notifications and renewing. You can use test orders to try out different functions in the account like canceling a subscription or changing a renewal date.
You can tell an order or subscription is a test because it will say test in the background.
You can also view test order information inside of your stripe account to see how real orders will behave in stripe. To see test data, click the Viewing test data toggle.
If you placed test orders while the store was in test mode, you can clear the test data by leaving test mode.