Stripe And Referral Factory Integration: A Full Guide

Discover how Stripe and Referral Factory work together to run your referral program on auto-pilot. Connect Stripe to qualify referrals when they hit a target spend amount, protect against refunds, and even sync referral links into Stripe as metadata.

Stripe Referral Program

Are you looking for referral program software that works with Stripe

Get your referral program up and running, and integrated with Stripe, in just a few days πŸ‘‰ Try our referral software.

If you already have a Referral Factory account, then keep reading to learn how to set up your integration πŸ‘‡


In this guide πŸ‘‡ 


1. What You Can Do With Stripe and Referral Factory πŸš€

2. How To Connect Your Stripe Integration

3. How To Configure Your Stripe Integration

3.1. How To Send Referred Users From Referral Factory to Stripe and Automatically Qualify Them When They Hit a Target Spend Amount in Stripe

3.1.1. How To Configure Your Qualification Settings

3.1.2. How To Set Up Your Stripe Webhook

3.1.3. How To Map User Fields

3.2. How To Sync Stripe Customers with Referral Factory (and Generate Their Referral Links)

3.3. How To Send Direct Users From Referral Factory to Stripe 

4. Uninstall Your Stripe Integration from Referral Factory


 

1. What You Can Do With Stripe and Referral Factory πŸš€

 

πŸ‘‰ Every time you get a new referred lead, create a new customer in Stripe AND track their spend. That way, you can mark the referral as successful when they hit a target spend amount.

πŸ‘‰ Seamlessly protect yourself from refunds and self-referrals.

πŸ‘‰ Sync your Stripe customers to automatically generate their unique referral links, which you can then send back into Stripe as metadata. That way, you can distribute referral links on your customer's invoices. 

πŸ‘‰ Every time someone signs up for a referral link, create a customer in Stripe. That way, you can offer them Stripe rewards like coupons or credit. 

πŸ“Œ Did you know that you can also use Stripe to issue rewards? 🎁 Reward the person referring or the person invited with a coupon or credit in Stripe automatically. Learn more here:

 

πŸ“– Rewarding with Referral Factory and Stripe πŸ“–


 

2. How To Connect Your Stripe Integration

 

What You Need:

Any Referral Factory plan.
Stripe Administrator privileges.
A draft or live referral campaign in Referral Factory.

 

 

β†’ In the left-hand navigation bar of your Referral Factory dashboard, click the Settings tab.

β†’ Make sure that you're in the Integrations & Pixels section.

β†’ Click Connect under the Stripe logo. 

 

Screenshot showing how connect Stripe for your referral program software In Referral Factory.

 

β†’ A pop-up will appear asking you to Connect Referral Factory. Click Connect.

❗️ Please note that your Stripe integration should be authorized by the main account holder or a user with administrator privileges. 

 

Screenshot showing that your integration successfully connected in Referral Factory.

 

β†’ Success!

 

❗️Please note that you can only connect one integration to Referral Factory at a time. You may be able to connect additional integrations via Zapier. For more information, please consult this guide: πŸ“– Zapier And Referral Factory: A Full Guide πŸ“– 


 

3. How To Configure Your Stripe Integration

 

Once your Stripe account is connected to Referral Factory, you will need to configure your integration inside your campaign(s).

❗️ If you want to sync multiple referral campaigns with Stripe, you will need to configure the integration for each campaign.  

 

There are two main functions to configure to use your Stripe integration to its full potential:

πŸ‘‰ Send new referred leads from Referral Factory into Stripe and qualify them when they hit a target spend amount in Stripe.

πŸ‘‰ Sync existing Stripe customers with Referral Factory to generate their referral links, and send these back into Stripe as metadata.


 

3.1. How To Send Referred Users From Referral Factory to Stripe and Automatically Qualify Them When They Hit a Target Spend Amount in Stripe

 

Referral Factory can automatically create a customer in Stripe when someone signs up as a referred user ("the friend") and track their spend. That way, when they hit a spend target of your choice, you can automatically qualify them as a successful or converted referral, which, in turn, could trigger a reward to the person who referred them. 

 

