[08-Dec-2025 13:27:41 UTC] M-Pesa STK Push Error - HTTP 500: Array
(
    [Envelope] => Array
        (
            [encodingStyle] => http://schemas.xmlsoap.org/soap/encoding/
            [Body] => Array
                (
                    [Fault] => Array
                        (
                            [faultcode] => soap:Server
                            [faultstring] => Evaluation of XSL ClearEmptyNodes.xsl failed with reason: "Unknown entity at line 4(possibly  around char 1082)"
                            [faultactor] => Array
                                (
                                )

                            [detail] => Array
                                (
                                    [source] => Array
                                        (
                                            [errorcode] => steps.xsl.XSLEvaluationFailed
                                        )

                                )

                        )

                )

        )

)

[08-Dec-2025 13:27:56 UTC] M-Pesa STK Push Error - HTTP 500: Array
(
    [Envelope] => Array
        (
            [encodingStyle] => http://schemas.xmlsoap.org/soap/encoding/
            [Body] => Array
                (
                    [Fault] => Array
                        (
                            [faultcode] => soap:Server
                            [faultstring] => Evaluation of XSL ClearEmptyNodes.xsl failed with reason: "Unknown entity at line 4(possibly  around char 1082)"
                            [faultactor] => Array
                                (
                                )

                            [detail] => Array
                                (
                                    [source] => Array
                                        (
                                            [errorcode] => steps.xsl.XSLEvaluationFailed
                                        )

                                )

                        )

                )

        )

)

[08-Dec-2025 13:28:06 UTC] M-Pesa STK Push Error - HTTP 500: Array
(
    [Envelope] => Array
        (
            [encodingStyle] => http://schemas.xmlsoap.org/soap/encoding/
            [Body] => Array
                (
                    [Fault] => Array
                        (
                            [faultcode] => soap:Server
                            [faultstring] => Evaluation of XSL ClearEmptyNodes.xsl failed with reason: "Unknown entity at line 4(possibly  around char 1082)"
                            [faultactor] => Array
                                (
                                )

                            [detail] => Array
                                (
                                    [source] => Array
                                        (
                                            [errorcode] => steps.xsl.XSLEvaluationFailed
                                        )

                                )

                        )

                )

        )

)

[08-Dec-2025 14:14:21 UTC] PHP Fatal error:  Uncaught Error: Undefined constant MpesaConfig::OAUTH_URL in /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php:34
Stack trace:
#0 /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php(69): MpesaService->getAccessToken()
#1 /home/cafearoma/public_html/blaqpremium/process_order.php(150): MpesaService->initiateSTKPush('254723215703', 10.0, '46')
#2 {main}
  thrown in /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php on line 34
[08-Dec-2025 14:14:32 UTC] PHP Fatal error:  Uncaught Error: Undefined constant MpesaConfig::OAUTH_URL in /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php:34
Stack trace:
#0 /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php(69): MpesaService->getAccessToken()
#1 /home/cafearoma/public_html/blaqpremium/process_order.php(150): MpesaService->initiateSTKPush('254723215703', 10.0, '47')
#2 {main}
  thrown in /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php on line 34
[08-Dec-2025 15:14:10 UTC] PHP Fatal error:  Uncaught Error: Undefined constant MpesaConfig::OAUTH_URL in /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php:34
Stack trace:
#0 /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php(69): MpesaService->getAccessToken()
#1 /home/cafearoma/public_html/blaqpremium/process_order.php(150): MpesaService->initiateSTKPush('254723215703', 10.0, '48')
#2 {main}
  thrown in /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php on line 34
[08-Dec-2025 15:14:13 UTC] PHP Fatal error:  Uncaught Error: Undefined constant MpesaConfig::OAUTH_URL in /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php:34
Stack trace:
#0 /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php(69): MpesaService->getAccessToken()
#1 /home/cafearoma/public_html/blaqpremium/process_order.php(150): MpesaService->initiateSTKPush('254723215703', 10.0, '49')
#2 {main}
  thrown in /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php on line 34
[08-Dec-2025 15:14:14 UTC] PHP Fatal error:  Uncaught Error: Undefined constant MpesaConfig::OAUTH_URL in /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php:34
Stack trace:
#0 /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php(69): MpesaService->getAccessToken()
#1 /home/cafearoma/public_html/blaqpremium/process_order.php(150): MpesaService->initiateSTKPush('254723215703', 10.0, '50')
#2 {main}
  thrown in /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php on line 34
[08-Dec-2025 15:14:16 UTC] PHP Fatal error:  Uncaught Error: Undefined constant MpesaConfig::OAUTH_URL in /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php:34
Stack trace:
#0 /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php(69): MpesaService->getAccessToken()
#1 /home/cafearoma/public_html/blaqpremium/process_order.php(150): MpesaService->initiateSTKPush('254723215703', 10.0, '51')
#2 {main}
  thrown in /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php on line 34
