#_nerder

1 messages · Page 1 of 1 (latest)

mighty kayakBOT
#

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.

hot matrix
#

Hello! customer.subscription.updated will fire whenever the Subscription changes. What kind of updates are you doing when you receive that Event?

scenic meteor
#

more context: i basically need to add a metadata to some legacy subscriptions in order from my new integration to work properly

hot matrix
#

If you're adding metadata to the Subscription that will cause the customer.subscription.updated Event to fire. You could check to see if the metadata you want to add is present before running the code to add it.

scenic meteor
#

basically my idea here is to check if the metadata is present, if is NOT then i want to fetch it from some other place and then add it before to use it

#

if by updating the subscription that will trigger again customer.subscription.updated than i can safely exit after the update, and wait for the next event to be fired now it will 100% have the metadata i need and i will continue performing the rest of the logic

#

if this makes sense