Event#getRawJsonObject
returns null
when constructed for webhook
#1945
Labels
Event#getRawJsonObject
returns null
when constructed for webhook
#1945
Describe the bug
Calling
Event#getRawJsonObject
always returnsnull
for events constructed from webhook JSON payloads. This is due to the method taking the raw JSON from a stored last response which is not set when the event is constructed (ref).To Reproduce
Expected behavior
I expect the raw JSON object to be available from the event object. I think it should be stored there during construction similar to how it's done the last response for queried objects.
OS
Irrelevant
Java version
Irrelevant
stripe-java version
v28.3.0
API version
Irrelevant
Additional context
No response
The text was updated successfully, but these errors were encountered: