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

Allow multiple events to be sent #20

Open
IanKemp opened this issue Feb 14, 2023 · 0 comments
Open

Allow multiple events to be sent #20

IanKemp opened this issue Feb 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@IanKemp
Copy link

IanKemp commented Feb 14, 2023

Is your feature request related to a problem? Please describe.
In our live instance, GoCardless sends us single webhooks containing multiple events. For performance-testing purposes we'd like to simulate this behaviour in our development environment using the GC sandbox, but there is no way to do this; we cannot precisely control the event payload that the simulator sends to us.

Essentially we'd like to take a webhook that we received in our live instance and play it against our dev environment, but this is of course impossible due to the fact that the webhooks are signed. We do not want to disable signature verification in our development environment as this would introduce the risk of this code making it to production.

Describe the solution you'd like
An ability to submit any arbitrary JSON payload to the GoCardless sandbox, and have it forward that JSON to a specific endpoint listening to webhooks, with the correct signature in the headers.

@IanKemp IanKemp added the enhancement New feature or request label Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant