Stripe and Multiple saas

Hello guys. I have one question. For the guys who know the answer specially those who have launched multiple saas. I am about to launch my second saas and I was wondering about the stripe part. Do I have to create a whole different account or within the account I have there is a way of creating something like organization??? I was reading the docs and some post from people with same question but somehow none of the answers make sense for me. So I decided to ask here, maybe some that have face it could share the experience and the process would be more straightforward for me. Thank you all
5 Replies
kapa.ai
kapa.ai2mo 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: ---------------------- Stripe allows you to manage payments for multiple businesses or projects from a single account using the concept of "Stripe accounts". Each Stripe account is a separate entity with its own payment methods, balance, and settings. You can create and manage multiple Stripe accounts from your Stripe Dashboard. However, in the context of Wasp and deploying multiple SaaS applications, you might need to handle this differently. If you're using Wasp's deployment feature with Fly.io, you can specify a different organization for each deployment using the --org option. Here's an example from the Wasp documentation:
wasp deploy fly launch my-wasp-app mia --org hive
wasp deploy fly launch my-wasp-app mia --org hive
In this case, my-wasp-app is the name of your application, mia is the region, and hive is the organization. You can replace these with your own values. For the Stripe integration part, each of your SaaS applications would likely need its own set of Stripe API keys. These keys are usually stored in environment variables and used to configure the Stripe SDK in your application. You would need to manage these keys separately for each application. Remember to always keep your Stripe keys secure and never expose them publicly. If you need more specific help with Stripe and Wasp, I recommend checking out the Wasp documentation (https://wasp-lang.dev/docs) or asking in the Wasp community. Sources: - Multiple Fly Organizations (https://wasp-lang.dev/docs/advanced/deployment/cli#multiple-fly-organizations) - Stripe Webhook Server in production (https://discord.com/channels/686873244791210014/1220115828012351529) - Payment for Credits / Credit Balance System (https://discord.com/channels/686873244791210014/1205328655300038766) - Stripe testing issues(401) (SOLVED) (https://discord.com/channels/686873244791210014/1202542916321681448) - Stripe integration debugging best practices (https://discord.com/channels/686873244791210014/1200182362449907813) - hi getting a [ Server ] POST /operations/stripe-payment 500 44.007 ms (https://discord.com/channels/686873244791210014/1215945587841831033) ---------------------- 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?
martinsos
martinsos2mo ago
@Vinny (@Wasp) might have an idea here
Stefan Vitória
Stefan Vitória2mo ago
I would appreciate that 😅
Vinny (@Wasp)
Vinny (@Wasp)2mo ago
Hmm that's a good question and I don't know the answer, but here are some considerations: - If you create new products within the same Stripe account, you'll have no Problem distinguishing the difference between them. But, youll have to update the admin dashboard of Open SaaS to pull the revenue statistics for these products only, otherwise you'll be getting the numbers from both of your SaaS apps - Separate Stripe Accounts might make things easier to separate everything, but I'm not sure how Stripe deals with this or if they even allow it. You might want to try settting up a sepearate account with the same Bank account info, making sure its not in test mode, and see what happens first, before you start building your saas app around it. Personally, I would probably keep everything under one account. It will make bookkeeping a bit easier. Then I'd just modify the analytics/stats.ts file to only pull info for the products for that specific app/service.
Stefan Vitória
Stefan Vitória2mo ago
But if i use the dame account with different products, when the user opens the checkout session page, it will see the brand of the other app, right? I saw a lot of discussion but all of them were based on supposition, so 🤷
Want results from more Discord servers?
Add your server