[08-Dec-2025 15:14:17 UTC] PHP Fatal error:  Uncaught Error: Undefined constant MpesaConfig::OAUTH_URL in /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php:34
Stack trace:
#0 /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php(69): MpesaService->getAccessToken()
#1 /home/cafearoma/public_html/blaqpremium/process_order.php(150): MpesaService->initiateSTKPush('254723215703', 10.0, '52')
#2 {main}
  thrown in /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php on line 34
[08-Dec-2025 15:14:19 UTC] PHP Fatal error:  Uncaught Error: Undefined constant MpesaConfig::OAUTH_URL in /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php:34
Stack trace:
#0 /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php(69): MpesaService->getAccessToken()
#1 /home/cafearoma/public_html/blaqpremium/process_order.php(150): MpesaService->initiateSTKPush('254723215703', 10.0, '53')
#2 {main}
  thrown in /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php on line 34
[08-Dec-2025 15:14:20 UTC] PHP Fatal error:  Uncaught Error: Undefined constant MpesaConfig::OAUTH_URL in /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php:34
Stack trace:
#0 /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php(69): MpesaService->getAccessToken()
#1 /home/cafearoma/public_html/blaqpremium/process_order.php(150): MpesaService->initiateSTKPush('254723215703', 10.0, '54')
#2 {main}
  thrown in /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php on line 34
