Manage Stripe Prices and Products Saas

I am currently build a product that I am integrating Stripe in. It is my first time using Stripe and I am finding it difficult to find the best way to manage your products and prices. In my case, there are only three tiers with monthly and yearly pricing. So it should not be too hard to hard code the price and products Ids in code and then roll with this. But, I wanted to do something more comparable to IaC. I started using SST with the Stripe pulumi provider, but I was constantly having errors when I wanted to change a something in the Price object. Really what I wanted to ask is: to those that already have implemented Stripe in production, what is the recommended way to manage your Stripe products and prices? I feel like hard coding is not the best way to do it, but it seems to be the one with less friction when managing a small number of products. Thanks in advance!
1 Reply
EnderTheNetrunner
I have a database table with products and their price IDs along with any other metadata I might need. That's the way I've gone about it so far.

Did you find this page helpful?