Skip to content

WeTrio DevBlogSaaS

Stripe subscriptions for a SaaS: plans, trials, promo codes and usage limits

Billing is where a SaaS meets money, and where shortcuts cost most. What a subscription setup needs on day one, what can wait, and how we run it in our own product.

Alex, Founder, CEO · 3 min read

A SaaS needs four billing pieces on day one: plans in Stripe, a checkout, verified webhooks that update your database when a payment succeeds or fails, and a customer portal for cards and invoices. Trials, promo codes and usage limits come next. We set this up the way our own product, wetria, runs it: Stripe subscriptions and invoices, promo codes, and usage paid in tokens.

Day one

  • Plans and prices defined in Stripe, mirrored in your database.
  • Checkout that creates the subscription and the customer.
  • Webhooks, verified by signature, that grant or remove access when payments succeed, fail or are refunded.
  • The customer portal for changing a card, a plan or downloading invoices.

Next

  • Trials and a free tier, if they help people reach the core feature.
  • Promo codes for launches and partners.
  • Usage limits per plan, enforced on the server, not in the browser.
  • Dunning: retries and emails when a card fails, before access is cut.

Mistakes that cost money

  • Trusting the browser to say a payment succeeded.
  • Changing a plan in the database without changing it in Stripe.
  • No record of usage, so limits cannot be enforced or explained.
  • Taxes and invoices left to the last week before launch.

How wetria does it

wetria sells three plans (Starter $29, Pro $99 and Studio $199 a month), paid in tokens, with 500 free tokens for a new account and tokens also sold as you go. Sign-up, plans and promo codes run on Stripe, and usage limits and abuse control run on our side. The same setup is what your MVP starts from: see SaaS MVP development and the wetria case.

Why founders choose WeTrio Dev

If you want billing built once and built right, this is how we work:

  • Design and engineering in one team, so nothing gets lost between designer and developer.
  • The repository, infrastructure and accounts are yours from day one.
  • Next.js, TypeScript, Supabase or PostgreSQL, Stripe and Cloudflare: the stack that runs our own products.
  • After launch we stay on for monitoring, fixes and new features, monthly or per task.
  • 120+ products shipped, including wetria, an AI SaaS with paying customers, and WeTrio Hub, the platform our studio runs on.

Questions,
answered

Short answers to what people ask about this topic. Not here? Write to us, a person answers.

Yes. Stripe plans, trials, promo codes and invoices, the same setup our own SaaS runs on.

Yes. Usage can be metered, sold as credits or tokens, and limited per plan on the server.

Stripe retries the payment and sends emails; your app keeps access until the rules you choose say otherwise.

You do. The accounts, the code and the infrastructure are yours from day one.

Design and engineering sit in one team, a live demo arrives in one week, the code and accounts are yours from day one, and the team runs the same stack in its own products, including wetria and WeTrio Hub. Every project starts with a free audit and a fixed price for the first sprint.

Keep reading

All posts

Get a free audit
of your product

Tell us about your product. We reply within one business day. Get the audit: what to build first, what it takes and when you can click it.

Prefer a quick message?

Drop files here or click to browse

Up to 5 files · 100 MB each.

Checking the connection…