intuit / QuickBooks-V3-PHP-SDK

Official PHP SDK for QuickBooks REST API v3.0: https://developer.intuit.com/
Apache License 2.0
246 stars 246 forks source link

deleted attribute in webhhooks #403

Open KarunaGovind opened 3 years ago

KarunaGovind commented 3 years ago

Starting today, all our webhooks were failing because of this error:

Call to undefined method QuickBooksOnline\API\WebhooksService\Entity::__set()

This is because webhooks are now sending a deleted attribute. We've had to work around it by removing anything which isn't in ['name', 'id', 'operation', 'lastUpdated'] but shouldn't the SDK simply ignore the values it doesn't expect?

I've seen similar issues raised earlier so it's quite annoying having to find this happen again.

Thanks.