From 78ddcddba5c0ca7d447539318d74e45a8736ee65 Mon Sep 17 00:00:00 2001 From: warringtond Date: Tue, 24 Mar 2026 16:22:13 -0400 Subject: [PATCH] production logging --- functions/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/functions/index.js b/functions/index.js index 0b23b0d..ba7496f 100644 --- a/functions/index.js +++ b/functions/index.js @@ -50,6 +50,9 @@ exports.shopdmPayWebhook = onRequest( if (!isValid) { console.error("Invalid webhook signature"); + console.error("Received signature:", signature); + console.error("Payload keys:", Object.keys(payload).sort().join(", ")); + console.error("Secrets tried:", secrets.length); res.status(401).send("Unauthorized"); return; }