#alexander_webhooks

1 messages ยท Page 1 of 1 (latest)

coarse ferryBOT
#

๐Ÿ‘‹ 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.

inland wolf
#

hi there!

steady bone
#

Hello

inland wolf
#

you can listen to customer.subscription.updated, and check that

  • the current status is active
  • and the previous_attribute.status is trialing
steady bone
#

Thank you!

inland wolf
#

happy to help ๐Ÿ™‚

urban meteorBOT
steady bone
#

Or is it exclusive to accounts that have gone from trial -> subscription

random kindle
#

๐Ÿ‘‹ 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

steady bone
#

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

random kindle
#

Sorry I have no idea what that UI you are using

#

Is that a third party?

steady bone
#

its zapier

random kindle
#

The only thing I notice is that it looks like you are searching for previous_attribute when you want previous_attributes (with an s)

random kindle
#

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?

steady bone
#

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 ๐Ÿ˜ฆ

random kindle
#

Yeah sorry you will need to work with that third party that you are using here. It is possible they don't pull the previous_attributes property into their UI? I really can't say.

#

What you are using right now is not a Stripe product so I can't really help with that

steady bone
#

Yeah i just read up, they have not supported it yet.

#

Thanks for the help anyway!