#chris-esperian_webhooks
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1491531313289629827
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there, customer.subscription.deleted only fires when the subscription is actually canceled. the other scenario you describe (cancel_at_period_end set to true) wouldn't immediately fire that event
instead it would send customer.subscription.updated
interesting. that sounds like what i was thinking
I just had to be sooper dooper sure about it lol
if you want to be entirely certain of how this behaves, I would recommend testing thoroughly with subscriptions in a sandbox. you can use test clocks to simulate the subscription hitting end of the period https://docs.stripe.com/billing/testing/test-clocks
it's really handy for testing corner cases and just generally seeing how the lifecycle of a subscription behaves
yea ive been eyeballing that testing ability. Wasnt around the last stripe integration i did three years ago. Looks fantastic
thanks for the info!
sure thing!
You guys are the standard-bearer for support. Keep up the great work ๐