πŸ’‘ Want to know more about qualifying converted or successful referrals in general? Read this guide: πŸ“– How to Qualify Converted or Successful Referrals πŸ“–

 

3.1.1. How To Configure Your Qualification Settings

 

This function must be configured from inside the campaign builder. 

β†’ Select the Campaigns tab from the left-hand menu bar.

β†’ Click Edit Campaign.

 

Screenshot showing that for configure your referral program software Stripe integration you can incide your campaign.

 

β†’ Once you're inside the campaign builder, select Integration from the bottom navigation bar.

β†’ Click Person Invited (configure settings).

β†’ Under Select the method you want to use to qualify, select A customer's total spend would exceed a certain amount.

 

Screenshot showing that you can Automatically Qualify Successful or Converted referral program Referrals using Stripe.

 

β†’ Next, set the total amount that the referred user must spend in order to qualify as a converted or successful referral. The currency of this value will be the same as your default currency in Stripe.

πŸ“Œ Please note that Referral Factory will track the customer's total aggregated spend from the date they were first referred. 

β†’ Then, specify how many days the referrer user has to reach the target spend in order to qualify. In marketing lingo, this is often referred to as the "attribution window".

 

 

β†’ Select how you would like Referral Factory to handle the creation of NEW customer records in Stripe. These options will help you manage the creation of duplicate records

πŸ‘‰ Select the first option if Referral Factory should NOT create a customer record in Stripe when a new referred user signs up on a referral link but rather wait for your checkout system to create the record. Referral Factory will still be able to qualify a referral as long as the customer uses the same email address. This option will help you avoid duplicate customer records in Stripe. 

πŸ‘‰ Select the second option if Referral Factory should INSTANTLY create a customer record in Stripe when a new referred user signs up on a referral link. This option works best if your checkout system has a mechanism to check for duplicate customer records. 

 

β†’ Select how you would like Referral Factory to handle the creation of customer records in Stripe when the referred user's email ALREADY EXISTS

❗️In addition to managing the creation of duplicate customer records in Stripe, these options will allow you to manage self-referrals and the referral of existing customers. 

πŸ‘‰ Select the first option if Referral Factory should only create a customer in Stripe if the new referred user's email address does NOT ALREADY EXIST in Stripe. This will prevent self-referrals and the referral of existing customers because the referred user will never be qualified. 

πŸ‘‰ Select the second option if Referral Factory should create a customer in Stripe EVEN IF a customer record with the same email address ALREADY EXISTS. This means that a duplicate customer record WILL be created. This option allows self-referrals as well as the referral of existing customers. However, the qualification will only trigger if the customer spends on the new record created by Referral Factory. 

πŸ‘‰ Select the third option if Referral Factory should UPDATE a customer record in Stripe that already exists. This means that a duplicate customer record WILL NOT be created. This option allows self-referrals as well as the referral of existing customers.

 

β†’ Finally, use the toggle to select whether you want to automatically unqualify users who request a refund within the previously decided attribution window. 

β†’ Click Save Qualification Settings.

❗️ Important: You must click the Save Qualification Settings button in order to generate a webhook in Stripe.

 

3.3.2. How To Set Up Your Stripe Webhook

 

Screenshot showing that your Stripe Webhook created

β†’ Once you have clicked on Save Qualification Settings, a pop-up will appear with instructions on how to set up a webhook in Stripe.

 

To make this as easy as possible, Referral Factory has generated a link that will take you straight to your Stripe webhook settings, with all the relevant settings pre-filled. All you will need to do is add the unique endpoint that is also provided. Please note that Stripe administrator privileges are required to add webhooks.

 

β†’ Start by clicking the yellow text that reads "Click here to create your Stripe webhook". A new tab will open in Stripe that says "Listen to Stripe events."

 

Screenshot showing how add endpoint.β†’ Paste the unique endpoint URL provided for you in the pop-up window under the heading "Endpoint URL".

β†’ Click Add endpoint.

β†’ Success!

❗️ Please note that these webhooks are campaign-specific. If you would like to use Stripe to qualify users in multiple campaigns, you will need to set up additional webhooks for each campaign you want to track. 

 

