#Senhor-subscriptions

1 messages · Page 1 of 1 (latest)

narrow merlin
#

no, you get a webhook every billing period, so like once a year in that case.

opaque void
#

Ok thanks

#

And one more question: what about i archive the yearly price and when a user wants to buy yearly sub, just buys 12 x 1 month of that sub?

narrow merlin
#

sure, what's the question about it?

opaque void
#

In this case will i have the event from the webhook every month?

#

Since the user pays upfront 12 of 1 month sub for that product

#

Am I right?

narrow merlin
#

if you use a Price that has recurring[interval]=month then the subscription recurs every month(forever, until you cancel it, or you use a Schedule that cancels it) and it generates a new billing cycle and associated webhooks every month

opaque void
#

Ok. But if I buy upfront 12 in quantity of 1 month sub

#

And i pay it in one solution, right?

#

Or will i be charged every month?

narrow merlin
#

what code would you use?

opaque void
#

I would create a checkout session with line item obj

#

With 12 in quantity and price Id of the monthly sub

narrow merlin
#

then what will happen is, let's say its' $100 a month plan. They pay 12 x $100 now, and then next month they pay 12 x $100, and the month after that, 12 x $100

#

so maybe that's not what you want.

opaque void
#

Ahhhh ok

#

No, that's not what I want