Skip to content

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

@davidrhino

Description

@davidrhino

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions