You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The constructor of WebhookNotification.php appears to parse the object payload incorrectly for a number of webhooks.
It assumes that any webhook type starting with 'USER' will have an object of type User. This appears to be incorrect for webhooks for different payment method events.
For example, for a webhook of type USERS.VENMO_ACCOUNTS.CREATED, I get an object with the following structure:
I'm using version 1.6.3 of the SDK
The constructor of WebhookNotification.php appears to parse the object payload incorrectly for a number of webhooks.
It assumes that any webhook type starting with 'USER' will have an object of type User. This appears to be incorrect for webhooks for different payment method events.
For example, for a webhook of type USERS.VENMO_ACCOUNTS.CREATED, I get an object with the following structure:
The text was updated successfully, but these errors were encountered: