Stripe and affiliate/referral program

Have you ever added an affiliate/referral/discount-code program to your SaaS? I’m thinking of adding one to mine but have no idea where to start — curious how others approached it (tools, what worked, what didn’t, etc.).
2 Replies
kapa.ai
kapa.ai5d ago
Hi @Stefan Vitória. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Based on the knowledge sources provided, there isn't specific information about implementing an affiliate/referral/discount-code program in Wasp or Open SaaS. The documents mention Stripe integration for payments and subscriptions, but don't cover affiliate or referral systems specifically. What I can tell you is that Open SaaS (built with Wasp) does have Stripe integration for handling payments, subscriptions, and even a credit system. For example, there's mention of: 1. Stripe checkout sessions for subscriptions Discord thread 2. A credit system implementation where users can buy credits Discord thread If you're looking to implement an affiliate/referral program, you might want to: 1. Check the Wasp Discord community for more specific guidance: Discord 2. Email the Wasp team directly at [email protected] For Stripe-specific implementation details, the knowledge sources mention that "Stripe themselves have great documentation" which would be a good place to start for the payment processing aspects of your affiliate program. I'd recommend joining the Wasp Discord community to ask this specific question, as other SaaS builders using Wasp might have implemented similar features and could share their experiences. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @Stefan Vitória, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
4jandals
4jandals5d ago
@Stefan Vitória I’ve built one before. It’s not difficult. Typically you need a site where an affiliate can register and login. Each affiliate will get a tracking link that you generate, and when a visitor follows that link you’ll need to store a cookie that identifies the affiliate (30-90days is norm for the cookie life). If the visitor signs up, that cookie will identify the account has been referred. Then when a customer pays you need to track a commission for the affiliate. Then you need a monthly process to pay the commission - I’d suggest PayPal for making the actual payment since this works ok for different countries. You mention discount codes which is another way to track the affiliate rather than using an affiliate tracking link. I’ve not built this before but seems straightforward. If you are happy to spend a little, there are various off the shelf tools e.g. rewardful.com Hardest part is finding good affiliates!

Did you find this page helpful?