https://payments.neemaopticians.co.ke/callback

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
"cf3b37"

Request Headers

Header Value
authorization
""
cache-control
"no-store"
content-length
"463"
content-type
"application/json;charset=UTF-8"
host
"payments.neemaopticians.co.ke"
x-php-ob-level
"1"

Request Content

Raw

{
            "TransactionType": "Customer Merchant Payment",
            "TransID": "TEA966KL9H",
            "TransTime": "20250510130726",
            "TransAmount": "100.00",
            "BusinessShortCode": "7608474",
            "BillRefNumber": "",
            "InvoiceNumber": "",
            "OrgAccountBalance": "5183.34",
            "ThirdPartyTransID": "",
            "MSISDN": "2547 ***** 491",
            "FirstName": "TERESIA"
        }
        

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Sat, 10 May 2025 10:07:28 GMT"
x-debug-token
"185a1e"

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
"463"
CONTENT_TYPE
"application/json;charset=UTF-8"
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_AUTHORIZATION
""
HTTP_CACHE_CONTROL
"no-store"
HTTP_HOST
"payments.neemaopticians.co.ke"
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_HTTP_AUTHORIZATION
""
REDIRECT_SCRIPT_URI
"https://payments.neemaopticians.co.ke/callback"
REDIRECT_SCRIPT_URL
"/callback"
REDIRECT_SSL_TLS_SNI
"payments.neemaopticians.co.ke"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/callback"
REMOTE_ADDR
"196.201.214.208"
REMOTE_PORT
"62420"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1746871648
REQUEST_TIME_FLOAT
1746871648.6044
REQUEST_URI
"/callback"
SCRIPT_FILENAME
"C:/wamp64/www/neema/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://payments.neemaopticians.co.ke/callback"
SCRIPT_URL
"/callback"
SERVER_ADDR
"161.97.145.29"
SERVER_ADMIN
"wampserver@wampserver.invalid"
SERVER_NAME
"payments.neemaopticians.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 payments.neemaopticians.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
"payments.neemaopticians.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"