Test orders
Safely simulate the buyer experience and confirm your checkout setup before going live.
Testing orders let you preview the checkout experience exactly as buyers will see it. They do not create real transactions or affect reporting. Use test orders to confirm that your products, discounts, and checkout settings behave as expected before going live.
When you place a test order, FastSpring simulates the full buyer experience, including notifications, fulfillments, and redirects you have configured.
The FastSpring Terms of Service prohibit load testing, attempts to breach security, and intentional interference with the FastSpring service.
The sections below explain how to open a test checkout, use test cards, and complete a simulated order. Select a section or use the TOC on the right to jump ahead.
Open a test checkout
Launch a checkout in test mode
Test cards
Use success and failure cards for simulations
Place a test order
Complete a simulated purchase
Open a test checkout
All checkout types follow the same flow once launched. The only difference is how you open them. You can test Web or Popup checkouts directly in the FastSpring app, from your website if you have embedded the popup, or from a product’s details page.
Web checkouts
Web checkouts let you preview the full buyer experience from start to finish. In a test checkout, product details are displayed, including:
- Name
- Icon
- Description
- Discounts
- Product offers
- In the FastSpring app, go to Checkouts > Web checkouts.
- Click Links. The Links modal opens.
- Under Homepage or Product Page, click Open to launch the test checkout.
- When prompted for payment, use the test cards section.
Tip: To create a test environment, insert
.test.into your store URL. For example:
yourstore.test.onfastspring.com
Popup checkouts
Popup checkouts can be previewed directly in the FastSpring app before you add them to your website.
- In the FastSpring app, go to Checkouts > Popup checkouts.
- Click Preview to launch the popup test checkout.
- When prompted for payment, use the test cards section.
Note: The Test button in the popup checkout settings only displays the test card numbers. To preview the actual checkout flow, use Preview.
Your website (embedded popup)
If you have already added the popup checkout to your website, you can place test orders directly on your site. This option helps confirm that your integration is working correctly.
Note: To avoid showing test orders to the public, we recommend copying the checkout and placing test orders on the copy.
- In your site’s JavaScript snippet, add
.test.to the checkout URL so it points to the test environment. - Open any site link that launches the popup.
- When prompted for payment, use the test cards section.
<script
id="fsc-api"
src="https://sbl.onfastspring.com/sbl/1.0.6/fastspring-builder.min.js"
type="text/javascript"
data-storefront="yourexamplestore.test.onfastspring.com/popup">
</script>Product configuration page
You can also launch a test Web or Popup checkout directly from a product’s Checkout Links section. This page shows everything you need in one place: test card numbers, expiration date, CVV, and buttons to open the checkout in test mode.
- In the FastSpring app, go to the product’s Details page.
- Locate the Checkout Links panel. The panel shows:
- Test card numbers for successful and declined transactions
- Expiration date format (any future date)
- CVV
- Web and Popup checkout options in Test Mode
- Select Web checkout or Popup checkout.
- Click Open next to the option you want to test.
- When the checkout opens, use the test cards shown in the panel or the test cards listed below to complete the order.
Test cards
Use the following test card numbers to simulate different payment outcomes. Enter any future date for the expiration field.
Success cards
| Use case | Card number | Expiration |
|---|---|---|
| Success | 4242 4242 4242 4242 | Any date in future |
| Success | 4012 8888 8888 1881 | Any date in future |
| Success | 4012 8888 8888 1782 | Any date in future |
Failure cards
| Use case | Card number | Expiration |
|---|---|---|
| Invalid CVV | 4000 0000 0000 0127 | Any date in future |
| Risk | 4100 0000 0000 0019 | Any date in future |
| Generic decline | 4000 0000 0000 0002 | Any date in future |
Place a test order
After you launch a test checkout, the flow is the same across all checkout types.
- Add one or more products to the cart. Optionally apply a coupon code.
Note: Test coupon use does not count against coupon limits.
- Select Credit/Debit card at payment.
- From the test cards section, copy a card number for the outcome you want to test and enter any future expiration date.
- Fill in all other required fields. Use your personal email address to receive the associated customer notifications.
- Select Pay to submit the test order.
When you complete the order, FastSpring simulates:
- Fulfillments
- Customer notifications
- Redirecting to a custom page after checkout
Updated 15 days ago