Add an option to log incoming webhooks to watchdog

Created on 22 September 2023, almost 2 years ago
Updated 25 August 2024, about 1 year ago

For the sake of scalability, I don't think we should log the receipt of every incoming webhook by default. If someone wants to inspect webhooks, they can always go see them in their dashboard. However, it might be useful when testing / debugging certain scenarios to have the receipt / processing of a webhook be logged chronologically to watchdog along with other log entries.

Let's add a checkbox option to the Stripe settings form I proposed in ✨ Add the ability to turn off advanced fraud signals Fixed that reads, "Log the receipt of all Stripe webhooks." When we begin processing a webhook, we should log a notice to the watchdog reading, "Processing webhook.name webhook with ID webhook_id."

(If the menu / module settings form hasn't been made yet, make it in the context of resolving this ticket.)

✨ Feature request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States rszrama

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024