#edutomesco

1 messages · Page 1 of 1 (latest)

granite bloomBOT
frosty breach
#

What do you mean by 'reset'?

fair linden
#

I want a webhook to know when a subscription interval finish and start the next one

frosty breach
fair linden
#

but this is when a subscription is changed

#

but i want when the interval of the subscription changed

frosty breach
#

Yep, and the subscription will change as the billing period date parameters will change

fair linden
#

aaaahhh

#

so this will count as a subscription.update

#

when it finish and interval and start another?

foggy vapor
#

Hey! Taking over for my colleague. Let me catch up.

fair linden
#

Okey

foggy vapor
# fair linden when it finish and interval and start another?

If the subscription is updated (change the billing cycle, upgrades/downgrades...) you should listen to the event my colleague mentioned above.
If you want just to get updated when a subscription will be renewed, you can monitor this event invoice.upcoming, you'll get an event prior to the renewal, the number of days could be configured in your dashboard
https://stripe.com/docs/billing/subscriptions/overview#:~:text=on the subscription.-,invoice.upcoming,-Sent a few

fair linden
#

but i want to be exactly at the moment of changing

#

not days before

#

because i want to use to update all my system control limits

#

And I need to be accurated

foggy vapor
#

What kind of updates are you doing in your system ?
if you are willing to track whenever a customer still has access or not to your product, I invite to reverse the logic. You keep your customer having an active subscription in your system until you got a failed payment event to deactivate it:
https://stripe.com/docs/billing/subscriptions/webhooks#payment-failures