When connected to your dashboard, you’ll notice a Test/Live toggle in the middle of the application's upper section.
By default, your account will be set to Test mode. This environment lets you fully integrate Snipcart on your website, and even process dummy transactions.
Within the test environment, your orders in test mode will be deleted automatically after 10 days.
Every environment (Test/Live) is isolated. Any configuration changes made within one environment won't affect the other. This allows you to experiment without any impact on your Live environment and real customers. General settings, promo codes, shipping methods or any other configuration are all isolated within their respective environment.
For instance, all the promo codes you create within your Test environment will only be available when using your Test API Key. They are completely isolated from the Live environment, so you don't have to worry about creating test promo codes: your Live clients will not be able to use them.
Get your Test API key
To get your Test API Key, log in into the dashboard and make sure you’re in the Test environment, and go to the Account > API Keys. There, you'll find your test API key.
The toggle allows you to access the Test and Live environment data of your account. Note that the toggle only affects the data and configuration displayed and does not activate a mode or another on your site.
To start processing real transactions, you'll need to switch API keys—please read the Going live section.