Test mode
Last updated
Last updated
Use test mode to test your Cohort Experience Space before going live.
Test mode is a testing environment that simulates creating real objects without the risk of affecting real users or having side effects on production systems.
In test mode, you can create test campaigns and rewards. You can use test mode to test exactly what the Experience Space of your customers will look like without affecting your production environment. This feature helps to identify any bugs or errors in your setup before pushing the campaigns to your real users.
You can switch between the live and test mode data by using the toggle in the nav bar of your Cohort Admin. While in test mode, an orange banner will always be present to let you know you are operating on test data.
Your test and live data are completely separated. The only thing that is common between the 2 are the team members that can access them.
Impact on live mode
Changing settings in test mode will not change settings in the live mode and vice versa. The recommended workflow is to test your new settings in test mode first and then apply the same change in live mode if everything is ok.
Developers can also use test mode for testing their API integrations. You can find a set of test API keys in the Cohort Admin. You can use these API keys to create and retrieve test mode objects by making requests to the Merchants API.
It is important to note that the test API keys can only access test data and the live API keys can only access live data.
Test API keys will always start with test_
and live API keys will always start with live_
When you use test card numbers, you can enter any expiration date in the future and any three-digit CVC code to simulate a successful payment. If you want to simulate a failed payment, you can use specific test card numbers and CVC codes provided by Stripe.
The test card numbers are only valid in test mode and shouldn’t be used for real payments.
Creating Digital Assets backed by NFTs in test mode will use the Polygon Mumbai testnet. This allows you to test blockchain integration without publishing smart contracts and NFTs to the mainnet.
Make sure to use the Mumbai Polygonscan block explorer to see the NFTs and blockchain transactions that were created in test mode.
We partner with Stripe for store payments. All payments made in test mode will not create real transactions. Stripe provides a set of that you can use to simulate various payment scenarios. You can use these test card numbers to create simulated payments in test mode without processing actual payments or charges.