Test Orders, Test Mode & Sanbox Stores
Building an eCommerce store requires lots of testing, due to this, all StoreConnect stores support various types of test modes to allow you to make transactions withing being charged Shared Success while you are doing so.
Trial License & Sandbox License Test Mode
When you install StoreConnect, you will be using a trial or sandbox license. These licences will always have the Store Test Mode enabled regardless of the setting of the “Enable Test Mode” checkbox on the Store record.
Once you have purchased a license, the Test Mode lock will be removed and your Test Mode setting on the store record will determine if your store is in Test Mode or not.
Store Test Mode
Every new store you create will have the “Enable Test Mode” checkbox checked by default. If you have a purchased license, checking or unchecking this checkbox on any store will enable or disable test mode on your store which can be done on a store by store basis at any time.
While the store is in test mode, every checkout will be done as a test order and have TESTING ONLY prominently on the checkout pages so you know it is a test order.
If you just want to enable test mode for a few specific email addresses, use the Individual Test Orders option.
Individual Test Orders
Live stores are billed the shared success fee on every transaction through the store unless you specify the order as a test order.
To make sure an order is marked as a test order, you must first add the email address you are going to use during the checkout process to the
test_checkout_emails Store Variable on the store you will be doing the order on.
To create the Store Variable, go to the Store you want to add a test email to, then to the releated page and then either edit the Store Variable with the key
test_checkout_emails or create a new one.
If you are creating a new one, set the key to be exactly
test_checkout_emails and then in the values put the email addresses you want separated by a comma. So if you wanted
email@example.com as test checkout emails, you would set the value field to
You are able to enter up to 4 email addresses, separated by a commma into the
test_checkout_emails Store Variable. If you put more than 4, only the first 4 will be recognised. In addition, if our support team place an order via firstname.lastname@example.org, this will also be marked as a test order.
Once you set the test checkout emails, proceed with the checkout as usual, being sure to specify one of the same emails you listed in the
test_checkout_emails Store Variable. If all goes well, you will see your order proceeding with “TESTING ONLY” listed at the top of the page and above the order summary after the Customer Information step is complete.
Once you finish your checkout, the Order will be saved into your Salesforce Org with the
s_c__Test_Order__c checkbox checked to true, to allow you to filter this from any internal sales reports.
s_c__Test_Order__c after the order has been created will have no effect on if you are charged for the Shared Success fee on any order you place. Only orders placed showing “TESTING ONLY” during checkout will be exempt from any Shared Success fee.
It is important to note that other than having
s_c__Test_Order__c checked, these test orders act exactly the same as a standard order would. Payments will be charged normally, promo codes will be applied, any Salesforce work flows or triggers will be run as normal, this is by design so that you are able to test any aspect of the sales process. If you do not want a Salesforce trigger or work flow to run on Test Orders, you can modify that flow to detect to see if the Test Order field is checked or not.
Back to Documentation