LiveLead capture
POST /api/agile-studio-lead.php
Sanitize XSS + email validation + plan whitelist + insert crm.leads + email notif via Postfix
LiveStripe webhook
POST /api/stripe-webhook-leads.php
HMAC SHA256 verification + UPDATE status (new -> converted/churned) + log /var/log/stripe-webhook.log
LiveStats CRM
GET /api/crm-leads-stats.php
JSON total + by_plan + by_status + by_source + last_24h + recent_leads + MRR/ARR estimees
LiveHF Trending
GET /wiki/oss-trending-weekly.json
Top 50 modeles HuggingFace trending refresh hebdo dimanche 03h UTC via cron
5 minStripe Payment Links
Stripe Dashboard → Payment Links → Create
1. Pilot 4500 EUR/mo recurring
2. Enterprise 18500 EUR/mo recurring
Copier les URLs vers landing CTA
5 minStripe Webhook
Stripe Dashboard → Webhooks → Add endpoint
URL: https://weval-consulting.com/api/stripe-webhook-leads.php
Events: checkout.session.completed, payment_intent.succeeded, customer.subscription.deleted
Copier signing secret
2 minAdd secret to env
/etc/weval/secrets.env
Add line:
STRIPE_WEBHOOK_SECRET=whsec_...
Reload PHP-FPM