Dev Notes
Short troubleshooting checklists for developers: webhooks, payments, integrations and Laravel Livewire UI.
- Lemon Squeezy Webhook "Invalid Signature"? A Fix Checklist for Next.js and Express
A checklist for fixing Lemon Squeezy webhook "invalid signature" errors in Next.js (App and Pages Router) and Express: raw body, secret, HMAC and retries.
- Livewire Invoice Line Items: Add and Remove Rows With Live Totals (and Why the Wrong Row Gets Deleted)
A checklist for a Livewire invoice line-item editor: one array of rows, stable wire:key values, live totals, tax-inclusive vs exclusive math in integer cents, and server-side validation.
- n8n Webhook Runs Twice? How to Stop Duplicate Shopify Orders, Emails and Refunds
Why an n8n webhook runs twice and how to stop duplicate Shopify orders, emails and refunds: fast responses, dedupe keys, an atomic claim table and idempotency keys.
- n8n AI Agent Token Usage: How to Get Prompt and Completion Tokens (and Cost) per Execution
Why the n8n AI Agent node does not output token usage, and two ways to log prompt tokens, completion tokens and cost per execution: HTTP Request, or reading the execution afterwards.
- Livewire Search or Filter Not Updating the Table? wire:model.live, Debounce, Pagination and wire:key
Why a Livewire 3 or 4 search box or status filter does not update the list: deferred wire:model, filtering in mount, pagination not reset, missing wire:key.
- n8n "access to env vars denied"? Fix $env on Self-Hosted n8n 2.x, and What to Use on n8n Cloud
Why n8n says "access to env vars denied": N8N_BLOCK_ENV_ACCESS_IN_NODE on self-hosted n8n 2.x, what turning it off exposes, and Config node, $vars and credentials on n8n Cloud.
- Lemon Squeezy Webhook Arrives but No User Is Linked? A custom_data Checklist
Why a Lemon Squeezy webhook reaches your app but no user gets linked: 404, 419 and redirects, missing meta.custom_data, share links vs API checkouts, string vs number ids, and a safe fallback by verified email.
- Laravel Cashier invoices() Empty or Missing Invoices? A Checklist for Livewire Billing Pages
Why Laravel Cashier invoices() returns nothing or skips unpaid invoices, why Cashier Invoice objects break Livewire properties, and how to map amounts, statuses and downloads for a billing page.