Skip to content

How to deserialize all of a webhook event? #2

@m0r6aN

Description

@m0r6aN

I've created a Webhook for a few events. I'm able to tunnel to localhost and send an event from the simulator, but the entire object doesn't deserialize. I'm only able to navigate down to webhookEvent.resource, at which point it is just a json string. I've tried to deserialize the resource object, but nothing works. I need to be able to get the payers email address.

Additionally, PAYMENT_SALE_COMPLETE doesn't contain any payer information and every event from the simulator fails validation.

Any help would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions