Ask HN: How do you set up a SaaS as a solopreneur?
I have the MVP, I have it validated, and now I want to build it into a full-grown SAAS.
1. How do you manage the SAAS part? From credit card processing to managing the subscriptions, to integrating it into the project? Any suggestions?
2. What about taxes? How do you collect and remit them to the state? (I'm in the USA.)
This is a huge hole in my knowledge, and I would appreciate any information or guidance that you can offer!
Thank you!
10 comments
[ 2.8 ms ] story [ 240 ms ] thread1. USA - Stripe for payments and managing subscriptions. They have numerous tools for doing so. Their subscription handling is pretty good at the moment and useful for people who want to cancel etc. The handled processing, fraud etc. Pretty simple to setup with your saas.
2. Talk with an accountant or lawyer for your specifics regarding the state. They differ wildly so you want to make sure you are prepped and handling that from the beginning. Any good accountant should take about an hour to break this all down for you. Worth the $$.
Best of luck.
There are a few new modern players (disclaimer - I'm the CTO of one of them [0]) in the SaaS subscription mamagement and adjacent usage billing space now and I would highly recommend using such a solution while still relying on Stripe for just the payment processing part. It will save you a lot of technical headaches down the road and even should allow you to get started quicker (for example, we provide you with embedded pricing pages, quoting and sign up links, feature entitlements per customer, full metering support and much more out of the box) and iterate over your pricing faster as you grow.
[0] https://wingback.com
Note that you still need a legal entity to receive your income and probably an accountant to do your taxes.
Keep it simple in the beginning just set up subscriptions/billing and a few basic plans to get users signing up and working out the flow since it sounds like your first time.
Lemonsqueezy and Paddle handles taxes out of the box (Stripe is working on a tax solution). It sounds like most jurisdictions have thresholds you have to break before you have to pay sales tax. It varies greatly so it's probably worth a little extra cost to have that covered from the start. But early on I'm not sure it's completely necessary.
What framework are you building on?
Here are SaaS in a box billing/subscription tools for Rails and Laravel https://bullettrain.co/ https://spark.laravel.com/
Good luck.
The best solution I have found and what I currently use is https://www.outseta.com/
It handles everything: from authentication to help desk, to transactional emails, marketing emails to sales funnel, subscription management.
Everything is basically no code so you don’t end up needing to build anything yourself that isn’t central to your value prop.
You can get it running in one day. Highly recommend.
- Webhooks are slow. Often delayed. - Subscriptions are not saved in Stripe, but in their own platform - I found a huge dataleak a while ago. They fixed it quite fast after reporting. - Hard to use for European companies (tax). - API is quite basic
I made BudgetSheet ( https://www.budgetsheet.net ) and have dealt with a few of the same issues here, so I will try my best to answer them:
1. I use License Keys for my project, which I store in my own database associated to the user account that made the purchase. LemonSqueezy allows you to send custom data with a purchase, so I send the user token with the payment link users click on from inside my app when they make the purchase. You can then get this same custom data back in a webhook, which you can use to associate the purchase with a specific user account once it has been made along with the LemonSqueezy subscriptionId. It is a relatively minimal amount of work to achieve this, and LemonSqueezy has examples for how to verify their webhook data that you can just copy and paste into your own. I am sure other payment providers are similar as well. Once that data is in my local database, it's a simple query lookup to see if a user has paid or not (be sure to also handle cases for subscription cancellation and expiration though - also webhook events!).
2. If you are worried about taxes, then you can use a MoR (Merchant of Record) payment provider like LemonSqueezy, Gumroad, or Paddle. I personally use LemonSqueezy because I liked their UI the best, and they supported license keys as part of the purchase.
Good luck with your business!