[09-Dec-2025 00:23:50 UTC] Initiating M-Pesa payment for order #SUSHI-00001 - Amount: 400, Phone: 254723215703
[09-Dec-2025 00:23:52 UTC] M-Pesa payment failed for order #SUSHI-00001: Success. Request accepted for processing
[09-Dec-2025 00:32:18 UTC] PHP Parse error:  syntax error, unexpected token "public", expecting end of file in /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php on line 204
[09-Dec-2025 00:32:59 UTC] PHP Parse error:  syntax error, unexpected token "public", expecting end of file in /home/cafearoma/public_html/blaqpremium/includes/MpesaService.php on line 204
[09-Dec-2025 00:38:25 UTC] Initiating M-Pesa payment for order #SUSHI-00002 - Amount: 700, Phone: 254723215703
[09-Dec-2025 00:38:27 UTC] Order Processing Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'mpesa_merchant_request_id' in 'SET'
[09-Dec-2025 00:38:44 UTC] Initiating M-Pesa payment for order #SUSHI-00003 - Amount: 700, Phone: 254723215703
[09-Dec-2025 00:38:46 UTC] Order Processing Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'mpesa_merchant_request_id' in 'SET'
[09-Dec-2025 00:40:52 UTC] M-Pesa Result: {"success":true,"checkout_id":"ws_CO_09122025034053257723215703","merchant_request_id":"5ce0-4ef3-8c83-37a7ac27fca8907656","message":"Success. Request accepted for processing","raw_response":"{\n            \"MerchantRequestID\":\"5ce0-4ef3-8c83-37a7ac27fca8907656\",\n            \"CheckoutRequestID\":\"ws_CO_09122025034053257723215703\",\n            \"ResponseCode\": \"0\",\n            \"ResponseDescription\":\"Success. Request accepted for processing\",\n            \"CustomerMessage\":\"Success. Request accepted for processing\"\n        }\n        "}
[09-Dec-2025 00:58:15 UTC] M-Pesa Result: {"success":true,"checkout_id":"ws_CO_09122025035815794723215703","merchant_request_id":"5813-41cd-93b6-06d416f1f63e4943893","message":"Success. Request accepted for processing","raw_response":"{\n            \"MerchantRequestID\":\"5813-41cd-93b6-06d416f1f63e4943893\",\n            \"CheckoutRequestID\":\"ws_CO_09122025035815794723215703\",\n            \"ResponseCode\": \"0\",\n            \"ResponseDescription\":\"Success. Request accepted for processing\",\n            \"CustomerMessage\":\"Success. Request accepted for processing\"\n        }\n        "}
[09-Dec-2025 03:52:30 UTC] M-Pesa Result: {"success":true,"checkout_id":"ws_CO_09122025065229818704152518","merchant_request_id":"1e74-4c19-b5e8-44fba18c271a1018982","message":"Success. Request accepted for processing","raw_response":"{\n            \"MerchantRequestID\":\"1e74-4c19-b5e8-44fba18c271a1018982\",\n            \"CheckoutRequestID\":\"ws_CO_09122025065229818704152518\",\n            \"ResponseCode\": \"0\",\n            \"ResponseDescription\":\"Success. Request accepted for processing\",\n            \"CustomerMessage\":\"Success. Request accepted for processing\"\n        }\n        "}
[09-Dec-2025 11:17:26 UTC] M-Pesa Result: {"success":true,"checkout_id":"ws_CO_09122025141726404723215703","merchant_request_id":"86e9-42f0-adb3-50d296b4cc907441251","message":"Success. Request accepted for processing","raw_response":"{\n            \"MerchantRequestID\":\"86e9-42f0-adb3-50d296b4cc907441251\",\n            \"CheckoutRequestID\":\"ws_CO_09122025141726404723215703\",\n            \"ResponseCode\": \"0\",\n            \"ResponseDescription\":\"Success. Request accepted for processing\",\n            \"CustomerMessage\":\"Success. Request accepted for processing\"\n        }\n        "}
[09-Dec-2025 11:26:08 UTC] M-Pesa Result: {"success":true,"checkout_id":"ws_CO_09122025142607538723215703","merchant_request_id":"05bf-426f-b25e-5d66d8a1bbb78768760","message":"Success. Request accepted for processing","raw_response":"{\n            \"MerchantRequestID\":\"05bf-426f-b25e-5d66d8a1bbb78768760\",\n            \"CheckoutRequestID\":\"ws_CO_09122025142607538723215703\",\n            \"ResponseCode\": \"0\",\n            \"ResponseDescription\":\"Success. Request accepted for processing\",\n            \"CustomerMessage\":\"Success. Request accepted for processing\"\n        }\n        "}
[10-Dec-2025 07:31:21 UTC] M-Pesa Result: {"success":true,"checkout_id":"ws_CO_10122025103121470705691613","merchant_request_id":"5ce0-4ef3-8c83-37a7ac27fca84211421","message":"Success. Request accepted for processing","raw_response":"{\n            \"MerchantRequestID\":\"5ce0-4ef3-8c83-37a7ac27fca84211421\",\n            \"CheckoutRequestID\":\"ws_CO_10122025103121470705691613\",\n            \"ResponseCode\": \"0\",\n            \"ResponseDescription\":\"Success. Request accepted for processing\",\n            \"CustomerMessage\":\"Success. Request accepted for processing\"\n        }\n        "}
[10-Dec-2025 07:31:49 UTC] M-Pesa Result: {"success":true,"checkout_id":"ws_CO_10122025103149115705691613","merchant_request_id":"afd4-4d5b-888c-1aff4e4cb7161033501","message":"Success. Request accepted for processing","raw_response":"{\n            \"MerchantRequestID\":\"afd4-4d5b-888c-1aff4e4cb7161033501\",\n            \"CheckoutRequestID\":\"ws_CO_10122025103149115705691613\",\n            \"ResponseCode\": \"0\",\n            \"ResponseDescription\":\"Success. Request accepted for processing\",\n            \"CustomerMessage\":\"Success. Request accepted for processing\"\n        }\n        "}
[10-Dec-2025 11:03:05 UTC] M-Pesa Result for milano: {"success":true,"checkout_id":"ws_CO_10122025140305170723215703","merchant_request_id":"671b-4f4b-a06c-23788dca9f6831018","message":"Success. Request accepted for processing","raw_response":"{\n            \"MerchantRequestID\":\"671b-4f4b-a06c-23788dca9f6831018\",\n            \"CheckoutRequestID\":\"ws_CO_10122025140305170723215703\",\n            \"ResponseCode\": \"0\",\n            \"ResponseDescription\":\"Success. Request accepted for processing\",\n            \"CustomerMessage\":\"Success. Request accepted for processing\"\n        }\n        "}
[15-Dec-2025 08:26:16 UTC] M-Pesa Result for sushi: {"success":true,"checkout_id":"ws_CO_15122025112616369723215703","merchant_request_id":"365e-4b47-9262-fc706963c7c52592235","message":"Success. Request accepted for processing","raw_response":"{\n            \"MerchantRequestID\":\"365e-4b47-9262-fc706963c7c52592235\",\n            \"CheckoutRequestID\":\"ws_CO_15122025112616369723215703\",\n            \"ResponseCode\": \"0\",\n            \"ResponseDescription\":\"Success. Request accepted for processing\",\n            \"CustomerMessage\":\"Success. Request accepted for processing\"\n        }\n        "}
[16-Dec-2025 14:04:50 UTC] Daily sales summary update failed: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'id' in 'SELECT'
[16-Dec-2025 14:04:52 UTC] M-Pesa transaction logging failed: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'description' in 'INSERT INTO'
[16-Dec-2025 20:14:22 UTC] Daily sales summary update failed: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'id' in 'SELECT'
[16-Dec-2025 20:14:24 UTC] M-Pesa transaction logging failed: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'description' in 'INSERT INTO'
[16-Dec-2025 21:46:20 UTC] Daily sales summary update failed: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'id' in 'SELECT'
[16-Dec-2025 21:46:22 UTC] M-Pesa transaction logging failed: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'description' in 'INSERT INTO'
[16-Dec-2025 22:04:10 UTC] Daily sales summary update failed: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'id' in 'SELECT'
[16-Dec-2025 22:04:11 UTC] M-Pesa transaction logging failed: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'description' in 'INSERT INTO'
