#mangle8582

1 messages ยท Page 1 of 1 (latest)

formal whaleBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

trim salmon
#

hi there!

dense musk
#

hello

trim salmon
#

if you listen to customer.subscription.updated, the you should see the data.previous_attribute property so see exactly what changed on the Subscription

dense musk
#

I can't find it actually.

trim salmon
#

can you share the Event ID (evt_xxx)?

dense musk
#

I can't see it anywhere. Just the Req Id

trim salmon
#

I'm sorry I don't really understand your question then. what are you trying to do exactly and what is the issue?

dense musk
#

On customer.subscription.updated i want to check if it's been upgraded from Monthly.

Because i can upgrade to Yearly from Monthly but then after one year custumer.subscription.updated is triggered again and i need to set that flag

#

EventID or previous.attributes are not present anywhere

#

neither in webhooks, neither in dashboard

trim salmon
#

without the event ID it's difficult for me to help

dense musk
#

evt_1Omc1ODmVlmqORBIKdnd1HdZ

#

i think it's this one

#

But this is event object, inside webhook custumer.subscription.updated i don't have the ID of the event to atleast make a GET call for it and neither the event.

trim salmon
#

well there is a previous_attributes three

dense musk
#

I've found it, data and previous_attributes at at the same level

#

Thank you!

#

I was looking only through data

trim salmon
#

happy to help ๐Ÿ™‚