#_nerder
1 messages · Page 1 of 1 (latest)
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.
- _nerder, 2 hours ago, 91 messages
- nerder-connect, 7 hours ago, 29 messages
- _nerder, 1 day ago, 34 messages
Hello! customer.subscription.updated will fire whenever the Subscription changes. What kind of updates are you doing when you receive that Event?
more context: i basically need to add a metadata to some legacy subscriptions in order from my new integration to work properly
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.
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