MpesaController :: mpesaCallback
Request
GET Parameters
No GET parameters
POST Parameters
No POST parameters
Uploaded Files
No files were uploaded
Request Attributes
| Key | Value |
|---|---|
| _controller | "App\Controller\Mpesa\MpesaController::mpesaCallback" |
| _firewall_context | "security.firewall.map.context.main" |
| _route | "mpesaCallback" |
| _route_params | [] |
| _security_firewall_run | "_security_main" |
| _stopwatch_token | "2c1f5a" |
Request Headers
| Header | Value |
|---|---|
| accept-encoding | "gzip,deflate" |
| cache-control | "no-store" |
| content-length | "526" |
| content-type | "application/json" |
| host | "neema.ohau.co.ke" |
| soapaction | ""ConfirmC2BPayment"" |
| traceparent | "00-ad5af3f2f78693d454a658724dbb34a3-e14a9ed9a3cfe580-00" |
| tracestate | "265f7333-c11c5b27@dt=fw4;3;9ae7de1d;765482c;1;1;0;378;f155;2h01;3h9ae7de1d;4h0765482c;5h01;6had5af3f2f78693d454a658724dbb34a3;7he14a9ed9a3cfe580" |
| user-agent | "Apache-HttpClient/4.5.2 (Java/1.8.0_361)" |
| x-dynatrace | "FW4;-1055106265;3;-1696080355;124078124;-2147483647;643789619;888;f155;2h01;3h9ae7de1d;4h0765482c;5h01;6had5af3f2f78693d454a658724dbb34a3;7he14a9ed9a3cfe580" |
| x-envoy-attempt-count | "1" |
| x-envoy-expected-rq-timeout-ms | "300000" |
| x-forwarded-for | "10.184.20.30" |
| x-forwarded-proto | "https" |
| x-php-ob-level | "1" |
| x-request-id | "2049ae34-0bfa-46c7-898d-7ce3a1bc661b" |
Request Content
Pretty
{
"TransactionType": "Customer Merchant Payment",
"TransID": "TL65U09PVV",
"TransTime": "20251206092353",
"TransAmount": "300.00",
"BusinessShortCode": "7397542",
"BillRefNumber": "",
"InvoiceNumber": "",
"OrgAccountBalance": "298.35",
"ThirdPartyTransID": "",
"MSISDN": "254722219341",
"FirstName": "PAUL",
"MiddleName": "MACHARIA MURIGU",
"LastName": ""
}
Raw
{
"TransactionType": "Customer Merchant Payment",
"TransID": "TL65U09PVV",
"TransTime": "20251206092353",
"TransAmount": "300.00",
"BusinessShortCode": "7397542",
"BillRefNumber": "",
"InvoiceNumber": "",
"OrgAccountBalance": "298.35",
"ThirdPartyTransID": "",
"MSISDN": "254722219341",
"FirstName": "PAUL",
"MiddleName": "MACHARIA MURIGU",
"LastName": ""
}
Response
Response Headers
| Header | Value |
|---|---|
| cache-control | "no-cache, private" |
| content-type | "text/html; charset=UTF-8" |
| date | "Sat, 06 Dec 2025 06:23:56 GMT" |
| x-debug-token | "4ce55d" |
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:44
[
[
"file" => "C:\wamp64\www\neema\vendor\symfony\security-core\Authentication\Token\Storage\UsageTrackingTokenStorage.php"
"line" => 44
"function" => "getMetadataBag"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\security-http\Firewall\AccessListener.php"
"line" => 87
"function" => "getToken"
"class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\security-bundle\Debug\WrappedLazyListener.php"
"line" => 49
"function" => "authenticate"
"class" => "Symfony\Component\Security\Http\Firewall\AccessListener"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\security-http\Firewall\AbstractListener.php"
"line" => 26
"function" => "authenticate"
"class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\security-bundle\Security\LazyFirewallContext.php"
"line" => 60
"function" => "__invoke"
"class" => "Symfony\Component\Security\Http\Firewall\AbstractListener"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\security-bundle\Debug\TraceableFirewallListener.php"
"line" => 77
"function" => "__invoke"
"class" => "Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\security-http\Firewall.php"
"line" => 92
"function" => "callListeners"
"class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\event-dispatcher\Debug\WrappedListener.php"
"line" => 118
"function" => "onKernelRequest"
"class" => "Symfony\Component\Security\Http\Firewall"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\event-dispatcher\EventDispatcher.php"
"line" => 230
"function" => "__invoke"
"class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\event-dispatcher\EventDispatcher.php"
"line" => 59
"function" => "callListeners"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\event-dispatcher\Debug\TraceableEventDispatcher.php"
"line" => 154
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\http-kernel\HttpKernel.php"
"line" => 139
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\http-kernel\HttpKernel.php"
"line" => 75
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\http-kernel\Kernel.php"
"line" => 202
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\symfony\runtime\Runner\Symfony\HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\vendor\autoload_runtime.php"
"line" => 35
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "C:\wamp64\www\neema\public\index.php"
"line" => 5
"args" => [
"C:\wamp64\www\neema\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 | "1b4351be6eecbf621dec6255f165c78d" |
| DATABASE_URL | "sqlsrv://samuel:neema2022@161.97.145.29/NeemaLimited_dbase?port=1433" |
| MSSQL_CHARSET | "UTF8" |
| MSSQL_DATABASE | "NeemaLimited_dbase" |
| MSSQL_HOST | "localhost" |
| MSSQL_PASSWORD | "neema2022" |
| MSSQL_PORT | "1433" |
| MSSQL_USER | "samuel" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| COMSPEC | "C:\Windows\system32\cmd.exe" |
| CONTENT_LENGTH | "526" |
| CONTENT_TYPE | "application/json" |
| CONTEXT_DOCUMENT_ROOT | "C:/wamp64/www/neema/public" |
| CONTEXT_PREFIX | "" |
| DOCUMENT_ROOT | "C:/wamp64/www/neema/public" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| HTTPS | "on" |
| HTTP_ACCEPT_ENCODING | "gzip,deflate" |
| HTTP_CACHE_CONTROL | "no-store" |
| HTTP_HOST | "neema.ohau.co.ke" |
| HTTP_SOAPACTION | ""ConfirmC2BPayment"" |
| HTTP_TRACEPARENT | "00-ad5af3f2f78693d454a658724dbb34a3-e14a9ed9a3cfe580-00" |
| HTTP_TRACESTATE | "265f7333-c11c5b27@dt=fw4;3;9ae7de1d;765482c;1;1;0;378;f155;2h01;3h9ae7de1d;4h0765482c;5h01;6had5af3f2f78693d454a658724dbb34a3;7he14a9ed9a3cfe580" |
| HTTP_USER_AGENT | "Apache-HttpClient/4.5.2 (Java/1.8.0_361)" |
| HTTP_X_DYNATRACE | "FW4;-1055106265;3;-1696080355;124078124;-2147483647;643789619;888;f155;2h01;3h9ae7de1d;4h0765482c;5h01;6had5af3f2f78693d454a658724dbb34a3;7he14a9ed9a3cfe580" |
| HTTP_X_ENVOY_ATTEMPT_COUNT | "1" |
| HTTP_X_ENVOY_EXPECTED_RQ_TIMEOUT_MS | "300000" |
| HTTP_X_FORWARDED_FOR | "10.184.20.30" |
| HTTP_X_FORWARDED_PROTO | "https" |
| HTTP_X_REQUEST_ID | "2049ae34-0bfa-46c7-898d-7ce3a1bc661b" |
| PATH | "C:\Python312\Scripts\;C:\Python312\;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn\;C:\Program Files\Azure Data Studio\bin;C:\Program Files\Certbot\bin;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\bin;C:\Program Files\WireGuard\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps" |
| PATHEXT | ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW" |
| PHP_SELF | "/index.php" |
| QUERY_STRING | "" |
| REDIRECT_HTTPS | "on" |
| REDIRECT_SSL_TLS_SNI | "neema.ohau.co.ke" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/callback" |
| REMOTE_ADDR | "196.201.214.207" |
| REMOTE_PORT | "57335" |
| REQUEST_METHOD | "POST" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1765002235 |
| REQUEST_TIME_FLOAT | 1765002235.9284 |
| REQUEST_URI | "/callback" |
| SCRIPT_FILENAME | "C:/wamp64/www/neema/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SERVER_ADDR | "161.97.145.29" |
| SERVER_ADMIN | "wampserver@wampserver.invalid" |
| SERVER_NAME | "neema.ohau.co.ke" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "<address>Apache/2.4.54 (Win64) OpenSSL/1.1.1s PHP/8.1.13 mod_fcgid/2.3.10-dev Server at neema.ohau.co.ke Port 443</address>\n" |
| SERVER_SOFTWARE | "Apache/2.4.54 (Win64) OpenSSL/1.1.1s PHP/8.1.13 mod_fcgid/2.3.10-dev" |
| SSL_TLS_SNI | "neema.ohau.co.ke" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,MSSQL_HOST,MSSQL_PORT,MSSQL_DATABASE,MSSQL_USER,MSSQL_PASSWORD,MSSQL_CHARSET,DATABASE_URL" |
| SystemRoot | "C:\Windows" |
| WINDIR | "C:\Windows" |