#staleriver
1 messages · Page 1 of 1 (latest)
Hi, are you asking how you're track subscription with a trial end?
No sorry. I want to know when the trial ended.
Like I was hoping there would be a trial_ended webhook. But seems like that doesn't exist so trying to figure out which webhook I can listen to to figure out the exact moment the trial ends.
Looking
I think you'd want to listen to this event: https://stripe.com/docs/api/events/types#event_types-customer.subscription.trial_will_end
Occurs three days before a subscription’s trial period is scheduled to end, or when a trial is ended immediately (using trial_end=now
Right so that one gets triggered 3 days before a trial's period scheduled to end
I'm looking for something that gets triggered the exact moment the trial ends
Looking
Yeah, I think your first approach is good here by listening to customer.subscription.updated.
Is checking status = 'active' and previous_attributes.status = 'trialing' part accurate as well?