title | issue |
---|---|
Fix AppDeletedEvent Webhook signature |
NEXT-16175 |
- Added
$secret
property to\Shopware\Core\Framework\Webhook\Message\WebhookEventMessage
- Changed
\Shopware\Core\Framework\Webhook\WebhookDispatcher
to pass the app secret to theWebhookEventMessage
, 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 theWebhookEventMessage
, instead of re-fetching it from the DB, to sign webhooks.