Test Orders

Last modified June 29, 2017

Test orders allow you to see how the purchase procedure works on your Storefront without charging a credit card. Test orders will not be included in reports about orders placed.

Tutorial Video

Check out our tutorial video on placing a test order:   How to Place a Test Order.

The test version of each Storefront is always available via a special URL, whether the Storefront is in online or offline. You cannot make test orders using the Live URL for your Storefront.

To make a test purchase from a Web Storefront

You can make test purchases via the Web Storefront by using the SAVE AND PREVIEWcommand found at the top right-hand corner of any page in the Storefront's SETTINGS, or using a test version of your Storefront with your own products. Either way, when prompted for payment details you will need to enter the test card number and CVV code found via the TEST command of your Storefront.

Example of the TEST command on a Web Storefront

Example of the test card number and CVV code

Different card numbers are provided so that you can test purchases that will "succeed" (though no charge will be made) and purchases that will "fail." You can use any date in the future for the card expiration date, and you can use any values for other purchase data such as your name, so long as you used the test card numbers shown.

  • If you want to test a successful purchase, copy and paste the Card Number and CVV Code shown in the Success row.
  • If you want to test a declined transaction, copy and paste the Card Number and CVV Code shown in the Failure row.
     

Making a test purchase using a test version of your Storefront with your own products

  1. Click the LINKS menu in the list of Web Storefronts. A popup window will appear with various navigational URLs for the Storefront.

    Example of the LINKS command in a Web Storefront

    Example of the Links dialog

    About Test URLs

    The Test Storefront URL contains the word test. In the example above, the Live URL is https://johntrumble.onfastspring.com/suddeninmpact and the Test URL is https://johntrumble.test.onfastspring.com/suddenimpact. If your storefront is online, you can add .test to the Live URL. For example, change https://acme.onfastspring.com to https://acme.test.onfastspring.com.

  2. Click the Open link to the right of the Test URL. Alternatively, you can copy the Test URL shown in the popup window, and then paste it into a new browser tab or window.
  3. When you are ready to enter payment information for your test order, you will need to enter the test credit card number and CVV code.
     

Making a test purchase using the SAVE AND PREVIEW command

If you are editing the Storefront's SETTINGS, you can make a test purchase via the SAVE AND PREVIEW command at the top right-hand corner of the page. If you do this, a fictitious example of a subscription-based product will be used for the test purchase. Your own product(s) will not be used for the test; this is normal and expected behavior.  This allows you to preview style changes to your Web Storefront regardless of whether or not you have yet configured products in your Store. If you want to test using your own products, please see the previous section of this article.



To make a test purchase from a Popup Storefront

You can make test purchases via the Popup Storefront by using the PREVIEW command on the Popup Storefront's card via Storefronts -> Popup Storefronts -> PREVIEW, or via the Popup Storefront on your website. Either way, when prompted for payment details you will need to enter the test card number and CVV code found via the TEST command of your Storefront.

Example of the TEST command for a Popup Storefront
Test card number and CVV popup window

Different card numbers are provided so that you can test purchases that will "succeed" (though no charge will be made) and purchases that will "fail." You can use any date in the future for the card expiration date, and you can use any values for other purchase data such as your name, so long as you used the test card numbers shown.

  • If you want to test a successful purchase, copy and paste the Card Number and CVV Code shown in the Success row.
  • If you want to test a declined transaction, copy and paste the Card Number and CVV Code shown in the Failure row.
     


Making a test purchase via the Popup Storefront on your website

If you want to test the Popup Storefront directly on your website and using one of your own products, use the following procedure.

Caution

Bear in mind that modifying the source of the pages on your website can result in your changes being visible to external visitors / customers; therefore, you might want to perform any such tests in an offline / internal version of the webpage.
  1. Modify the JavaScript on your page that was provided by FastSpring, which loads the Popup Storefront (and the Store Builder Library). Adjust the Storefront's URL in that code snippet by inserting the word ".test" between the Storefront name and ".onfastspring.com".

    For example, if your Popup Storefront's URL is furiousfalcon.onfastspring.com, you would change the URL to be furiousfalcon.test.onfastspring.com, as in the following example:

    Example of Popup Storefront code with a test URL
    <script
        id="fsc-api"
        src="https://d1f8f9xcsvx3ha.cloudfront.net/sbl/0.7.4/fastspring-builder.min.js"
        type="text/javascript"
        data-storefront="furiousfalcon.test.onfastspring.com/popup-crosssell">
    </script>
  2. Using your web browser, invoke the Popup Storefront checkout window from the page (e.g. by clicking a button that triggers the checkout). Use the test card number and CVV code as described above for your payment details.
  3. If you have modified a live web page to place a test order (not recommended), be sure to change the Popup Storefront's URL back by removing the .test when you are finished.
     

Making a test purchase using the PREVIEW command

If you use the PREVIEW command, a fictitious example of a subscription-based product will be used for the test purchase. Your own product(s) will not be used for the test; this is normal and expected behavior.  This allows you to preview style changes to your Popup Storefront regardless of whether or not you have yet configured products in your Store. If you want to test using your own products, see the previous section of this article.

Example of the PREVIEW command for a Popup Storefront