#alexander_webhooks
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1247892273589391471
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
hi there!
Hello
you can listen to customer.subscription.updated, and check that
- the current status is
active - and the
previous_attribute.statusistrialing
Ohhh! awesome! exactly what i needed ๐
Thank you!
happy to help ๐
Will a subscriber that is currently on a trial but never upgraded have the previous_attribute.status in the response body?
Or is it exclusive to accounts that have gone from trial -> subscription
๐ stepping in here as soma needed to step away
The previous_attributes will always contain whatever was changed on the Subscription object
If a property isn't present in previous_attributes then it means it did not change during that update
Im really a novice about this stuff but i cant seem to even get previous_attributes up here its non-existant
Im i getting this right or im i far out in the deep end
its zapier
The only thing I notice is that it looks like you are searching for previous_attribute when you want previous_attributes (with an s)
its not that i think
Yeah sorry I don't know how that UI works at all. I'd recommend looking at the Event directly in your Stripe Dashboard to make sure you are looking at the right thing?
So the thing is i have a webhook "updated subscription". In the picture is the test response im recieving and it does not contain any previous_attributes ๐ฆ