Webhooks

Git Web Manager

Trigger deploy and commerce events from GitHub and Stripe.

GitHub Endpoint

Set your GitHub webhook to:

POST /webhooks/github

Stripe Endpoint (Enterprise)

Enterprise checkout and subscription events should be sent to:

POST /webhooks/stripe

Example local test: stripe listen --forward-to https://your-panel.example.com/webhooks/stripe.

Webhook Secrets

  • GitHub uses GITHUB_WEBHOOK_SECRET from your main app .env.
  • Stripe uses the Enterprise commerce runtime secret (stored encrypted in settings; optional env fallback from the enterprise package).

Processing Behavior

  • GitHub webhook deploy tasks are queued and processed by deployments:process-queue.
  • Stripe webhook events update payment state and trigger a license re-verification.

Queue Worker

GitHub webhook deploy jobs run in the queue. Ensure a worker is online:

php artisan queue:work

Git Web Manager is built on Laravel, so queue commands use artisan. If you run GWM under a custom PHP binary, prefix the command with your PHP path.

Middleware Notes

Both webhook paths are CSRF-exempt and protected by request throttling (60 requests per minute).