diff --git a/app/main.py b/app/main.py index 5801d8e..6e5ef7d 100644 --- a/app/main.py +++ b/app/main.py @@ -1262,6 +1262,9 @@ async def opencollective_webhook(request: Request, token: str): raise HTTPException(401, "Invalid webhook token") payload = await request.json() + # DEBUG (temporary): log the full payload once to learn the real shape of + # tier fields on order.processed. Remove after tier routing is verified. + logger.info("OC webhook payload: %s", json.dumps(payload)[:1500]) event_type = payload.get("type", "") data = payload.get("data", {})