#Senhor-subscriptions
1 messages · Page 1 of 1 (latest)
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?
sure, what's the question about it?
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?
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
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?
what code would you use?
I would create a checkout session with line item obj
With 12 in quantity and price Id of the monthly sub