https://sys.nenocourier.co.ke/payment/callback/express/1117119

MpesaPaymentController :: receiveMpesaExpressCallback

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Payment\MpesaPaymentController::receiveMpesaExpressCallback"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"receive_mpesa_express_callback"
_route_params
[
  "waybill_id" => "1117119"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"5f3060"
media_type
"text/html"
paramFetcher
FOS\RestBundle\Request\ParamFetcher {#395
  -container: ContainerIzAQ1Pp\App_KernelDevDebugContainer {#40 …}
  -parameterBag: FOS\RestBundle\Request\ParameterBag {#391 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#289 …}
  -validator: Symfony\Component\Validator\Validator\TraceableValidator {#376 …}
}
waybill_id
"1117119"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, deflate"
cookie
"PHPSESSID=uojnbonr5gfa2hn58fal9glcje"
from
"gptbot(at)openai.com"
host
"sys.nenocourier.co.ke"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)"
x-openai-host-hash
"363416806"
x-php-ob-level
"1"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Wed, 02 Jul 2025 02:33:20 GMT"
vary
"Accept"
x-debug-exception
"Context%3A%20Using%20short%20namespace%20alias%20%22App%3AWayBill%22%20when%20calling%20Doctrine%5CORM%5CEntityManager%3A%3AgetRepository%0AProblem%3A%20Feature%20was%20deprecated%20in%20doctrine%2Fpersistence%202.x%20and%20is%20not%20supported%20by%20installed%20doctrine%2Fpersistence%3A3.x%0ASolution%3A%20See%20the%20doctrine%2Fdeprecations%20logs%20for%20new%20alternative%20approaches."
x-debug-exception-file
"%2Fvar%2Fwww%2Fhtml%2Fcourier%2Fvendor%2Fdoctrine%2Form%2Fsrc%2FException%2FNotSupported.php:31"
x-debug-token
"a3fbfb"
x-debug-token-link
"https://sys.nenocourier.co.ke/_profiler/451779"
x-previous-debug-token
"451779"
x-robots-tag
"noindex"

Cookies

Request Cookies

Key Value
PHPSESSID
"uojnbonr5gfa2hn58fal9glcje"

Response Cookies

No response cookies

Session 1

Session Metadata

Key Value
Created
"Wed, 02 Jul 25 05:28:10 +0300"
Last used
"Wed, 02 Jul 25 05:33:19 +0300"
Lifetime
0

Session Attributes

Attribute Value
_csrf/https-authenticate
"NUcwh2i7q-rEQLizwtlrwwYU3-1Czs9FJsJmSxdJTM0"
_security.main.target_path
"https://sys.nenocourier.co.ke/fos/receipt/g03/1126247"

Session Usage

1 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Http\Firewall\ContextListener:195
[
  [
    "file" => "/var/www/html/courier/vendor/symfony/security-http/Firewall/ContextListener.php"
    "line" => 195
    "function" => "remove"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/courier/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 118
    "function" => "onKernelResponse"
    "class" => "Symfony\Component\Security\Http\Firewall\ContextListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/courier/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 230
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/courier/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 59
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/courier/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 154
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/courier/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 196
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/courier/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 249
    "function" => "filterResponse"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/courier/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 86
    "function" => "handleThrowable"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/courier/vendor/symfony/http-kernel/Kernel.php"
    "line" => 202
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/courier/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/courier/vendor/autoload_runtime.php"
    "line" => 35
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/courier/public/index.php"
    "line" => 5
    "args" => [
      "/var/www/html/courier/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"bd88013a2f16de1b609593eeee247d2d"
CORS_ALLOW_ORIGIN
"*"
DATABASE_URL
"mysql://root:!Mirage2023@127.0.0.1:3306/courier?serverVersion=8&charset=utf8mb4"
JWT_PASSPHRASE
"mirage"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
MESSENGER_TRANSPORT_DSN
"doctrine://default"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/www/html/courier/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/html/courier/public"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, deflate"
HTTP_COOKIE
"PHPSESSID=uojnbonr5gfa2hn58fal9glcje"
HTTP_FROM
"gptbot(at)openai.com"
HTTP_HOST
"sys.nenocourier.co.ke"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)"
HTTP_X_OPENAI_HOST_HASH
"363416806"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REMOTE_ADDR
"20.171.207.1"
REMOTE_PORT
"33810"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1751423600
REQUEST_TIME_FLOAT
1751423600.3599
REQUEST_URI
"/payment/callback/express/1117119"
SCRIPT_FILENAME
"/var/www/html/courier/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://sys.nenocourier.co.ke/payment/callback/express/1117119"
SCRIPT_URL
"/payment/callback/express/1117119"
SERVER_ADDR
"144.126.155.156"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"sys.nenocourier.co.ke"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.58 (Ubuntu) Server at sys.nenocourier.co.ke Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.58 (Ubuntu)"
SSL_TLS_SNI
"sys.nenocourier.co.ke"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,MESSENGER_TRANSPORT_DSN,DATABASE_URL,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,CORS_ALLOW_ORIGIN"

Sub Requests 1

ErrorController (token = 451779)

Key Value
_controller
"error_controller"
_stopwatch_token
"0205db"
exception
Doctrine\ORM\Exception\NotSupported {#872
  #message: """
    Context: Using short namespace alias "App:WayBill" when calling Doctrine\ORM\EntityManager::getRepository\n
    Problem: Feature was deprecated in doctrine/persistence 2.x and is not supported by installed doctrine/persistence:3.x\n
    Solution: See the doctrine/deprecations logs for new alternative approaches.
    """
  #code: 0
  #file: "/var/www/html/courier/vendor/doctrine/orm/src/Exception/NotSupported.php"
  #line: 31
  trace: {
    /var/www/html/courier/vendor/doctrine/orm/src/Exception/NotSupported.php:31 {
      Doctrine\ORM\Exception\NotSupported::createForPersistence3(string $context): self …
      › {    return new self(sprintf(        <<<'EXCEPTION'
    }
    /var/www/html/courier/vendor/doctrine/orm/src/EntityManager.php:831 {
      Doctrine\ORM\EntityManager->getRepository($entityName) …
      › } else {    throw NotSupported::createForPersistence3(sprintf(        'Using short namespace alias "%s" when calling %s',
    }
    /var/www/html/courier/src/Payment/MpesaPaymentController.php:274 {
      App\Payment\MpesaPaymentController->receiveMpesaExpressCallback(Request $request, $waybill_id) …
      › /** @var WayBill $waybill */$waybill = $em->getRepository("App:WayBill")->findOneBy([    'id' => $waybill_id
    }
    /var/www/html/courier/vendor/symfony/http-kernel/HttpKernel.php:163 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /var/www/html/courier/vendor/symfony/http-kernel/HttpKernel.php:75 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
    }
    /var/www/html/courier/vendor/symfony/http-kernel/Kernel.php:202 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /var/www/html/courier/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
    }
    /var/www/html/courier/vendor/autoload_runtime.php:35 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/html/courier/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/html/courier/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#188 …9}
paramFetcher
FOS\RestBundle\Request\ParamFetcher {#395
  -container: ContainerIzAQ1Pp\App_KernelDevDebugContainer {#40 …}
  -parameterBag: FOS\RestBundle\Request\ParameterBag {#391 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#289 …}
  -validator: Symfony\Component\Validator\Validator\TraceableValidator {#376 …}
}