#regisin

1 messages · Page 1 of 1 (latest)

crude sandBOT
frozen warren
#

Hi there, what event are you listening to?

frozen spade
#

invoice.payment_succeeded

frozen warren
#

OK. So that's an invoice event, so you'll get the invoice object.

frozen spade
#

Why is the price a list? In what situation would a subscription have more than one item in the list?

frozen warren
#

You can add more than one price to a subscription.

frozen spade
#

Like the same tier having multiple prices? Or a single user's subscription having more prices as they moive up/down the tiers?

#

I'm just trying to understand... I know how subscriptions work for me as a consumer, not as a service/business

frozen warren
#

Stripe provide the flexibility to let user add multiiple prices in a subscription. You don't need to use it if your business doesn't require it.

frozen spade
#

So if the customer updates to a different plan, does that add a new price to the subscription list of items? Or does it just update the one single item in that list?

#

Another question. If I create a free tier, can I create a product with price zero? Then when a user registers on my website, I assign the free subscription by default. Would that incur any charges for me to pay?

frozen warren
#

What do you mean by free tier?

frozen spade
#

Well, my thinking is to create the user with a free plan, and redirect them to the stripe billing portal so they can manage their subscription. When they update their subscription, does it trigger an event I could listen for on my webhook?

#

I use tier as plan (or product) here.

#

and "free" basically means "no plan"

frozen warren
#

OK, so no plan = no subcritpion ?

frozen spade
#

they can't use my website, but can still come back in the future

#

no plan = subscription that costs $0

frozen warren
#

OK, yes you can create zero dollar subscription.