Create a FastSpring Refer-a-Friend Program

This guide teaches you how to set up a refer-a-friend program for products sold through a FastSpring store. It will take about fifteen minutes to complete.

How to Set Up a FastSpring Refer-a-Friend Program

If your business sells products through FastSpring, Peach’s refer-a-friend programs integrate seamlessly.

1. Create a new gambit

From your accounts page, select ‘New Gambit’ and then choose the ‘Refer-a-Friend + FastSpring’ gambit type.

2. Complete your gambit’s details

Enter the name, domain name, and icon you want to use for your gambit. If you do not wish to use a custom domain name, Peach’s will automatically generate a domain name that you can use. This domain name will be used in links your customers shared. In this example, customers would share links that look like

3. Add your gambit configuration

Enter your page’s URL, the number of people who need to complete the action, and the name of the action to be completed. In our example, after people click a shared link like, we want to take them to where they can download the application.

4. Prepare your FastSpring store

Complete this step from your FastSpring console, logged in as an administrator.

We strongly recommend you use a dedicated FastSpring user for this integration. Why? FastSpring uses an older style of inter-app communication that is less secure because we need to keep your password in our system. By setting up a dedicated FastSpring user with only the ability to create coupons, you can easily revoke access later if needed.

Create a FastSpring user

When you create your dedicated FastSpring user, set their Application Access to ‘API Only’ and their roles to ‘Store Order Support.’

Create a FastSpring coupon

After your user is created, we need to create the coupon that we’ll use to reward customers. When creating your coupon, pay special attention to the last two fields marked in the screenshot below. The ‘Coupon Type’ must be ‘Multiple Random Codes’ and the value you choose for the ‘Coupon Code’ field can be anything you choose, but it must match the value we enter for ‘Coupon Prefix’ in the next step.

5. Connect your FastSpring store

Back in the Peach’s console, complete the next step using the details you set when we configured FastSpring in the previous step. You can verify the connection using the ‘Test’ button.

Once your connection is verified, click ‘Submit’ to create the gambit.

6. Integrate the Peach’s form

Almost there! The last step is to embed the Peach’s form onto your website where you want to let people sign up for your refer-a-friend program. Simply copy and paste our script into your website’s HTML.

7. Integrate the Peach’s button

Set up the button that your customers use to access your product (for example, a download link). First, set the URL that the product can be accessed at, in this example “” to download the app.

Then, embed the Peach’s button onto your website where you want people to complete the action for your product.

Remember that you can override this button’s style in your website’s usual CSS.

8. Verify your integration

Check that our FastSpring refer-a-friend gambit is configured correctly by clicking ‘Send Test Email.’ You should receive an email that takes you to your FastSpring store with the discount coupon applied.


Read more about us.

Reach out to our dedicated customer support team for help with everything from sales to tech integration. Or just to say hi!

Lawyers need us to tell you that we’re not affiliated with or endorsed by Squarespace.

Terms and Conditions & Privacy Policy

Sign Up Log In