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 | "6000d6" |
Request Headers
| Header | Value |
|---|---|
| accept-encoding | "gzip,deflate" |
| cache-control | "no-store" |
| content-length | "522" |
| content-type | "application/json" |
| host | "neema.ohau.co.ke" |
| soapaction | ""ConfirmC2BPayment"" |
| traceparent | "00-8b05fd8fc1966e963a93f461eb44eed8-3a98de89e0d3f38d-01" |
| tracestate | "265f7333-c11c5b27@dt=fw4;4;12626c8d;764100f;1;0;2;3aa;4314;2h01;3h12626c8d;4h0764100f;5h01;6h8b05fd8fc1966e963a93f461eb44eed8;7h3a98de89e0d3f38d" |
| user-agent | "Apache-HttpClient/4.5.2 (Java/1.8.0_361)" |
| x-dynatrace | "FW4;-1055106265;4;308440205;123998223;268435457;643789619;938;4314;2h01;3h12626c8d;4h0764100f;5h01;6h8b05fd8fc1966e963a93f461eb44eed8;7h3a98de89e0d3f38d" |
| 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 | "8023f054-ad2c-476b-b6b0-fe70dfbeaf2b" |
Request Content
Pretty
{
"TransactionType": "Customer Merchant Payment",
"TransID": "TL6NZ05QMO",
"TransTime": "20251206083519",
"TransAmount": "500.00",
"BusinessShortCode": "7256343",
"BillRefNumber": "",
"InvoiceNumber": "",
"OrgAccountBalance": "497.25",
"ThirdPartyTransID": "",
"MSISDN": "254799463992",
"FirstName": "Jane",
"MiddleName": "Wambui",
"LastName": "Mburu"
}
Raw
{
"TransactionType": "Customer Merchant Payment",
"TransID": "TL6NZ05QMO",
"TransTime": "20251206083519",
"TransAmount": "500.00",
"BusinessShortCode": "7256343",
"BillRefNumber": "",
"InvoiceNumber": "",
"OrgAccountBalance": "497.25",
"ThirdPartyTransID": "",
"MSISDN": "254799463992",
"FirstName": "Jane",
"MiddleName": "Wambui",
"LastName": "Mburu"
}
Response
Response Headers
| Header | Value |
|---|---|
| cache-control | "no-cache, private" |
| content-type | "text/html; charset=UTF-8" |
| date | "Sat, 06 Dec 2025 05:35:22 GMT" |
| x-debug-token | "101167" |
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 | "522" |
| 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-8b05fd8fc1966e963a93f461eb44eed8-3a98de89e0d3f38d-01" |
| HTTP_TRACESTATE | "265f7333-c11c5b27@dt=fw4;4;12626c8d;764100f;1;0;2;3aa;4314;2h01;3h12626c8d;4h0764100f;5h01;6h8b05fd8fc1966e963a93f461eb44eed8;7h3a98de89e0d3f38d" |
| HTTP_USER_AGENT | "Apache-HttpClient/4.5.2 (Java/1.8.0_361)" |
| HTTP_X_DYNATRACE | "FW4;-1055106265;4;308440205;123998223;268435457;643789619;938;4314;2h01;3h12626c8d;4h0764100f;5h01;6h8b05fd8fc1966e963a93f461eb44eed8;7h3a98de89e0d3f38d" |
| 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 | "8023f054-ad2c-476b-b6b0-fe70dfbeaf2b" |
| 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.200" |
| REMOTE_PORT | "47666" |
| REQUEST_METHOD | "POST" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1764999322 |
| REQUEST_TIME_FLOAT | 1764999322.534 |
| 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" |