3.1.3. How To Map Your User Fields

 

Complete your configuration by returning to Referral Factory and mapping the user fields. 

 

β†’ Use the drop-down options to match the relevant data between Referral Factory and Stripe.

 

Screenshot showing that you can Map your fields. Use the drop-down options to match the relevant data between Referral Factory and Stripe.

❗️ Stripe requires that you map the following fields:

β†’ {First Name}

β†’ {Email} 

❗️ If these fields are not mapped, the integration will not work ❗️

 

β†’ Map any additional information by clicking "Send as Metadata" and typing in your desired key.  

 

Screenshot showing that you can Map your fields. Use the drop-down options to match the relevant data between Referral Factory and Stripe.

 

β†’ You can also attach the information of the person who made the referral as metadata.

 

Screenshot showing how attach the information of the person who made the referral as metadata for your referral program software.

β†’ Click Next to save your settings. 

 


 

 

3.2. How To Sync Stripe Customers with Referral Factory (and Generate Their Referral Links)

 

❗️Customers that you sync will not be automatically notified or sent their referral link. If you would like to notify them, please use your own marketing channels or Referral Factory's once-off email feature. You can learn more about once-off emails here: πŸ“– How To Create A Once-Off Email πŸ“– 

 

You can sync your Stripe customers from three places in the Referral Factory dashboard:

πŸ‘‰ From the Users Tab.
β†’ Click Add Users.
β†’ Click Sync Your CRM Contacts.

How to sync users.

πŸ‘‰ From the Campaigns tab.

β†’ Click Sync Your Contacts.

πŸ‘‰ From the Promote section inside the campaign builder.

β†’ Click Generate links for your contacts by syncing them.

 

β†’ First, map your customer contact's details from Stripe to Referral Factory. Use the dropdown boxes to select Name and Email.

β†’ Click Next.

 

Screenshot showing that you can map your customer contact's details from Stripe to Referral Factory.

 

β†’ Then, enter the key under which you'd like to save the referral link in each customer's metadata. We suggest using "Referral Link"

β†’ Click Next.

 

Screenshot showing you should enter the key under which you'd like to save your referral program software  referral link

 

β†’ If you would like to sync your Stripe customers on an ongoing basis, switch the toggle to on. In other words, every time you add a new customer in Stripe, they will be automatically added to your referral program and their referral link will be sent back to Stripe. 

β†’ Click Start Sync.

 

Screenshot showing that you can sync your Stripe customers on an ongoing.

β†’ Success! 

 

Screenshot showing that sync process started for your referral program.

 

And this is how the referral link will look inside a customer's metadata in Stripe:

Screenshot showing how your referral program software referral link will look inside a customer's metadata in Stripe:


 

3.3. How To Send The Person Referring (Direct Users) 

 

Should you have a use case for this function, you can also create a customer in Stripe every time someone signs up for a referral link as a direct user or a Person Referring. Please note, however, that there is no way to qualify direct users. So, Referral Factory won't be able to track direct users' spend in Stripe or qualify them. 

 

This function must be configured from inside the campaign builder. 

β†’ Select the Campaigns tab from the left-hand menu bar.

β†’ Click Edit Campaign.

 

Screenshot showing that for configure your referral program software Stripe integration you can incide your campaign.

 

β†’ Once you're inside the campaign builder, select Integration from the bottom navigation bar.

β†’ Click Person Referring (configure settings).

β†’ Map your fields. Use the drop-down options to match the relevant data between Referral Factory and Stripe. 

β†’ Map any additional information by clicking "Send as Metadata" and typing in your desired key.  

 

Screenshot showing how attach the information of the person who made the referral as metadata for your referral program software.

 


 

4. Uninstall Your Stripe Integration from Referral Factory

 

β†’ Navigate to the Settings tab of your Referral Factory dashboard.

β†’ Under the Stripe logo, click Disconnect

 

Screenshot showing how disconnect your Referral program software stripe integration.

❗️ Once disconnected, no user data will sync between Stripe and Referral Factory or vice versa. However, any data that was synced before will still be available in both systems.