Payment & Inventory Webhook Troubleshooting
- 401 / 403 Errors: Confirm your webhook secret matches the active mode (
STRIPE_SANDBOX_WEBHOOK_SECRETvs.STRIPE_WEBHOOK_SECRET,PADDLE_SANDBOX_WEBHOOK_SECRETvs.PADDLE_WEBHOOK_SECRET,PAYPAL_SANDBOX_WEBHOOK_IDvs.PAYPAL_WEBHOOK_ID, orINVENTORY_WEBHOOK_SECRET). - CSRF Exemption: All
/webhooks/*endpoints are CSRF-exempt by default; checkstorage/logs/laravel.logfor 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.envand 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.