feat: página de mensaje de prueba para simular webhook entrante
- GET /admin/test-message: formulario con empresa, número, nombre y texto - POST /admin/test-message/send: construye payload WhatsApp, firma HMAC y hace POST al webhook propio — pipeline completo sin tocar Meta Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
7b8a4c2056
commit
b083d49769
@@ -262,6 +262,8 @@ $routes = [
|
||||
|
||||
// ─── Procesar cola outbound (protegido o cron) ─────────────────────────
|
||||
['GET', '/admin/process-queue', fn() => DashboardController::processQueue()],
|
||||
['GET', '/admin/test-message', fn() => DashboardController::testMessage()],
|
||||
['POST', '/admin/test-message/send', fn() => DashboardController::testMessageSend()],
|
||||
|
||||
// ─── Admin: listar pendientes de aprobación ─────────────────────────────
|
||||
['GET', '/admin/pending-list', fn() => DashboardController::pendingList()],
|
||||
|
||||
Reference in New Issue
Block a user