Cohort
HomeSign in
  • WHAT IS COHORT?
  • WHAT'S NEW?
  • Concepts
    • Experience Space
    • Campaigns
    • Standalone campaign
    • Rewards
    • Users
    • Experiences
  • GETTING STARTED
    • Overview
    • Admin Authentication
      • Setup a SAML SSO provider
      • Setup a OIDC SSO provider
    • Test mode
    • Adding Team members
    • Languages Admin interface
    • Languages User interfaces
  • Campaigns
    • Overview
    • Create a campaign
      • Challenge campaign
      • Store campaign
      • Airdrop campaign
      • Standalone campaign
    • Manage a campaign
      • Consult the indicators
      • Share a campaign
      • See the participants
      • Modify a campaign
      • End a campaign
      • Archive a campaign
      • Delete a campaign
    • Campaign display mode
  • REWARDS
    • Overview
    • Perk
      • Create a Perk
      • Manage a Perk
    • Digital Asset
      • Create a Digital Asset
      • Manage a Digital Asset
    • Rewards Distribution mode
  • USER INTERFACES
    • Experience Space
      • Configure your Experience Space branding
      • Customize your Experience Space
      • Customize your Membership Pass
    • Standalone campaigns
  • USERS
    • Overview
    • Import and export users
    • Custom user properties
    • Lists and Segments
    • Badges
  • Integrations
    • Apps
      • Brevo
      • Comarch
      • Facebook
      • Klaviyo
      • Maxxing
      • PostgreSQL
      • Salesforce
      • Shopify
      • Spotify
      • Talon.One
      • Tiktok
      • Typeform
      • Youtube
  • USER ACTIONS
    • Overview
    • Native Applications
    • Social Media
    • Lifestyle
    • Quizz and Surveys
  • INDICATORS
    • Overview
    • General indicators
    • Users indicators
    • Campaigns indicators
  • Developers
    • Overview
    • Embed
    • Merchants API
    • Campaign diffusion
  • Security
    • Security at Cohort
  • GLOSSARY
Powered by GitBook
On this page
  • Live and test mode data
  • API Access
  • Store Payments in Test mode
  • NFTs in Test mode
  1. GETTING STARTED

Test mode

PreviousSetup a OIDC SSO providerNextAdding Team members

Last updated 6 months ago

Use test mode to test your Cohort Experience Space before going live.

Live and test mode data

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.

API Access

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_

Store Payments in Test mode

To simulate a successful payment in test mode, use the following payment information:

Card number: 4242 4242 4242 4242

CVC: Any 3 digits combination Expiration Date: Any date in the future

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.

NFTs in Test mode

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.

All the data published on the testnet will be redacted to make sure you are not leaking any data on a public blockchain prior to your actual campaign launch.

This can explain why you are not seeing the correct token metadata in Mumbai.

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.

test card numbers