Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Webhook Handling and Validation #4

Open
karaOdin opened this issue Oct 15, 2024 · 1 comment
Open

Add Support for Webhook Handling and Validation #4

karaOdin opened this issue Oct 15, 2024 · 1 comment

Comments

@karaOdin
Copy link
Contributor

Currently, the Go package for our payment gateway is missing support for handling incoming webhook requests and validating those requests. This is an essential feature for users who need to securely process events triggered by our payment gateway.

Expected Functionality:
Webhook Handling:

-   Implement a function to receive incoming HTTP POST requests containing the webhook payload.
-   Support parsing the payload and extracting necessary fields for further processing.

Request Validation:

-    Include methods for verifying the authenticity of the webhook requests, such as checking for a signature header or validating the payload against a secret key.
-    The validation should ensure that only legitimate requests are processed.

References:

@BigBr41n
Copy link
Contributor

as soon as possible , currently i'm refactoring the package to be more scalable and focusing on clarity and ease of use.
support for Webhooks and validation will be added soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants