Collapse Menu
Docs Home
Extensibility Options
Contact Support

Test Orders

Overview

Use test orders to see how the complete checkout experience works on your Storefront without charging a credit card.

The test version of each Storefront is always available via a specific URL, whether the Storefront is online or offline.

  • You cannot make test orders using the Live URL for your Storefront.
  • Reports about orders and transactions do not include test orders.
  • If you use a coupon code for a test order, it does not count against usage limitations set for that code for live orders.

Test a purchase from a Web Storefront

  1. In the FastSpring App, navigate to Storefronts > Web Storefronts > Settings > Save and Preview.
    • Alternatively, you can use a test version of your Storefront with your existing products.
  2. When prompted for payment details, enter the test card number and CVV code found via Storefronts > Web Storefronts > Test.
    • To test a successful purchase, copy and paste the Card Number and CVV Code shown in the Success row.
    • To test a declined transaction, copy and paste the Card Number and CVV Code shown in the Failure row.
  3. For the Credit Card expiration date, enter any date in the future.
  4. For other order details, use any values.


Test a purchase your Storefront with existing products

The Test Storefront URL contains the word test. For example, if your Live URL is https://examplestore.onfastspring.com, then the Test URL is https://examplestore.test.onfastspring.com. If your Storefront is online, you can add .test to the Live URL to create a test URL. For example, change https://acme.onfastspring.com to https://acme.test.onfastspring.com.

To test purchase using existing products, you can use Links for a specific Storefront or use Checkout Links for a Product.

Use Links for a specific Storefront

  1. In the FastSpring App, navigate to Storefronts > Web Storefronts > Links.
  2. A popup window appears with various navigational URLs for the Storefront.
  3. Click the Open link to the right of the Test URL.
    • Alternatively, you can copy the Test URL shown in the popup window and paste it into a new browser tab.
  4. When you are ready to enter payment information for your test order, enter the test credit card number and CVV code.

Use Checkout Links for a Product

  1. On a product detail page, click Checkout Links.
  2. Select either Web Storefront or Popup Storefront.
    • Alternatively, click the drop-down to select a specific live or test Storefront, and then click Open.
  3. Use the test payment details for test purchases. Click Copy to copy the test mode CVV to your clipboard for testing.

Test Purchase from a Popup Storefront

  1. Test purchases via the Popup Storefront by using the Preview command on the Popup Storefront's card via Storefronts -> Popup Storefronts -> Preview,
    1. Alternatively, test via the Popup Storefront on your website.
  2. When prompted for payment details, enter the test card number and CVV code found via the Test command of your Storefront.
    • To test a successful purchase, copy and paste the Card Number and CVV Code shown in the Success row.
    • To test a declined transaction, copy and paste the Card Number and CVV Code shown in the Failure row.
  3. When placing a test order, you can enter any date in the future for the card's expiration date. For the other order details, you can use any values such as your name, so long as you use the test card numbers shown.

Test purchase via the Popup Storefront on your website

Modifying your website can result in changes being visible to customers so we recommend testing with an offline or internal version of your website.

  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 yourexamplestore.onfastspring.com/popup, you would change the URL to be yourexamplestore.test.onfastspring.com/popup, 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.8.3/fastspring-builder.min.js"
        type="text/javascript"
        data-storefront="yourexamplestore.test.onfastspring.com/popup">;
    </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. 

Test a purchase with the Preview Command

Click the Preview command to see a fictitious example of a subscription-based product for the test purchase. This method does not use your existing product(s) for the test; this is normal and expected behavior. This method 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 existing products, see the previous section of this article.

Try FastSpring

Get a free account and see why FastSpring is the ecommerce partner of choice for software providers around the world. Try our full-service ecommerce solution today to unlock revenue growth for your online company.