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

Channel Management Webhook Subscribing to All Channel Events including Cart events #477

Open
davidrhino opened this issue Oct 17, 2024 · 1 comment

Comments

@davidrhino
Copy link

Expected behavior

The Channel Management Webhook should only subscribe to store/channel/updated and store/channel/created

Actual behavior

It's subscribing to all Events on the channel including cart events.

Steps to reproduce behavior

  1. Enable Product Webhooks
  2. Go To Debug and See store/channel/* in the webhooks.
  3. Have a large store with lots of traffic and hope product sync doesn't get stuck back in the queue because of all the webhooks.

Screenshot/Video (if applicable)

phpstorm64_GgxvISS5L6

Workaround or possible solution

Make it so that it only subscribes to the webhooks that it needs. Creates a way or an end user to DDoS the server unexpectedly by just changing their cart items. This is reproducible on the latest versions. Thanks!

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

No branches or pull requests

4 participants
@davidrhino @bc-erich and others