Troubleshooting & Performance

Troubleshooting Webhooks, Emails, Cron Jobs, Vite Builds, and Helpdesk Inbound Replies

Published 2026-12-04 03:20:21

Payment & Inventory Webhook Troubleshooting

  • 401 / 403 Errors: Confirm your webhook secret matches the active mode (STRIPE_SANDBOX_WEBHOOK_SECRET vs. STRIPE_WEBHOOK_SECRET, PADDLE_SANDBOX_WEBHOOK_SECRET vs. PADDLE_WEBHOOK_SECRET, PAYPAL_SANDBOX_WEBHOOK_ID vs. PAYPAL_WEBHOOK_ID, or INVENTORY_WEBHOOK_SECRET).
  • CSRF Exemption: All /webhooks/* endpoints are CSRF-exempt by default; check storage/logs/laravel.log for exact signature or payload errors.

Helpdesk Inbound Email Replies Returning 403

POST /webhooks/inbound-email supports Mailgun, Postmark, and Cloudflare Email Routing (RFC822 MIME) and requires the X-Webhook-Secret header to match INBOUND_WEBHOOK_SECRET in .env. Ensure SUPPORT_REPLY_DOMAIN is configured and your DNS/routing forwards reply+*@yourdomain.com to the webhook.

Emails & Scheduled Abandoned Cart Reminders

  • Verify MAIL_MAILER, MAIL_HOST, MAIL_PORT, and sender settings in .env and inspect per-template From/BCC settings at /admin/email-templates.
  • Add Laravel's scheduler to your server crontab so hourly abandoned cart reminders (shop:send-abandoned-cart-reminders) run reliably:
    * * * * * cd /var/www/your-site && php artisan schedule:run >> /dev/null 2>&1

Frontend npm / Vite Build Warnings

Site Store Pro pins Vite to patched ^7.3.8 (compatible with laravel-vite-plugin@^2.0.0) and pre-approves esbuild via allowScripts in package.json. If npm 11/12+ warns about unapproved install scripts or Vite fails to start after upgrading Node, run:

npm approve-scripts esbuild
npm rebuild esbuild
npm run build

Also confirm public/build/manifest.json exists on your production server and run php artisan optimize:clear after deploying updated assets.

Was this article helpful?

Let us know how we can improve our documentation.