How the referral program works
The referral program turns your members into promoters. Each member gets a personal link and shares it with friends. A friend who is a new customer logs in, claims a one-time discount code, and the member is rewarded when the friend pays for a first order. This article explains the full flow and what each person sees.
[!INFO] The referral program is off by default. Nothing happens on your store until you press Enable on Program → Referrals. See How to turn on referrals and set the rewards.
How a referral works, step by step
-
The member gets a link
Every member has a personal referral link. They find it in the widget under Refer a friend. You can also see it on the customer's page in the admin. One link works for any number of friends.
-
The member shares it
They copy the link or use a share button (Email, Facebook, Messenger, WhatsApp or X, depending on what you turned on). See How to choose share options and messages.
-
The friend opens the link
When the friend lands on your store, a referral pop-up shows their offer, for example "Alex sent you $5 off". You design it under Branding. See How to customize the referral pop-up.

-
The friend logs in
The friend's code is locked to one customer account, so the friend must be logged in to claim it. If they are not, pressing the claim button (default text Get my code) shows Log in to claim your reward with a Log in button. After they log in or create an account, they come back to your store with the referral link, and the pop-up opens again.
-
The friend claims a code
The friend presses Get my code. The app checks that the friend has no earlier orders in your store, then creates a one-time discount code that only their account can use. The pop-up shows it with a Copy button, and the friend gets the Friend received referral email if it is on.
The code is created only when they press the button, so link previews and search crawlers never use up codes. If the friend has ordered before, they see We couldn't create your code instead.
-
The friend orders with the code
The friend enters the code at checkout while logged in to the same account. The app does not apply it for them.
-
The order is paid and the member is rewarded
When Shopify marks the friend's order as paid, the app checks again that the friend is eligible. If so, the referral becomes Completed and the member gets their reward: points, or a discount code made just for them. The member also gets the Referral completed email.

Referral statuses
| Status | What it means |
|---|---|
| Pending | The friend claimed a code but has not paid an order with it yet, or the member's reward is still waiting to be paid out. |
| Completed | The friend's first order was paid and the member received their reward. |
| Blocked | The referral did not qualify, so the member gets no reward. |
Members see only Pending and Completed referrals. Blocked ones are not shown to them. You see all three in How to track referrals and their status.
Which orders count
- The friend's order must be paid. An order that is only placed, or still pending payment, does not complete a referral.
- The order must use the friend's code, from the same customer account that claimed it.
- The friend must be a new customer. The app checks this twice: when the code is claimed, and again when the order is paid. It uses the friend's full order history in Shopify, including orders placed before you installed Sol.
- The friend must not be an excluded customer. See Who can join and how to exclude customers.
- Your loyalty program must be live. If you pause the whole program, referrals do not complete.
- The friend's own order still earns them normal loyalty points. See How customers earn points from orders.
When the member is rewarded
- Points are added as soon as the friend's order is paid.
- Discount codes are created by the app within about a minute.
The reward follows your settings at the moment it is paid out. If you change the reward while a referral is still waiting, the member gets the new reward.
What happens on cancellations and refunds
| Situation | What happens |
|---|---|
| The friend's order is canceled or fully refunded before the member's reward is paid out | The referral becomes Blocked. The member gets nothing. |
| The friend's order is canceled or refunded after the reward is paid out | The member keeps the reward. Referral rewards are not taken back automatically. To remove points, adjust them by hand. See How to adjust points for one or many customers. |
| The member's reward could not be created in Shopify | The app retries automatically. The referral stays Pending until it works, and is Blocked if it keeps failing. |
Worked example
You set the member reward to 500 points, the friend reward to $5 off first order with a Minimum order amount of $30, and the code to expire after 1 month.
- Maria copies her link and sends it to Tom on WhatsApp.
- Tom opens the link. The pop-up says "Maria sent you $5 off". He presses Get my code.
- Tom is not logged in, so the pop-up asks him to log in. He creates an account and comes back to the pop-up. He presses Get my code again and gets his code.
- Tom adds $42 of goods to his cart and uses the code. The discount is $5, so he pays $37 plus shipping and tax.
- Shopify marks the order paid. This is Tom's first order and Tom is not Maria, so the referral becomes Completed.
- Maria receives 500 points and the Referral completed email.
If Tom had ordered from your store before, he would see We couldn't create your code in step 3 and get no code. No referral is created and Maria gets nothing.
Good to know
- Each customer gets one friend code in your store. If they claim again, from the same link or another member's link, they see the same code. The referral belongs to the member whose link they claimed first.
- Existing links keep working after you change the rewards. Friends keep the code they already claimed.
- Settings, links and referral history stay in place if you uninstall and reinstall the app.