craftcms / commerce-stripe

Stripe payment gateway for Craft Commerce
https://plugins.craftcms.com/commerce-stripe
MIT License
31 stars 48 forks source link

Log Webhook signature check failed as error #314

Open mdresoled opened 1 hour ago

mdresoled commented 1 hour ago

Description

If a webhook fails, I believe it should be classed as an error and logged as such.

Steps to reproduce

  1. Trigger a webhook

If the webhook signature fails, it returns OK, and is logged as a warning.

2024-11-15 22:15:34 [web.WARNING] [stripe] Webhook signature check failed: No signatures found matching the expected signature for payload {"memory":2096256} 

Additional info

linear[bot] commented 1 hour ago

PT-2314 Log Webhook signature check failed as error