Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Latest commit

 

History

History
8 lines (8 loc) · 583 Bytes

2021-07-14-fix-app-deleted-webhook-signature.md

File metadata and controls

8 lines (8 loc) · 583 Bytes
title issue
Fix AppDeletedEvent Webhook signature
NEXT-16175

Core

  • Added $secret property to \Shopware\Core\Framework\Webhook\Message\WebhookEventMessage
  • Changed \Shopware\Core\Framework\Webhook\WebhookDispatcher to pass the app secret to the WebhookEventMessage, thus preventing that the webhook can not be signed, when an app is deleted before the webhook is dispatched.
  • Changed \Shopware\Core\Framework\Webhook\Handler\WebhookEventMessageHandler to use the secret from the WebhookEventMessage, instead of re-fetching it from the DB, to sign webhooks.