WhatsappController :: gestion_whatsapp_webhook
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
Key | Value |
---|---|
_controller | "App\Controller\WhatsappController::gestion_whatsapp_webhook" |
_firewall_context | "security.firewall.map.context.main" |
_locale | 1 |
_route | "gestion_whatsapp_webhook" |
_route_params | [ "_locale" => 1 "idEmpresa" => "1" ] |
_security_firewall_run | "_security_main" |
_stopwatch_token | "aa372f" |
idEmpresa | "1" |
Request Headers
Header | Value |
---|---|
accept | "application/json, text/plain, */*" |
accept-encoding | "gzip, compress, deflate, br" |
connection | "close" |
content-length | "565" |
content-type | "application/json" |
host | "central-test.lansimplex.es" |
user-agent | "axios/1.10.0" |
x-accel-internal | "/internal-nginx-static-location" |
x-php-ob-level | "1" |
x-real-ip | "65.21.236.249" |
Request Content
Pretty
{ "event_type": "message_create", "instanceId": "65468", "id": 2845, "referenceId": "SDK", "hash": "1f2b1619e0cfbf3db0e021553d320509", "data": { "id": "true_34639211665@c.us_3EB01E6CB44622743DE346", "from": "34621074330@c.us", "to": "34639211665@c.us", "author": "", "pushname": "", "ack": "", "type": "chat", "body": "Para finalizar la compra deber\u00e1 hacer click en este enlace y seguir las instrucciones de pago: https:\/\/www.dev.webpremium.eu\/cart\/UzKxMDKzVAIA", "media": "", "fromMe": true, "self": true, "isForwarded": false, "isMentioned": false, "quotedMsg": {}, "mentionedIds": [], "time": 1751389399 } }
Raw
{"event_type":"message_create","instanceId":"65468","id":2845,"referenceId":"SDK","hash":"1f2b1619e0cfbf3db0e021553d320509","data":{"id":"true_34639211665@c.us_3EB01E6CB44622743DE346","from":"34621074330@c.us","to":"34639211665@c.us","author":"","pushname":"","ack":"","type":"chat","body":"Para finalizar la compra deberá hacer click en este enlace y seguir las instrucciones de pago: https://www.dev.webpremium.eu/cart/UzKxMDKzVAIA","media":"","fromMe":true,"self":true,"isForwarded":false,"isMentioned":false,"quotedMsg":{},"mentionedIds":[],"time":1751389399}}
Response
Response Headers
Header | Value |
---|---|
cache-control | "private, must-revalidate" |
content-type | "application/json" |
date | "Tue, 01 Jul 2025 17:03:13 GMT" |
expires | "-1" |
pragma | "no-cache" |
x-debug-token | "63f7d1" |
Cookies
Request Cookies
No request cookies
Response Cookies
No response cookies
Session 1
Session Metadata
No session metadata
Session Attributes
No session attributes
Session Usage
1
Usages
Stateless check enabled
Usage |
---|
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:41
[ [ "file" => "/var/www/vhosts/central-test.lansimplex.es/httpdocs/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php" "line" => 41 "function" => "getMetadataBag" "class" => "Symfony\Component\HttpFoundation\Session\Session" "type" => "->" ] [ "file" => "/var/www/vhosts/central-test.lansimplex.es/httpdocs/src/EventListener/TextosLegalesListener.php" "line" => 41 "function" => "getToken" "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage" "type" => "->" ] [ "file" => "/var/www/vhosts/central-test.lansimplex.es/httpdocs/vendor/symfony/event-dispatcher/Debug/WrappedListener.php" "line" => 116 "function" => "onKernelController" "class" => "App\EventListener\TextosLegalesListener" "type" => "->" ] [ "file" => "/var/www/vhosts/central-test.lansimplex.es/httpdocs/vendor/symfony/event-dispatcher/EventDispatcher.php" "line" => 220 "function" => "__invoke" "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener" "type" => "->" ] [ "file" => "/var/www/vhosts/central-test.lansimplex.es/httpdocs/vendor/symfony/event-dispatcher/EventDispatcher.php" "line" => 56 "function" => "callListeners" "class" => "Symfony\Component\EventDispatcher\EventDispatcher" "type" => "->" ] [ "file" => "/var/www/vhosts/central-test.lansimplex.es/httpdocs/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php" "line" => 139 "function" => "dispatch" "class" => "Symfony\Component\EventDispatcher\EventDispatcher" "type" => "->" ] [ "file" => "/var/www/vhosts/central-test.lansimplex.es/httpdocs/vendor/symfony/http-kernel/HttpKernel.php" "line" => 169 "function" => "dispatch" "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher" "type" => "->" ] [ "file" => "/var/www/vhosts/central-test.lansimplex.es/httpdocs/vendor/symfony/http-kernel/HttpKernel.php" "line" => 76 "function" => "handleRaw" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/var/www/vhosts/central-test.lansimplex.es/httpdocs/vendor/symfony/http-kernel/Kernel.php" "line" => 197 "function" => "handle" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/var/www/vhosts/central-test.lansimplex.es/httpdocs/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php" "line" => 35 "function" => "handle" "class" => "Symfony\Component\HttpKernel\Kernel" "type" => "->" ] [ "file" => "/var/www/vhosts/central-test.lansimplex.es/httpdocs/vendor/autoload_runtime.php" "line" => 29 "function" => "run" "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner" "type" => "->" ] [ "file" => "/var/www/vhosts/central-test.lansimplex.es/httpdocs/public/index.php" "line" => 5 "args" => [ "/var/www/vhosts/central-test.lansimplex.es/httpdocs/vendor/autoload_runtime.php" ] "function" => "require_once" ] ] |
Flashes
Flashes
No flash messages were created.
Server Parameters
Server Parameters
Defined in .env
Key | Value |
---|---|
APIGADMIN_ENABLED | "true" |
APIGADMIN_KEY | "86a7575752fa59c8108231ed30f22fec" |
APIGADMIN_SORTEO_ACTIVO | "2023102" |
APIGADMIN_URLBASE | "https://www.lamagica.es" |
APISMS_ID | "2036" |
APISMS_PASS | "yXN8xbDa3yt3heu" |
APISMS_ROUTE | "5" |
APISMS_URLBASE | "https://ws1.premiumnumbers.es/sms/push" |
APIWHATSAPP_INSTANCE | "instance64209" |
APIWHATSAPP_TOKEN | "ah2py62ysifzoz4q" |
APP_ENV | "dev" |
APP_SECRET | "1a8b4f9e437e2a386c155041d6f0be30" |
CONFIG_MODO_INICIO | "1" |
CONFIG_NOMBRE | "Administración de prueba Lansimplex" |
CONFIG_OCULTA_BBDD | "1" |
DATABASE_URL | "mysql://ctestapi:Jhg8y7&41@localhost:3306/ctestapi" |
MAILER_DSN | "smtp://envios@lansoft.es:Q%2367z3lc2ZZZ@mail.lansoft.es:587" |
MAILER_SENDER | "info@lansimplex.com" |
MESSENGER_TRANSPORT_DSN | "doctrine://default?auto_setup=0" |
MODO_DEV | "1" |
PHP_CLI_BINARY | "/opt/plesk/php/8.2/bin/php" |
Defined as regular env variables
Key | Value |
---|---|
APP_DEBUG | "1" |
CONTENT_LENGTH | "565" |
CONTENT_TYPE | "application/json" |
CONTEXT_DOCUMENT_ROOT | "/var/www/vhosts/central-test.lansimplex.es/httpdocs/public" |
CONTEXT_PREFIX | "" |
DOCUMENT_ROOT | "/var/www/vhosts/central-test.lansimplex.es/httpdocs/public" |
FCGI_ROLE | "RESPONDER" |
GATEWAY_INTERFACE | "CGI/1.1" |
HOME | "/var/www/vhosts/central-test.lansimplex.es" |
HTTPS | "on" |
HTTP_ACCEPT | "application/json, text/plain, */*" |
HTTP_ACCEPT_ENCODING | "gzip, compress, deflate, br" |
HTTP_CONNECTION | "close" |
HTTP_HOST | "central-test.lansimplex.es" |
HTTP_USER_AGENT | "axios/1.10.0" |
HTTP_X_ACCEL_INTERNAL | "/internal-nginx-static-location" |
HTTP_X_REAL_IP | "65.21.236.249" |
PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY | "0" |
PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY | "0" |
PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" |
PERL5LIB | "/usr/share/awstats/lib:/usr/share/awstats/plugins" |
PHP_SELF | "/index.php" |
QS_AllConn | "1" |
QS_ConnectionId | "17513893929037753228571" |
QS_SrvConn | "1" |
QUERY_STRING | "" |
REDIRECT_HTTPS | "on" |
REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY | "0" |
REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY | "0" |
REDIRECT_PERL5LIB | "/usr/share/awstats/lib:/usr/share/awstats/plugins" |
REDIRECT_QS_AllConn | "1" |
REDIRECT_QS_ConnectionId | "17513893929037753228571" |
REDIRECT_QS_SrvConn | "1" |
REDIRECT_STATUS | "200" |
REDIRECT_UNIQUE_ID | "aGQU0AKK5LbeRE3T6VKaBwAAAIQ" |
REDIRECT_URL | "/gestion/whatsapp/webhook/1" |
REMOTE_ADDR | "65.21.236.249" |
REMOTE_PORT | "52484" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1751389392 |
REQUEST_TIME_FLOAT | 1751389392.9082 |
REQUEST_URI | "/gestion/whatsapp/webhook/1" |
SCRIPT_FILENAME | "/var/www/vhosts/central-test.lansimplex.es/httpdocs/public/index.php" |
SCRIPT_NAME | "/index.php" |
SERVER_ADDR | "89.248.107.148" |
SERVER_ADMIN | "root@localhost" |
SERVER_NAME | "central-test.lansimplex.es" |
SERVER_PORT | "443" |
SERVER_PROTOCOL | "HTTP/1.0" |
SERVER_SIGNATURE | "" |
SERVER_SOFTWARE | "Apache" |
SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN,MAILER_SENDER,APIGADMIN_URLBASE,APIGADMIN_KEY,APIGADMIN_SORTEO_ACTIVO,APIGADMIN_ENABLED,APISMS_URLBASE,APISMS_ID,APISMS_PASS,APISMS_ROUTE,APIWHATSAPP_TOKEN,APIWHATSAPP_INSTANCE,CONFIG_MODO_INICIO,CONFIG_OCULTA_BBDD,CONFIG_NOMBRE,MODO_DEV,PHP_CLI_BINARY" |
UNIQUE_ID | "aGQU0AKK5LbeRE3T6VKaBwAAAIQ" |
USER | "central-test.lansimp_rw6cfme3uv9" |
proxy-nokeepalive | "1" |