where ‘dealIdToUpdate’ is the ID of an existing deal *does* in fact update the deal as I expect, which is great, but it also always creates a new deal with the same properties.
I am using a stripe integration and based on certain webhooks calling this update method, which is only firing once, and that leads me to believe there is an issue somewhere in my hubspot code.
I am curious if this is a known bug that others have experienced, otherwise how I might go along resolving the issue?
If you use an API key or a private app you can check the call log to see what is happening at the HubSpot side.
API Key logs: https://app.hubspot.com/api-key/\/call-log
That way, you can check if your code is making multiple calls to HubSpot.
I do not see anything wrong with your code, so if possible, please share a bit more.