Skip to content

Create function to verify webhook #22

@NicolasBonduel

Description

@NicolasBonduel

It would be great to have a function to verify the webhook payloads.
This way, users don't have to go through the hassle of encoding the body and checking it against the verification header.

Stripe has a function like that in each of their SDKs as well:
https://stripe.com/docs/webhooks/signatures#verify-official-libraries
https://github.com/stripe/stripe-node#webhook-signing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions