Access checkout URLs
Learn how to access checkout URLs for web, popup, product, API, and SBL integrations.
Access checkout URLs so you can link directly to your web, popup, or product-specific checkouts. You can also generate session-based URLs through the API or Store Builder Library.
The sections below walk through how to access web, popup, product, API, and session-based checkout URLs. Select a section or use the TOC on the right to jump ahead.
Web checkout URLs
Open live and test links for web checkouts
Popup checkout URLs
Find the URL inside your popup checkout snippet
Product page URLs
Access checkout links directly from a product
API session URLs
Generate session URLs using the API
SBL session URLs
Load checkout sessions with the Store Builder Library
How checkout URLs work
Different checkout types use different URL patterns.
- Web checkouts: Use direct links that you can place on your website, in emails, on social media, or in messaging. Web checkout URLs can point to your product catalog or to specific product pages.
- Popup checkouts: Load through a JavaScript snippet on your website. Each popup checkout runs in a secure iframe and uses the
data-storefrontURL inside the snippet.
Every store receives a unique, non-editable subdomain. This subdomain is used in all checkout URLs.
Access web checkout URLs
Use web checkout URLs to direct customers to your product catalog or to a specific product page.
- In the FastSpring app, go to Checkouts > Web Checkouts.
- On the checkout you want to use, click Links.
- Choose the URL you want to use:
- Live Homepage: Customer-facing product catalog. FastSpring processes live transactions on this page.
- Test Homepage: Test version of your product catalog. You can place test orders from this page.
- Live Product Page: Customer-facing product details page. Customers can purchase the product and receive configured fulfillments.
- Test Product Page: Test version of your product details page where you can place test orders.
- Cart Page: Any custom cart pages you have set up.
Access popup checkout URLs
Popup checkouts do not open directly from a hyperlink. Instead, each popup checkout includes a URL within its script snippet.
- In the FastSpring app, go to Checkouts > Popup Checkouts.
- On the checkout you want to use, click Place on your Website.
- Find the URL following data-storefront= inside the script snippet.
Note: To open the test version of a popup checkout, insert .test. between your store name and
onfastspring.com.
Access product page URLs
Access checkout URLs directly from a product's details page.
- In the FastSpring app, go to the product's Details page.
- Go to the Checkout Links column on the right.
- Select the checkout type (web or popup).
Generate API session URLs
Use the API to generate checkout session URLs programmatically.
- POST order details to the
/sessionsendpoint to generate a session ID. - Append the session ID to your checkout URL. For example:
https://yourexamplestore.onfastspring.com/session/{session id}
Load checkout sessions with the Store Builder Library
Use the Store Builder Library (SBL) to load a checkout session without manually constructing a URL.
Call the SBL's checkout session endpoint:
https://yourexamplestore.onfastspring.com/session/{session id}
The SBL loads the specified session directly in your checkout.
Updated about 7 hours ago