[2025-02-16 13:02:53] Received update: {"update_id":742845681,
"message":{"message_id":24,"from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739710972,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-16 13:02:53] Processing message: /start from chat_id: 277597859
[2025-02-16 13:02:53] Current stage: welcome
[2025-02-16 13:02:57] Received update: {"update_id":742845682,
"callback_query":{"id":"1192273727201835784","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":25,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739710973,"text":"Welcome to M-Loans! \ud83c\udf89\nYour account has been successfully created.\nStart growing your business today by borrowing an instant business loan directly to M-Pesa.","reply_markup":{"inline_keyboard":[[{"text":"\ud83d\ude80 Apply for Loan","callback_data":"start_loan"}]]}},"chat_instance":"7654379414096940759","data":"start_loan"}}
[2025-02-16 13:03:07] Received update: {"update_id":742845683,
"message":{"message_id":27,"from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739710987,"text":"0718020630","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-02-16 13:03:07] Processing message: 0718020630 from chat_id: 277597859
[2025-02-16 13:03:07] Current stage: enter_phone
[2025-02-16 13:03:09] Received update: {"update_id":742845684,
"callback_query":{"id":"1192273727201854214","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":28,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739710987,"text":"\u2705 Credit check completed!\n\nYour credit score: 691\nYour loan limit: KES 69,100\n\nSelect your preferred loan amount:","entities":[{"offset":46,"length":3,"type":"bold"},{"offset":67,"length":10,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"KES 15,000 in 2 Months repay 15,500","callback_data":"loan_15000"}],[{"text":"KES 30,000 in 6 Months repay 31,000","callback_data":"loan_30000"}],[{"text":"KES 50,000 in 12 Months repay 54,000","callback_data":"loan_50000"}]]}},"chat_instance":"7654379414096940759","data":"loan_30000"}}
[2025-02-16 13:03:12] Received update: {"update_id":742845685,
"callback_query":{"id":"1192273726567655786","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":29,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739710990,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"7654379414096940759","data":"proceed_payment"}}
[2025-02-16 13:03:15] STK Push Response: {"MerchantRequestID":"fe1e-4199-8a60-70ebcbfc601869878611","CheckoutRequestID":"ws_CO_16022025160314937718020630","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-16 13:03:15] Created loan transaction with ID: 1
[2025-02-16 13:03:27] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"fe1e-4199-8a60-70ebcbfc601869878611","CheckoutRequestID":"ws_CO_16022025160314937718020630","ResultCode":0,"ResultDesc":"The service request is processed successfully.","CallbackMetadata":{"Item":[{"Name":"Amount","Value":1.00},{"Name":"MpesaReceiptNumber","Value":"TBG3AEGZS5"},{"Name":"Balance"},{"Name":"TransactionDate","Value":20250216160325},{"Name":"PhoneNumber","Value":254718020630}]}}}}
[2025-02-16 13:03:27] Created loan with ID: 1
[2025-02-16 13:03:27] Updated loan transaction with loan_id: 1 and status: completed
[2025-02-16 13:03:30] Received update: {"update_id":742845686,
"callback_query":{"id":"1192273727938075566","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":31,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739711007,"text":"\u2705 Payment Successful!\n\nYour loan application has been submitted successfully.\nTransaction ID: TBG3AEGZS5\nAmount Paid: KES 1\nLoan Amount: KES 30,000\n\nYou will receive your loan after verification within 24 hours.\n\nNeed help? Use these options:\n1. \ud83d\udcdc View Terms & Conditions\n2. \ud83d\udcde Contact Support\n3. \ud83d\udc65 Refer Friends","reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcdc Terms & Conditions","callback_data":"view_terms"},{"text":"\ud83d\udcde Contact Us","callback_data":"contact_us"}],[{"text":"\ud83d\udc65 Refer Friends","callback_data":"refer_friends"}]]}},"chat_instance":"7654379414096940759","data":"contact_us"}}
[2025-02-16 13:03:32] Received update: {"update_id":742845687,
"callback_query":{"id":"1192273730045412395","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":31,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739711007,"text":"\u2705 Payment Successful!\n\nYour loan application has been submitted successfully.\nTransaction ID: TBG3AEGZS5\nAmount Paid: KES 1\nLoan Amount: KES 30,000\n\nYou will receive your loan after verification within 24 hours.\n\nNeed help? Use these options:\n1. \ud83d\udcdc View Terms & Conditions\n2. \ud83d\udcde Contact Support\n3. \ud83d\udc65 Refer Friends","reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcdc Terms & Conditions","callback_data":"view_terms"},{"text":"\ud83d\udcde Contact Us","callback_data":"contact_us"}],[{"text":"\ud83d\udc65 Refer Friends","callback_data":"refer_friends"}]]}},"chat_instance":"7654379414096940759","data":"refer_friends"}}
[2025-02-16 13:03:34] Received update: {"update_id":742845688,
"callback_query":{"id":"1192273727315892256","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":31,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739711007,"text":"\u2705 Payment Successful!\n\nYour loan application has been submitted successfully.\nTransaction ID: TBG3AEGZS5\nAmount Paid: KES 1\nLoan Amount: KES 30,000\n\nYou will receive your loan after verification within 24 hours.\n\nNeed help? Use these options:\n1. \ud83d\udcdc View Terms & Conditions\n2. \ud83d\udcde Contact Support\n3. \ud83d\udc65 Refer Friends","reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcdc Terms & Conditions","callback_data":"view_terms"},{"text":"\ud83d\udcde Contact Us","callback_data":"contact_us"}],[{"text":"\ud83d\udc65 Refer Friends","callback_data":"refer_friends"}]]}},"chat_instance":"7654379414096940759","data":"view_terms"}}
[2025-02-16 13:18:20] Received update: {"update_id":742845689,
"message":{"message_id":35,"from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739711900,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-16 13:18:20] Processing message: /start from chat_id: 6838718362
[2025-02-16 13:18:20] Current stage: not set
[2025-02-16 13:19:33] Received update: {"update_id":742845690,
"callback_query":{"id":"1701955602272819943","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":36,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739711901,"text":"Welcome to M-Loans! \ud83c\udf89\nYour account has been successfully created.\nStart growing your business today by borrowing an instant business loan directly to M-Pesa.","reply_markup":{"inline_keyboard":[[{"text":"\ud83d\ude80 Apply for Loan","callback_data":"start_loan"}]]}},"chat_instance":"5336381800429272076","data":"start_loan"}}
[2025-02-16 13:19:42] Received update: {"update_id":742845691,
"message":{"message_id":38,"from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739711982,"text":"0717005995","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-02-16 13:19:42] Processing message: 0717005995 from chat_id: 6838718362
[2025-02-16 13:19:42] Current stage: enter_phone
[2025-02-16 13:19:49] Received update: {"update_id":742845692,
"callback_query":{"id":"1701955604390037594","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":39,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739711982,"text":"\u2705 Credit check completed!\n\nYour credit score: 555\nYour loan limit: KES 55,500\n\nSelect your preferred loan amount:","entities":[{"offset":46,"length":3,"type":"bold"},{"offset":67,"length":10,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"KES 15,000 in 2 Months repay 15,500","callback_data":"loan_15000"}],[{"text":"KES 30,000 in 6 Months repay 31,000","callback_data":"loan_30000"}],[{"text":"KES 50,000 in 12 Months repay 54,000","callback_data":"loan_50000"}]]}},"chat_instance":"5336381800429272076","data":"loan_15000"}}
[2025-02-16 13:19:53] Received update: {"update_id":742845693,
"callback_query":{"id":"1701955604310211294","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":40,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739711989,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 15,500\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-02-16 13:19:56] STK Push Response: {"MerchantRequestID":"2ab9-45b1-990b-bff81505433576183471","CheckoutRequestID":"ws_CO_16022025161955711717005995","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-16 13:19:56] Created loan transaction with ID: 2
[2025-02-16 13:20:08] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"2ab9-45b1-990b-bff81505433576183471","CheckoutRequestID":"ws_CO_16022025161955711717005995","ResultCode":0,"ResultDesc":"The service request is processed successfully.","CallbackMetadata":{"Item":[{"Name":"Amount","Value":1.00},{"Name":"MpesaReceiptNumber","Value":"TBG9AGXEYR"},{"Name":"TransactionDate","Value":20250216162007},{"Name":"PhoneNumber","Value":254717005995}]}}}}
[2025-02-16 13:20:08] No user found for phone number: 
[2025-02-16 13:25:53] Received update: {"update_id":742845694,
"callback_query":{"id":"1701955601057732602","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":39,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739711982,"text":"\u2705 Credit check completed!\n\nYour credit score: 555\nYour loan limit: KES 55,500\n\nSelect your preferred loan amount:","entities":[{"offset":46,"length":3,"type":"bold"},{"offset":67,"length":10,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"KES 15,000 in 2 Months repay 15,500","callback_data":"loan_15000"}],[{"text":"KES 30,000 in 6 Months repay 31,000","callback_data":"loan_30000"}],[{"text":"KES 50,000 in 12 Months repay 54,000","callback_data":"loan_50000"}]]}},"chat_instance":"5336381800429272076","data":"loan_30000"}}
[2025-02-16 13:44:08] Received update: {"update_id":742845695,
"message":{"message_id":43,"from":{"id":6355529073,"is_bot":false,"first_name":"Explorer","username":"Daan797k","language_code":"en"},"chat":{"id":6355529073,"first_name":"Explorer","username":"Daan797k","type":"private"},"date":1739713448,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-16 13:44:08] Processing message: /start from chat_id: 6355529073
[2025-02-16 13:44:08] Current stage: not set
[2025-02-16 13:44:13] Received update: {"update_id":742845696,
"callback_query":{"id":"8850045444797893909","from":{"id":6355529073,"is_bot":false,"first_name":"Explorer","username":"Daan797k","language_code":"en"},"message":{"message_id":44,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6355529073,"first_name":"Explorer","username":"Daan797k","type":"private"},"date":1739713449,"text":"Welcome to M-Loans! \ud83c\udf89\nYour account has been successfully created.\nStart growing your business today by borrowing an instant business loan directly to M-Pesa.","reply_markup":{"inline_keyboard":[[{"text":"\ud83d\ude80 Apply for Loan","callback_data":"start_loan"}]]}},"chat_instance":"-1331414159771883051","data":"start_loan"}}
[2025-02-16 13:44:28] Received update: {"update_id":742845697,
"message":{"message_id":46,"from":{"id":6355529073,"is_bot":false,"first_name":"Explorer","username":"Daan797k","language_code":"en"},"chat":{"id":6355529073,"first_name":"Explorer","username":"Daan797k","type":"private"},"date":1739713468,"text":"0719847113","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-02-16 13:44:28] Processing message: 0719847113 from chat_id: 6355529073
[2025-02-16 13:44:28] Current stage: enter_phone
[2025-02-16 13:44:35] Received update: {"update_id":742845698,
"callback_query":{"id":"8850045443848644456","from":{"id":6355529073,"is_bot":false,"first_name":"Explorer","username":"Daan797k","language_code":"en"},"message":{"message_id":47,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6355529073,"first_name":"Explorer","username":"Daan797k","type":"private"},"date":1739713468,"text":"\u2705 Credit check completed!\n\nYour credit score: 434\nYour loan limit: KES 43,400\n\nSelect your preferred loan amount:","entities":[{"offset":46,"length":3,"type":"bold"},{"offset":67,"length":10,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"KES 15,000 in 2 Months repay 15,500","callback_data":"loan_15000"}],[{"text":"KES 30,000 in 6 Months repay 31,000","callback_data":"loan_30000"}],[{"text":"KES 50,000 in 12 Months repay 54,000","callback_data":"loan_50000"}]]}},"chat_instance":"-1331414159771883051","data":"loan_15000"}}
[2025-02-16 13:44:41] Received update: {"update_id":742845699,
"callback_query":{"id":"8850045445961314957","from":{"id":6355529073,"is_bot":false,"first_name":"Explorer","username":"Daan797k","language_code":"en"},"message":{"message_id":48,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6355529073,"first_name":"Explorer","username":"Daan797k","type":"private"},"date":1739713475,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 15,500\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"-1331414159771883051","data":"proceed_payment"}}
[2025-02-16 13:44:44] STK Push Response: {"MerchantRequestID":"0da5-4857-befe-cc20d5d8a4de2089627","CheckoutRequestID":"ws_CO_16022025164443688719847113","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-16 13:44:44] Created loan transaction with ID: 3
[2025-02-16 13:44:44] Received update: {"update_id":742845700,
"callback_query":{"id":"8850045446882289349","from":{"id":6355529073,"is_bot":false,"first_name":"Explorer","username":"Daan797k","language_code":"en"},"message":{"message_id":48,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6355529073,"first_name":"Explorer","username":"Daan797k","type":"private"},"date":1739713475,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 15,500\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"-1331414159771883051","data":"proceed_payment"}}
[2025-02-16 13:44:47] STK Push Error: Server error: `POST https://api.safaricom.co.ke/mpesa/stkpush/v1/processrequest` resulted in a `500 Internal Server Error` response:
{
                    "requestId":"75ea-45a6-862b-641810aab5475004712",
                    "errorCode": "500.001.1001", (truncated...)

[2025-02-16 13:45:15] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"0da5-4857-befe-cc20d5d8a4de2089627","CheckoutRequestID":"ws_CO_16022025164443688719847113","ResultCode":1037,"ResultDesc":"DS timeout user cannot be reached"}}}
[2025-02-16 13:45:15] Updated loan transaction status to failed
[2025-02-16 23:17:40] Received update: {"update_id":742845701,
"callback_query":{"id":"1701955603243892411","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":40,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739711989,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 15,500\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-02-16 23:17:53] STK Push Response: {"MerchantRequestID":"2ab9-45b1-990b-bff81505433577049131","CheckoutRequestID":"ws_CO_17022025021753249717005995","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-16 23:17:53] Created loan transaction with ID: 4
[2025-02-16 23:17:59] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"2ab9-45b1-990b-bff81505433577049131","CheckoutRequestID":"ws_CO_17022025021753249717005995","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-02-16 23:17:59] Updated loan transaction status to failed
[2025-02-16 23:17:59] Received update: {"update_id":742845702,
"callback_query":{"id":"1701955605072589011","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":39,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739711982,"text":"\u2705 Credit check completed!\n\nYour credit score: 555\nYour loan limit: KES 55,500\n\nSelect your preferred loan amount:","entities":[{"offset":46,"length":3,"type":"bold"},{"offset":67,"length":10,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"KES 15,000 in 2 Months repay 15,500","callback_data":"loan_15000"}],[{"text":"KES 30,000 in 6 Months repay 31,000","callback_data":"loan_30000"}],[{"text":"KES 50,000 in 12 Months repay 54,000","callback_data":"loan_50000"}]]}},"chat_instance":"5336381800429272076","data":"loan_30000"}}
[2025-02-18 05:34:27] Received update: {"update_id":742845703,
"callback_query":{"id":"1701955604176964563","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":52,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739747880,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-02-18 05:34:30] STK Push Response: {"MerchantRequestID":"d006-4f8a-968d-632933b424e633522796","CheckoutRequestID":"ws_CO_18022025083430218717005995","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-18 05:34:30] Created loan transaction with ID: 5
[2025-02-18 05:34:44] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"d006-4f8a-968d-632933b424e633522796","CheckoutRequestID":"ws_CO_18022025083430218717005995","ResultCode":0,"ResultDesc":"The service request is processed successfully.","CallbackMetadata":{"Item":[{"Name":"Amount","Value":1.00},{"Name":"MpesaReceiptNumber","Value":"TBI7HEDVKH"},{"Name":"Balance"},{"Name":"TransactionDate","Value":20250218083443},{"Name":"PhoneNumber","Value":254717005995}]}}}}
[2025-02-18 05:34:44] Created loan with ID: 2
[2025-02-18 05:34:44] Updated loan transaction with loan_id: 2 and status: completed
[2025-02-18 06:08:52] Received update: {"update_id":742845704,
"message":{"message_id":55,"from":{"id":6508903321,"is_bot":false,"first_name":"CC","last_name":"Killer","username":"Braincckiller","language_code":"en"},"chat":{"id":6508903321,"first_name":"CC","last_name":"Killer","username":"Braincckiller","type":"private"},"date":1739858931,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-18 06:08:52] Processing message: /start from chat_id: 6508903321
[2025-02-18 06:08:52] Current stage: not set
[2025-02-18 06:09:01] Received update: {"update_id":742845705,
"callback_query":{"id":"285410787800106924","from":{"id":6508903321,"is_bot":false,"first_name":"CC","last_name":"Killer","username":"Braincckiller","language_code":"en"},"message":{"message_id":56,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6508903321,"first_name":"CC","last_name":"Killer","username":"Braincckiller","type":"private"},"date":1739858933,"text":"Welcome to M-Loans! \ud83c\udf89\nYour account has been successfully created.\nStart growing your business today by borrowing an instant business loan directly to M-Pesa.","reply_markup":{"inline_keyboard":[[{"text":"\ud83d\ude80 Apply for Loan","callback_data":"start_loan"}]]}},"chat_instance":"4702277796460621390","data":"start_loan"}}
[2025-02-18 06:09:11] Received update: {"update_id":742845706,
"message":{"message_id":58,"from":{"id":6508903321,"is_bot":false,"first_name":"CC","last_name":"Killer","username":"Braincckiller","language_code":"en"},"chat":{"id":6508903321,"first_name":"CC","last_name":"Killer","username":"Braincckiller","type":"private"},"date":1739858951,"text":"0723437270","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-02-18 06:09:11] Processing message: 0723437270 from chat_id: 6508903321
[2025-02-18 06:09:11] Current stage: enter_phone
[2025-02-18 06:09:25] Received update: {"update_id":742845707,
"callback_query":{"id":"285410787354756536","from":{"id":6508903321,"is_bot":false,"first_name":"CC","last_name":"Killer","username":"Braincckiller","language_code":"en"},"message":{"message_id":59,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6508903321,"first_name":"CC","last_name":"Killer","username":"Braincckiller","type":"private"},"date":1739858951,"text":"\u2705 Credit check completed!\n\nYour credit score: 515\nYour loan limit: KES 51,500\n\nSelect your preferred loan amount:","entities":[{"offset":46,"length":3,"type":"bold"},{"offset":67,"length":10,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"KES 15,000 in 2 Months repay 15,500","callback_data":"loan_15000"}],[{"text":"KES 30,000 in 6 Months repay 31,000","callback_data":"loan_30000"}],[{"text":"KES 50,000 in 12 Months repay 54,000","callback_data":"loan_50000"}]]}},"chat_instance":"4702277796460621390","data":"loan_30000"}}
[2025-02-18 06:09:35] Received update: {"update_id":742845708,
"callback_query":{"id":"285410787536456274","from":{"id":6508903321,"is_bot":false,"first_name":"CC","last_name":"Killer","username":"Braincckiller","language_code":"en"},"message":{"message_id":60,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6508903321,"first_name":"CC","last_name":"Killer","username":"Braincckiller","type":"private"},"date":1739858965,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"4702277796460621390","data":"proceed_payment"}}
[2025-02-18 06:09:39] STK Push Response: {"MerchantRequestID":"8346-40ba-a04b-7ffa07d829fe53024044","CheckoutRequestID":"ws_CO_18022025090937516723437270","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-18 06:09:39] Created loan transaction with ID: 6
[2025-02-18 06:09:51] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"8346-40ba-a04b-7ffa07d829fe53024044","CheckoutRequestID":"ws_CO_18022025090937516723437270","ResultCode":2001,"ResultDesc":"The initiator information is invalid."}}}
[2025-02-18 06:09:51] Updated loan transaction status to failed
[2025-02-18 06:10:32] Received update: {"update_id":742845709,
"message":{"message_id":62,"from":{"id":393403702,"is_bot":false,"first_name":"Ronny01","username":"Ronny01","language_code":"en"},"chat":{"id":393403702,"first_name":"Ronny01","username":"Ronny01","type":"private"},"date":1739859031,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-18 06:10:32] Processing message: /start from chat_id: 393403702
[2025-02-18 06:10:32] Current stage: not set
[2025-02-18 06:32:31] Received update: {"update_id":742845710,
"callback_query":{"id":"1701955603679893480","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":54,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739856890,"text":"\u2705 Payment Successful!\n\nYour loan application has been submitted successfully.\nTransaction ID: TBI7HEDVKH\nAmount Paid: KES 1\nLoan Amount: KES 30,000\n\nYou will receive your loan after verification within 24 hours.\n\nNeed help? Use these options:\n1. \ud83d\udcdc View Terms & Conditions\n2. \ud83d\udcde Contact Support\n3. \ud83d\udc65 Refer Friends","reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcdc Terms & Conditions","callback_data":"view_terms"},{"text":"\ud83d\udcde Contact Us","callback_data":"contact_us"}],[{"text":"\ud83d\udc65 Refer Friends","callback_data":"refer_friends"}]]}},"chat_instance":"5336381800429272076","data":"view_terms"}}
[2025-02-18 06:32:58] Received update: {"update_id":742845711,
"callback_query":{"id":"1701955603141689679","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":54,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739856890,"text":"\u2705 Payment Successful!\n\nYour loan application has been submitted successfully.\nTransaction ID: TBI7HEDVKH\nAmount Paid: KES 1\nLoan Amount: KES 30,000\n\nYou will receive your loan after verification within 24 hours.\n\nNeed help? Use these options:\n1. \ud83d\udcdc View Terms & Conditions\n2. \ud83d\udcde Contact Support\n3. \ud83d\udc65 Refer Friends","reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcdc Terms & Conditions","callback_data":"view_terms"},{"text":"\ud83d\udcde Contact Us","callback_data":"contact_us"}],[{"text":"\ud83d\udc65 Refer Friends","callback_data":"refer_friends"}]]}},"chat_instance":"5336381800429272076","data":"refer_friends"}}
[2025-02-18 07:52:26] Received update: {"update_id":742845712,
"callback_query":{"id":"1701955601809700126","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":52,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739747880,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-02-18 07:52:32] STK Push Response: {"MerchantRequestID":"8346-40ba-a04b-7ffa07d829fe53282568","CheckoutRequestID":"ws_CO_18022025105230215717005995","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-18 07:52:32] Created loan transaction with ID: 7
[2025-02-18 07:52:37] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"8346-40ba-a04b-7ffa07d829fe53282568","CheckoutRequestID":"ws_CO_18022025105230215717005995","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-02-18 07:52:37] Updated loan transaction status to failed
[2025-02-19 08:58:33] Received update: {"update_id":742845713,
"message":{"message_id":68,"from":{"id":393403702,"is_bot":false,"first_name":"Ronny01","username":"Ronny01","language_code":"en"},"chat":{"id":393403702,"first_name":"Ronny01","username":"Ronny01","type":"private"},"date":1739955510,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-19 08:58:33] Processing message: /start from chat_id: 393403702
[2025-02-19 08:58:33] Current stage: welcome
[2025-02-19 19:06:57] Received update: {"update_id":742845714,
"callback_query":{"id":"1701955602740459343","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":52,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739747880,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-02-19 19:07:00] STK Push Response: {"MerchantRequestID":"3ae0-4eda-b616-391073b3f07a15325411","CheckoutRequestID":"ws_CO_19022025220700054717005995","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-19 19:07:00] Created loan transaction with ID: 8
[2025-02-19 19:07:05] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"3ae0-4eda-b616-391073b3f07a15325411","CheckoutRequestID":"ws_CO_19022025220700054717005995","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-02-19 19:07:05] Updated loan transaction status to failed
[2025-02-19 19:08:06] Received update: {"update_id":742845715,
"callback_query":{"id":"1701955603012332656","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":52,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739747880,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-02-19 19:08:10] STK Push Response: {"MerchantRequestID":"d006-4f8a-968d-632933b424e638343051","CheckoutRequestID":"ws_CO_19022025220808395717005995","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-19 19:08:10] Created loan transaction with ID: 9
[2025-02-19 19:08:10] Received update: {"update_id":742845716,
"callback_query":{"id":"1701955601781278513","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":52,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739747880,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-02-19 19:08:13] STK Push Error: Server error: `POST https://api.safaricom.co.ke/mpesa/stkpush/v1/processrequest` resulted in a `500 Internal Server Error` response:
{
                    "requestId":"d006-4f8a-968d-632933b424e638343224",
                    "errorCode": "500.001.1001" (truncated...)

[2025-02-19 19:08:14] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"d006-4f8a-968d-632933b424e638343051","CheckoutRequestID":"ws_CO_19022025220808395717005995","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-02-19 19:08:14] Updated loan transaction status to failed
[2025-02-20 13:42:57] Received update: {"update_id":742845717,
"message":{"message_id":76,"from":{"id":1091676899,"is_bot":false,"first_name":"Dolce memelod","username":"dolce_meme","language_code":"en"},"chat":{"id":1091676899,"first_name":"Dolce memelod","username":"dolce_meme","type":"private"},"date":1740058976,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-20 13:42:57] Processing message: /start from chat_id: 1091676899
[2025-02-20 13:42:57] Current stage: not set
[2025-02-20 13:43:08] Received update: {"update_id":742845718,
"callback_query":{"id":"4688716579020721878","from":{"id":1091676899,"is_bot":false,"first_name":"Dolce memelod","username":"dolce_meme","language_code":"en"},"message":{"message_id":77,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":1091676899,"first_name":"Dolce memelod","username":"dolce_meme","type":"private"},"date":1740058978,"text":"Welcome to M-Loans! \ud83c\udf89\nYour account has been successfully created.\nStart growing your business today by borrowing an instant business loan directly to M-Pesa.","reply_markup":{"inline_keyboard":[[{"text":"\ud83d\ude80 Apply for Loan","callback_data":"start_loan"}]]}},"chat_instance":"-9057954883306452179","data":"start_loan"}}
[2025-02-20 13:43:23] Received update: {"update_id":742845719,
"message":{"message_id":79,"from":{"id":1091676899,"is_bot":false,"first_name":"Dolce memelod","username":"dolce_meme","language_code":"en"},"chat":{"id":1091676899,"first_name":"Dolce memelod","username":"dolce_meme","type":"private"},"date":1740059002,"text":"0703269958","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-02-20 13:43:23] Processing message: 0703269958 from chat_id: 1091676899
[2025-02-20 13:43:23] Current stage: enter_phone
[2025-02-20 13:44:46] Received update: {"update_id":742845720,
"callback_query":{"id":"4688716581423320322","from":{"id":1091676899,"is_bot":false,"first_name":"Dolce memelod","username":"dolce_meme","language_code":"en"},"message":{"message_id":80,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":1091676899,"first_name":"Dolce memelod","username":"dolce_meme","type":"private"},"date":1740059003,"text":"\u2705 Credit check completed!\n\nYour credit score: 582\nYour loan limit: KES 58,200\n\nSelect your preferred loan amount:","entities":[{"offset":46,"length":3,"type":"bold"},{"offset":67,"length":10,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"KES 15,000 in 2 Months repay 15,500","callback_data":"loan_15000"}],[{"text":"KES 30,000 in 6 Months repay 31,000","callback_data":"loan_30000"}],[{"text":"KES 50,000 in 12 Months repay 54,000","callback_data":"loan_50000"}]]}},"chat_instance":"-9057954883306452179","data":"loan_15000"}}
[2025-02-20 13:45:01] Received update: {"update_id":742845721,
"callback_query":{"id":"4688716581062565377","from":{"id":1091676899,"is_bot":false,"first_name":"Dolce memelod","username":"dolce_meme","language_code":"en"},"message":{"message_id":81,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":1091676899,"first_name":"Dolce memelod","username":"dolce_meme","type":"private"},"date":1740059086,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 15,500\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"-9057954883306452179","data":"proceed_payment"}}
[2025-02-20 13:45:04] STK Push Response: {"MerchantRequestID":"fe1e-4199-8a60-70ebcbfc601873779095","CheckoutRequestID":"ws_CO_20022025164504188703269958","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-20 13:45:04] Created loan transaction with ID: 10
[2025-02-20 13:45:05] Received update: {"update_id":742845722,
"callback_query":{"id":"4688716583234077029","from":{"id":1091676899,"is_bot":false,"first_name":"Dolce memelod","username":"dolce_meme","language_code":"en"},"message":{"message_id":81,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":1091676899,"first_name":"Dolce memelod","username":"dolce_meme","type":"private"},"date":1740059086,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 15,500\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"-9057954883306452179","data":"proceed_payment"}}
[2025-02-20 13:45:06] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"fe1e-4199-8a60-70ebcbfc601873779095","CheckoutRequestID":"ws_CO_20022025164504188703269958","ResultCode":2001,"ResultDesc":"The initiator information is invalid."}}}
[2025-02-20 13:45:06] Updated loan transaction status to failed
[2025-02-20 13:45:08] STK Push Response: {"MerchantRequestID":"2ab9-45b1-990b-bff81505433580052234","CheckoutRequestID":"ws_CO_20022025164507841703269958","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-20 13:45:08] Created loan transaction with ID: 11
[2025-02-20 13:45:10] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"2ab9-45b1-990b-bff81505433580052234","CheckoutRequestID":"ws_CO_20022025164507841703269958","ResultCode":2001,"ResultDesc":"The initiator information is invalid."}}}
[2025-02-20 13:45:10] Updated loan transaction status to failed
[2025-02-20 13:45:20] Received update: {"update_id":742845723,
"message":{"message_id":84,"from":{"id":1091676899,"is_bot":false,"first_name":"Dolce memelod","username":"dolce_meme","language_code":"en"},"chat":{"id":1091676899,"first_name":"Dolce memelod","username":"dolce_meme","type":"private"},"date":1740059120,"text":"0703269957","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-02-20 13:45:20] Processing message: 0703269957 from chat_id: 1091676899
[2025-02-20 13:45:20] Current stage: payment
[2025-02-20 13:45:23] Received update: {"update_id":742845724,
"message":{"message_id":86,"from":{"id":1091676899,"is_bot":false,"first_name":"Dolce memelod","username":"dolce_meme","language_code":"en"},"chat":{"id":1091676899,"first_name":"Dolce memelod","username":"dolce_meme","type":"private"},"date":1740059123,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-20 13:45:23] Processing message: /start from chat_id: 1091676899
[2025-02-20 13:45:23] Current stage: payment
[2025-02-20 13:45:25] Received update: {"update_id":742845725,
"callback_query":{"id":"4688716581341078526","from":{"id":1091676899,"is_bot":false,"first_name":"Dolce memelod","username":"dolce_meme","language_code":"en"},"message":{"message_id":87,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":1091676899,"first_name":"Dolce memelod","username":"dolce_meme","type":"private"},"date":1740059123,"text":"Welcome to M-Loans! \ud83c\udf89\nYour account has been successfully created.\nStart growing your business today by borrowing an instant business loan directly to M-Pesa.","reply_markup":{"inline_keyboard":[[{"text":"\ud83d\ude80 Apply for Loan","callback_data":"start_loan"}]]}},"chat_instance":"-9057954883306452179","data":"start_loan"}}
[2025-02-20 13:45:30] Received update: {"update_id":742845726,
"message":{"message_id":89,"from":{"id":1091676899,"is_bot":false,"first_name":"Dolce memelod","username":"dolce_meme","language_code":"en"},"chat":{"id":1091676899,"first_name":"Dolce memelod","username":"dolce_meme","type":"private"},"date":1740059130,"text":"0703269957","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-02-20 13:45:30] Processing message: 0703269957 from chat_id: 1091676899
[2025-02-20 13:45:30] Current stage: enter_phone
[2025-02-20 13:45:33] Received update: {"update_id":742845727,
"callback_query":{"id":"4688716580007784531","from":{"id":1091676899,"is_bot":false,"first_name":"Dolce memelod","username":"dolce_meme","language_code":"en"},"message":{"message_id":90,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":1091676899,"first_name":"Dolce memelod","username":"dolce_meme","type":"private"},"date":1740059131,"text":"\u2705 Credit check completed!\n\nYour credit score: 680\nYour loan limit: KES 68,000\n\nSelect your preferred loan amount:","entities":[{"offset":46,"length":3,"type":"bold"},{"offset":67,"length":10,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"KES 15,000 in 2 Months repay 15,500","callback_data":"loan_15000"}],[{"text":"KES 30,000 in 6 Months repay 31,000","callback_data":"loan_30000"}],[{"text":"KES 50,000 in 12 Months repay 54,000","callback_data":"loan_50000"}]]}},"chat_instance":"-9057954883306452179","data":"loan_30000"}}
[2025-02-20 13:45:35] Received update: {"update_id":742845728,
"callback_query":{"id":"4688716581159325504","from":{"id":1091676899,"is_bot":false,"first_name":"Dolce memelod","username":"dolce_meme","language_code":"en"},"message":{"message_id":91,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":1091676899,"first_name":"Dolce memelod","username":"dolce_meme","type":"private"},"date":1740059133,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"-9057954883306452179","data":"proceed_payment"}}
[2025-02-20 13:45:39] STK Push Response: {"MerchantRequestID":"43eb-4e88-93af-c21af0171a6d80117992","CheckoutRequestID":"ws_CO_20022025164537789703269957","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-20 13:45:39] Created loan transaction with ID: 12
[2025-02-20 13:45:40] Received update: {"update_id":742845729,
"callback_query":{"id":"4688716579935885737","from":{"id":1091676899,"is_bot":false,"first_name":"Dolce memelod","username":"dolce_meme","language_code":"en"},"message":{"message_id":91,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":1091676899,"first_name":"Dolce memelod","username":"dolce_meme","type":"private"},"date":1740059133,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"-9057954883306452179","data":"proceed_payment"}}
[2025-02-20 13:45:42] STK Push Error: Server error: `POST https://api.safaricom.co.ke/mpesa/stkpush/v1/processrequest` resulted in a `500 Internal Server Error` response:
{
                    "requestId":"eb7f-4b87-8ae8-e03e2dccdf0813518533",
                    "errorCode": "500.001.1001" (truncated...)

[2025-02-20 13:45:50] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"43eb-4e88-93af-c21af0171a6d80117992","CheckoutRequestID":"ws_CO_20022025164537789703269957","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-02-20 13:45:50] Updated loan transaction status to failed
[2025-02-20 13:45:50] Received update: {"update_id":742845730,
"callback_query":{"id":"4688716580437380909","from":{"id":1091676899,"is_bot":false,"first_name":"Dolce memelod","username":"dolce_meme","language_code":"en"},"message":{"message_id":91,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":1091676899,"first_name":"Dolce memelod","username":"dolce_meme","type":"private"},"date":1740059133,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"-9057954883306452179","data":"proceed_payment"}}
[2025-02-20 13:45:53] STK Push Response: {"MerchantRequestID":"a7c9-4e31-8764-59bf866e0fbb13778090","CheckoutRequestID":"ws_CO_20022025164552822703269957","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-20 13:45:53] Created loan transaction with ID: 13
[2025-02-20 13:45:53] Received update: {"update_id":742845731,
"callback_query":{"id":"4688716580784121650","from":{"id":1091676899,"is_bot":false,"first_name":"Dolce memelod","username":"dolce_meme","language_code":"en"},"message":{"message_id":91,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":1091676899,"first_name":"Dolce memelod","username":"dolce_meme","type":"private"},"date":1740059133,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"-9057954883306452179","data":"proceed_payment"}}
[2025-02-20 13:45:57] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"a7c9-4e31-8764-59bf866e0fbb13778090","CheckoutRequestID":"ws_CO_20022025164552822703269957","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-02-20 13:45:57] Updated loan transaction status to failed
[2025-02-20 13:45:57] STK Push Response: {"MerchantRequestID":"fde9-47d6-86d2-acee2641362475262097","CheckoutRequestID":"ws_CO_20022025164555962703269957","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-20 13:45:57] Created loan transaction with ID: 14
[2025-02-20 13:45:58] Received update: {"update_id":742845732,
"callback_query":{"id":"4688716581226751330","from":{"id":1091676899,"is_bot":false,"first_name":"Dolce memelod","username":"dolce_meme","language_code":"en"},"message":{"message_id":91,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":1091676899,"first_name":"Dolce memelod","username":"dolce_meme","type":"private"},"date":1740059133,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"-9057954883306452179","data":"proceed_payment"}}
[2025-02-20 13:46:00] STK Push Error: Server error: `POST https://api.safaricom.co.ke/mpesa/stkpush/v1/processrequest` resulted in a `500 Internal Server Error` response:
{
                    "requestId":"2697-4453-b07f-ff58b4b1cf4141369587",
                    "errorCode": "500.001.1001" (truncated...)

[2025-02-20 13:46:01] Received update: {"update_id":742845733,
"callback_query":{"id":"4688716580786021014","from":{"id":1091676899,"is_bot":false,"first_name":"Dolce memelod","username":"dolce_meme","language_code":"en"},"message":{"message_id":91,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":1091676899,"first_name":"Dolce memelod","username":"dolce_meme","type":"private"},"date":1740059133,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"-9057954883306452179","data":"proceed_payment"}}
[2025-02-20 13:46:02] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"fde9-47d6-86d2-acee2641362475262097","CheckoutRequestID":"ws_CO_20022025164555962703269957","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-02-20 13:46:02] Updated loan transaction status to failed
[2025-02-20 13:46:05] STK Push Response: {"MerchantRequestID":"d006-4f8a-968d-632933b424e639750240","CheckoutRequestID":"ws_CO_20022025164603459703269957","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-20 13:46:05] Created loan transaction with ID: 15
[2025-02-20 13:46:05] Received update: {"update_id":742845734,
"callback_query":{"id":"4688716582231473315","from":{"id":1091676899,"is_bot":false,"first_name":"Dolce memelod","username":"dolce_meme","language_code":"en"},"message":{"message_id":91,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":1091676899,"first_name":"Dolce memelod","username":"dolce_meme","type":"private"},"date":1740059133,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"-9057954883306452179","data":"proceed_payment"}}
[2025-02-20 13:46:08] STK Push Error: Server error: `POST https://api.safaricom.co.ke/mpesa/stkpush/v1/processrequest` resulted in a `500 Internal Server Error` response:
{
                    "requestId":"15bf-4037-8029-40abed8e9ff580075138",
                    "errorCode": "500.001.1001" (truncated...)

[2025-02-20 13:46:17] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"d006-4f8a-968d-632933b424e639750240","CheckoutRequestID":"ws_CO_20022025164603459703269957","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-02-20 13:46:17] Updated loan transaction status to failed
[2025-02-21 09:31:27] Received update: {"update_id":742845735,
"message":{"message_id":99,"from":{"id":5462387463,"is_bot":false,"first_name":"Amoh","username":"OfficialAmoskorir","language_code":"en"},"chat":{"id":5462387463,"first_name":"Amoh","username":"OfficialAmoskorir","type":"private"},"date":1740130285,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-21 09:31:27] Processing message: /start from chat_id: 5462387463
[2025-02-21 09:31:27] Current stage: not set
[2025-02-21 09:31:34] Received update: {"update_id":742845736,
"callback_query":{"id":"5014031440838098487","from":{"id":5462387463,"is_bot":false,"first_name":"Amoh","username":"OfficialAmoskorir","language_code":"en"},"message":{"message_id":100,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":5462387463,"first_name":"Amoh","username":"OfficialAmoskorir","type":"private"},"date":1740130287,"text":"Welcome to M-Loans! \ud83c\udf89\nYour account has been successfully created.\nStart growing your business today by borrowing an instant business loan directly to M-Pesa.","reply_markup":{"inline_keyboard":[[{"text":"\ud83d\ude80 Apply for Loan","callback_data":"start_loan"}]]}},"chat_instance":"5923796911360770786","data":"start_loan"}}
[2025-02-21 09:31:47] Received update: {"update_id":742845737,
"message":{"message_id":102,"from":{"id":5462387463,"is_bot":false,"first_name":"Amoh","username":"OfficialAmoskorir","language_code":"en"},"chat":{"id":5462387463,"first_name":"Amoh","username":"OfficialAmoskorir","type":"private"},"date":1740130306,"text":"0700319709","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-02-21 09:31:47] Processing message: 0700319709 from chat_id: 5462387463
[2025-02-21 09:31:47] Current stage: enter_phone
[2025-02-21 09:31:56] Received update: {"update_id":742845738,
"callback_query":{"id":"5014031440035007339","from":{"id":5462387463,"is_bot":false,"first_name":"Amoh","username":"OfficialAmoskorir","language_code":"en"},"message":{"message_id":103,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":5462387463,"first_name":"Amoh","username":"OfficialAmoskorir","type":"private"},"date":1740130307,"text":"\u2705 Credit check completed!\n\nYour credit score: 396\nYour loan limit: KES 39,600\n\nSelect your preferred loan amount:","entities":[{"offset":46,"length":3,"type":"bold"},{"offset":67,"length":10,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"KES 15,000 in 2 Months repay 15,500","callback_data":"loan_15000"}],[{"text":"KES 30,000 in 6 Months repay 31,000","callback_data":"loan_30000"}],[{"text":"KES 50,000 in 12 Months repay 54,000","callback_data":"loan_50000"}]]}},"chat_instance":"5923796911360770786","data":"loan_15000"}}
[2025-02-21 09:32:05] Received update: {"update_id":742845739,
"callback_query":{"id":"5014031438349669592","from":{"id":5462387463,"is_bot":false,"first_name":"Amoh","username":"OfficialAmoskorir","language_code":"en"},"message":{"message_id":104,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":5462387463,"first_name":"Amoh","username":"OfficialAmoskorir","type":"private"},"date":1740130316,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 15,500\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5923796911360770786","data":"proceed_payment"}}
[2025-02-21 09:32:08] STK Push Response: {"MerchantRequestID":"15bf-4037-8029-40abed8e9ff580769793","CheckoutRequestID":"ws_CO_21022025123208061700319709","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-21 09:32:08] Created loan transaction with ID: 16
[2025-02-21 09:32:16] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"15bf-4037-8029-40abed8e9ff580769793","CheckoutRequestID":"ws_CO_21022025123208061700319709","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-02-21 09:32:16] Updated loan transaction status to failed
[2025-02-21 10:05:53] Received update: {"update_id":742845740,
"callback_query":{"id":"4688716580170890649","from":{"id":1091676899,"is_bot":false,"first_name":"Dolce memelod","username":"dolce_meme","language_code":"en"},"message":{"message_id":91,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":1091676899,"first_name":"Dolce memelod","username":"dolce_meme","type":"private"},"date":1740059133,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"-9057954883306452179","data":"proceed_payment"}}
[2025-02-21 10:05:56] STK Push Response: {"MerchantRequestID":"0da5-4857-befe-cc20d5d8a4de12751946","CheckoutRequestID":"ws_CO_21022025130555719703269957","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-21 10:05:56] Created loan transaction with ID: 17
[2025-02-21 10:06:07] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"0da5-4857-befe-cc20d5d8a4de12751946","CheckoutRequestID":"ws_CO_21022025130555719703269957","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-02-21 10:06:07] Updated loan transaction status to failed
[2025-02-21 14:38:25] Received update: {"update_id":742845741,
"callback_query":{"id":"1701955603316233994","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":52,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739747880,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-02-21 14:38:28] STK Push Response: {"MerchantRequestID":"14d5-4ff0-a759-393b7872d19e353225","CheckoutRequestID":"ws_CO_21022025173827815717005995","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-21 14:38:28] Created loan transaction with ID: 18
[2025-02-21 14:38:29] Received update: {"update_id":742845742,
"callback_query":{"id":"1701955604132908110","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":52,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739747880,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-02-21 14:38:31] STK Push Error: Server error: `POST https://api.safaricom.co.ke/mpesa/stkpush/v1/processrequest` resulted in a `500 Internal Server Error` response:
{
                    "requestId":"75ea-45a6-862b-641810aab54716164237",
                    "errorCode": "500.001.1001" (truncated...)

[2025-02-21 14:38:32] Received update: {"update_id":742845743,
"callback_query":{"id":"1701955602466270149","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":52,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739747880,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-02-21 14:38:34] STK Push Error: Server error: `POST https://api.safaricom.co.ke/mpesa/stkpush/v1/processrequest` resulted in a `500 Internal Server Error` response:
{
                    "requestId":"3ae0-4eda-b616-391073b3f07a19026158",
                    "errorCode": "500.001.1001" (truncated...)

[2025-02-21 14:38:35] Received update: {"update_id":742845744,
"callback_query":{"id":"1701955602941753972","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":52,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739747880,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-02-21 14:38:37] STK Push Error: Server error: `POST https://api.safaricom.co.ke/mpesa/stkpush/v1/processrequest` resulted in a `500 Internal Server Error` response:
{
                    "requestId":"950b-45f8-8c99-689407e038de16470208",
                    "errorCode": "500.001.1001" (truncated...)

[2025-02-21 14:38:48] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"14d5-4ff0-a759-393b7872d19e353225","CheckoutRequestID":"ws_CO_21022025173827815717005995","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-02-21 14:38:48] Updated loan transaction status to failed
[2025-02-21 23:04:02] Received update: {"update_id":742845745,
"callback_query":{"id":"1701955602132150840","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":52,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739747880,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-02-21 23:04:05] STK Push Response: {"MerchantRequestID":"4689-4e69-bed4-22d590e601c281543181","CheckoutRequestID":"ws_CO_22022025020405224717005995","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-21 23:04:05] Created loan transaction with ID: 19
[2025-02-21 23:04:11] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"4689-4e69-bed4-22d590e601c281543181","CheckoutRequestID":"ws_CO_22022025020405224717005995","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-02-21 23:04:11] Updated loan transaction status to failed
[2025-02-23 09:36:20] Received update: {"update_id":742845746,
"message":{"message_id":112,"from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1740303378,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-23 09:36:20] Processing message: /start from chat_id: 277597859
[2025-02-23 09:36:20] Current stage: payment
[2025-02-23 09:36:33] Received update: {"update_id":742845747,
"callback_query":{"id":"1192273728920692104","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":113,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1740303391,"text":"Welcome to M-Loans! \ud83c\udf89\nYour account has been successfully created.\nStart growing your business today by borrowing an instant business loan directly to M-Pesa.","reply_markup":{"inline_keyboard":[[{"text":"\ud83d\ude80 Apply for Loan","callback_data":"start_loan"}]]}},"chat_instance":"7654379414096940759","data":"start_loan"}}
[2025-02-23 09:36:41] Received update: {"update_id":742845748,
"message":{"message_id":115,"from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1740303401,"text":"0718020630","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-02-23 09:36:41] Processing message: 0718020630 from chat_id: 277597859
[2025-02-23 09:36:41] Current stage: enter_phone
[2025-02-23 09:36:44] Received update: {"update_id":742845749,
"callback_query":{"id":"1192273728587114942","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":116,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1740303401,"text":"\u2705 Credit check completed!\n\nYour credit score: 307\nYour loan limit: KES 30,700\n\nSelect your preferred loan amount:","entities":[{"offset":46,"length":3,"type":"bold"},{"offset":67,"length":10,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"KES 15,000 in 2 Months repay 15,500","callback_data":"loan_15000"}],[{"text":"KES 30,000 in 6 Months repay 31,000","callback_data":"loan_30000"}],[{"text":"KES 50,000 in 12 Months repay 54,000","callback_data":"loan_50000"}]]}},"chat_instance":"7654379414096940759","data":"loan_15000"}}
[2025-02-23 09:36:58] Received update: {"update_id":742845750,
"callback_query":{"id":"1192273729372397191","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":117,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1740303404,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 15,500\nProcessing Fee: KES 114\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":7,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"7654379414096940759","data":"proceed_payment"}}
[2025-02-23 09:37:12] STK Push Response: {"MerchantRequestID":"43eb-4e88-93af-c21af0171a6d82713512","CheckoutRequestID":"ws_CO_23022025123710982718020630","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-23 09:37:12] Created loan transaction with ID: 20
[2025-02-23 09:37:19] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"43eb-4e88-93af-c21af0171a6d82713512","CheckoutRequestID":"ws_CO_23022025123710982718020630","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-02-23 09:37:19] Updated loan transaction status to failed
[2025-02-24 07:56:31] Received update: {"update_id":742845751,
"callback_query":{"id":"1701955603334790132","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":52,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739747880,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-02-24 07:56:46] STK Push Error: Client error: `POST https://api.safaricom.co.ke/mpesa/stkpush/v1/processrequest` resulted in a `404 Not Found` response:
{
                    "requestId":"2697-4453-b07f-ff58b4b1cf4149834528",
                    "errorCode": "404.001.03",
 (truncated...)

[2025-02-24 07:56:52] Received update: {"update_id":742845752,
"callback_query":{"id":"1701955603254178229","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":52,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739747880,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-02-24 07:56:54] STK Push Error: Client error: `POST https://api.safaricom.co.ke/mpesa/stkpush/v1/processrequest` resulted in a `404 Not Found` response:
{
                    "requestId":"26c7-4b59-9cf6-cebca07c55e583610058",
                    "errorCode": "404.001.03",
 (truncated...)

[2025-02-24 07:56:55] Received update: {"update_id":742845753,
"callback_query":{"id":"1701955601987337818","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":52,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739747880,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-02-24 07:56:57] STK Push Error: Client error: `POST https://api.safaricom.co.ke/mpesa/stkpush/v1/processrequest` resulted in a `404 Not Found` response:
{
                    "requestId":"4689-4e69-bed4-22d590e601c283634646",
                    "errorCode": "404.001.03",
 (truncated...)

[2025-02-24 07:57:02] Received update: {"update_id":742845754,
"callback_query":{"id":"1701955603519170224","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":52,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739747880,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-02-24 07:57:04] STK Push Error: Client error: `POST https://api.safaricom.co.ke/mpesa/stkpush/v1/processrequest` resulted in a `404 Not Found` response:
{
                    "requestId":"fe1e-4199-8a60-70ebcbfc601877189537",
                    "errorCode": "404.001.03",
 (truncated...)

[2025-02-24 08:01:10] Received update: {"update_id":742845755,
"callback_query":{"id":"1192273726318283791","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":117,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1740303404,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 15,500\nProcessing Fee: KES 114\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":7,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"7654379414096940759","data":"proceed_payment"}}
[2025-02-24 08:01:12] STK Push Error: Client error: `POST https://api.safaricom.co.ke/mpesa/stkpush/v1/processrequest` resulted in a `404 Not Found` response:
{
                    "requestId":"eb7f-4b87-8ae8-e03e2dccdf0816929876",
                    "errorCode": "404.001.03",
 (truncated...)

[2025-02-24 08:01:21] Received update: {"update_id":742845756,
"message":{"message_id":124,"from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1740384081,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-24 08:01:21] Processing message: /start from chat_id: 277597859
[2025-02-24 08:01:21] Current stage: payment
[2025-02-24 08:01:23] Received update: {"update_id":742845757,
"callback_query":{"id":"1192273729250613773","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":125,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1740384081,"text":"Welcome to M-Loans! \ud83c\udf89\nYour account has been successfully created.\nStart growing your business today by borrowing an instant business loan directly to M-Pesa.","reply_markup":{"inline_keyboard":[[{"text":"\ud83d\ude80 Apply for Loan","callback_data":"start_loan"}]]}},"chat_instance":"7654379414096940759","data":"start_loan"}}
[2025-02-24 08:01:28] Received update: {"update_id":742845758,
"message":{"message_id":127,"from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1740384088,"text":"0718020630","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-02-24 08:01:28] Processing message: 0718020630 from chat_id: 277597859
[2025-02-24 08:01:28] Current stage: enter_phone
[2025-02-24 08:01:30] Received update: {"update_id":742845759,
"callback_query":{"id":"1192273728621903898","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":128,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1740384089,"text":"\u2705 Credit check completed!\n\nYour credit score: 443\nYour loan limit: KES 44,300\n\nSelect your preferred loan amount:","entities":[{"offset":46,"length":3,"type":"bold"},{"offset":67,"length":10,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"KES 15,000 in 2 Months repay 18,500","callback_data":"loan_15000"}],[{"text":"KES 30,000 in 6 Months repay 34,000","callback_data":"loan_30000"}],[{"text":"KES 50,000 in 12 Months repay 58,000","callback_data":"loan_50000"}]]}},"chat_instance":"7654379414096940759","data":"loan_30000"}}
[2025-02-24 08:01:32] Received update: {"update_id":742845760,
"callback_query":{"id":"1192273727628380895","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":129,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1740384091,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 108\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":7,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"7654379414096940759","data":"proceed_payment"}}
[2025-02-24 08:01:35] STK Push Error: Client error: `POST https://api.safaricom.co.ke/mpesa/stkpush/v1/processrequest` resulted in a `404 Not Found` response:
{
                    "requestId":"eb7f-4b87-8ae8-e03e2dccdf0816930117",
                    "errorCode": "404.001.03",
 (truncated...)

[2025-02-24 08:02:15] Received update: {"update_id":742845761,
"callback_query":{"id":"1701955603824182698","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":52,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739747880,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-02-24 08:02:17] STK Push Error: Client error: `POST https://api.safaricom.co.ke/mpesa/stkpush/v1/processrequest` resulted in a `404 Not Found` response:
{
                    "requestId":"8bb5-4b92-b7ce-12224022021d67355406",
                    "errorCode": "404.001.03",
 (truncated...)

[2025-02-24 11:08:06] Received update: {"update_id":742845762,
"callback_query":{"id":"1701955601436063644","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":52,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739747880,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-02-24 11:08:11] STK Push Response: {"MerchantRequestID":"fe1e-4199-8a60-70ebcbfc601877323530","CheckoutRequestID":"ws_CO_24022025140811052717005995","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-24 11:08:11] Created loan transaction with ID: 21
[2025-02-24 11:08:29] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"fe1e-4199-8a60-70ebcbfc601877323530","CheckoutRequestID":"ws_CO_24022025140811052717005995","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-02-24 11:08:29] Updated loan transaction status to failed
[2025-02-24 11:15:22] Received update: {"update_id":742845763,
"callback_query":{"id":"1192273726851046838","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":129,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1740384091,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 108\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":7,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"7654379414096940759","data":"proceed_payment"}}
[2025-02-24 11:15:27] STK Push Response: {"MerchantRequestID":"26c7-4b59-9cf6-cebca07c55e583750345","CheckoutRequestID":"ws_CO_24022025141526846718020630","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-24 11:15:27] Created loan transaction with ID: 22
[2025-02-24 11:15:40] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"26c7-4b59-9cf6-cebca07c55e583750345","CheckoutRequestID":"ws_CO_24022025141526846718020630","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-02-24 11:15:40] Updated loan transaction status to failed
[2025-02-24 11:51:49] Received update: {"update_id":742845764,
"callback_query":{"id":"1689656037254551054","from":{"id":393403702,"is_bot":false,"first_name":"Ronny01","username":"Ronny01","language_code":"en"},"message":{"message_id":63,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":393403702,"first_name":"Ronny01","username":"Ronny01","type":"private"},"date":1739859032,"text":"Welcome to M-Loans! \ud83c\udf89\nYour account has been successfully created.\nStart growing your business today by borrowing an instant business loan directly to M-Pesa.","reply_markup":{"inline_keyboard":[[{"text":"\ud83d\ude80 Apply for Loan","callback_data":"start_loan"}]]}},"chat_instance":"7116470586232278908","data":"start_loan"}}
[2025-02-24 11:51:59] Received update: {"update_id":742845765,
"message":{"message_id":135,"from":{"id":393403702,"is_bot":false,"first_name":"Ronny01","username":"Ronny01","language_code":"en"},"chat":{"id":393403702,"first_name":"Ronny01","username":"Ronny01","type":"private"},"date":1740397919,"text":"0717005995","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-02-24 11:51:59] Processing message: 0717005995 from chat_id: 393403702
[2025-02-24 11:51:59] Current stage: enter_phone
[2025-02-24 11:52:02] Received update: {"update_id":742845766,
"callback_query":{"id":"1689656036682251447","from":{"id":393403702,"is_bot":false,"first_name":"Ronny01","username":"Ronny01","language_code":"en"},"message":{"message_id":136,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":393403702,"first_name":"Ronny01","username":"Ronny01","type":"private"},"date":1740397920,"text":"\u2705 Credit check completed!\n\nYour credit score: 712\nYour loan limit: KES 71,200\n\nSelect your preferred loan amount:","entities":[{"offset":46,"length":3,"type":"bold"},{"offset":67,"length":10,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"KES 15,000 in 2 Months repay 18,500","callback_data":"loan_15000"}],[{"text":"KES 30,000 in 6 Months repay 34,000","callback_data":"loan_30000"}],[{"text":"KES 50,000 in 12 Months repay 58,000","callback_data":"loan_50000"}]]}},"chat_instance":"7116470586232278908","data":"loan_15000"}}
[2025-02-24 11:52:04] Received update: {"update_id":742845767,
"callback_query":{"id":"1689656034857974844","from":{"id":393403702,"is_bot":false,"first_name":"Ronny01","username":"Ronny01","language_code":"en"},"message":{"message_id":137,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":393403702,"first_name":"Ronny01","username":"Ronny01","type":"private"},"date":1740397922,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 15,500\nProcessing Fee: KES 92\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":6,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"7116470586232278908","data":"proceed_payment"}}
[2025-02-24 11:52:17] STK Push Response: {"MerchantRequestID":"2ab9-45b1-990b-bff81505433583628131","CheckoutRequestID":"ws_CO_24022025145216789717005995","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-24 11:52:17] Created loan transaction with ID: 23
[2025-02-24 11:52:50] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"2ab9-45b1-990b-bff81505433583628131","CheckoutRequestID":"ws_CO_24022025145216789717005995","ResultCode":1037,"ResultDesc":"DS timeout user cannot be reached"}}}
[2025-02-24 11:52:50] Updated loan transaction status to failed
[2025-02-24 19:53:52] Received update: {"update_id":742845768,
"callback_query":{"id":"1701955602243288556","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":52,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739747880,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-02-24 19:54:05] STK Push Response: {"MerchantRequestID":"4689-4e69-bed4-22d590e601c284216296","CheckoutRequestID":"ws_CO_24022025225404908717005995","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-24 19:54:05] Created loan transaction with ID: 24
[2025-02-24 19:54:11] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"4689-4e69-bed4-22d590e601c284216296","CheckoutRequestID":"ws_CO_24022025225404908717005995","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-02-24 19:54:11] Updated loan transaction status to failed
[2025-02-25 09:25:18] Received update: {"update_id":742845769,
"message":{"message_id":140,"from":{"id":6509355067,"is_bot":false,"first_name":"Envano","username":"Envaney","language_code":"en"},"chat":{"id":6509355067,"first_name":"Envano","username":"Envaney","type":"private"},"date":1740475517,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-25 09:25:18] Processing message: /start from chat_id: 6509355067
[2025-02-25 09:25:18] Current stage: not set
[2025-02-25 09:25:27] Received update: {"update_id":742845770,
"callback_query":{"id":"287351024116654061","from":{"id":6509355067,"is_bot":false,"first_name":"Envano","username":"Envaney","language_code":"en"},"message":{"message_id":141,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6509355067,"first_name":"Envano","username":"Envaney","type":"private"},"date":1740475519,"text":"Welcome to M-Loans! \ud83c\udf89\nYour account has been successfully created.\nStart growing your business today by borrowing an instant business loan directly to M-Pesa.","reply_markup":{"inline_keyboard":[[{"text":"\ud83d\ude80 Apply for Loan","callback_data":"start_loan"}]]}},"chat_instance":"-7686209055142571249","data":"start_loan"}}
[2025-02-25 09:25:43] Received update: {"update_id":742845771,
"message":{"message_id":143,"from":{"id":6509355067,"is_bot":false,"first_name":"Envano","username":"Envaney","language_code":"en"},"chat":{"id":6509355067,"first_name":"Envano","username":"Envaney","type":"private"},"date":1740475543,"text":"0701138033","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-02-25 09:25:43] Processing message: 0701138033 from chat_id: 6509355067
[2025-02-25 09:25:43] Current stage: enter_phone
[2025-02-25 09:26:24] Received update: {"update_id":742845772,
"callback_query":{"id":"287351023945657323","from":{"id":6509355067,"is_bot":false,"first_name":"Envano","username":"Envaney","language_code":"en"},"message":{"message_id":144,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6509355067,"first_name":"Envano","username":"Envaney","type":"private"},"date":1740475544,"text":"\u2705 Credit check completed!\n\nYour credit score: 356\nYour loan limit: KES 35,600\n\nSelect your preferred loan amount:","entities":[{"offset":46,"length":3,"type":"bold"},{"offset":67,"length":10,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"KES 15,000 in 2 Months repay 18,500","callback_data":"loan_15000"}],[{"text":"KES 30,000 in 6 Months repay 34,000","callback_data":"loan_30000"}],[{"text":"KES 50,000 in 12 Months repay 58,000","callback_data":"loan_50000"}]]}},"chat_instance":"-7686209055142571249","data":"loan_15000"}}
[2025-02-25 09:26:28] Received update: {"update_id":742845773,
"callback_query":{"id":"287351022420136731","from":{"id":6509355067,"is_bot":false,"first_name":"Envano","username":"Envaney","language_code":"en"},"message":{"message_id":145,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6509355067,"first_name":"Envano","username":"Envaney","type":"private"},"date":1740475584,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 15,500\nProcessing Fee: KES 157\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":7,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"-7686209055142571249","data":"proceed_payment"}}
[2025-02-25 09:26:35] STK Push Response: {"MerchantRequestID":"26c7-4b59-9cf6-cebca07c55e584544108","CheckoutRequestID":"ws_CO_25022025122631204701138033","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-25 09:26:35] Created loan transaction with ID: 25
[2025-02-25 09:26:47] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"26c7-4b59-9cf6-cebca07c55e584544108","CheckoutRequestID":"ws_CO_25022025122631204701138033","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-02-25 09:26:47] Updated loan transaction status to failed
[2025-02-25 10:04:36] Received update: {"update_id":742845774,
"callback_query":{"id":"1701955602483403203","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":52,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739747880,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-02-25 10:04:40] STK Push Response: {"MerchantRequestID":"15bf-4037-8029-40abed8e9ff584434905","CheckoutRequestID":"ws_CO_25022025130440032717005995","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-25 10:04:40] Created loan transaction with ID: 26
[2025-02-25 10:04:58] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"15bf-4037-8029-40abed8e9ff584434905","CheckoutRequestID":"ws_CO_25022025130440032717005995","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-02-25 10:04:58] Updated loan transaction status to failed
[2025-02-26 05:45:42] Received update: 
[2025-02-26 05:48:31] M-Pesa Callback received: 
[2025-02-26 05:50:55] Received update: 
[2025-02-26 05:52:57] M-Pesa Callback received: 
[2025-02-26 06:09:17] Received update: 
[2025-03-03 12:56:43] Received update: {"update_id":742845775,
"message":{"message_id":148,"from":{"id":6538866703,"is_bot":false,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","language_code":"en"},"chat":{"id":6538866703,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","type":"private"},"date":1741006599,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-03-03 12:56:43] Processing message: /start from chat_id: 6538866703
[2025-03-03 12:56:43] Current stage: not set
[2025-03-03 12:57:04] Received update: {"update_id":742845776,
"callback_query":{"id":"414102531735687427","from":{"id":6538866703,"is_bot":false,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","language_code":"en"},"message":{"message_id":149,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6538866703,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","type":"private"},"date":1741006606,"text":"Welcome to M-Loans! \ud83c\udf89\nYour account has been successfully created.\nStart growing your business today by borrowing an instant business loan directly to M-Pesa.","reply_markup":{"inline_keyboard":[[{"text":"\ud83d\ude80 Apply for Loan","callback_data":"start_loan"}]]}},"chat_instance":"-2859739230236231479","data":"start_loan"}}
[2025-03-03 13:29:27] Received update: {"update_id":742845777,
"message":{"message_id":151,"from":{"id":2036100787,"is_bot":false,"first_name":"0722000000","username":"O7220O0O0O0","language_code":"en","is_premium":true},"chat":{"id":2036100787,"first_name":"0722000000","username":"O7220O0O0O0","type":"private"},"date":1741008564,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-03-03 13:29:27] Processing message: /start from chat_id: 2036100787
[2025-03-03 13:29:27] Current stage: not set
[2025-03-03 13:29:30] Received update: {"update_id":742845778,
"callback_query":{"id":"8744986295547438685","from":{"id":2036100787,"is_bot":false,"first_name":"0722000000","username":"O7220O0O0O0","language_code":"en","is_premium":true},"message":{"message_id":152,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":2036100787,"first_name":"0722000000","username":"O7220O0O0O0","type":"private"},"date":1741008567,"text":"Welcome to M-Loans! \ud83c\udf89\nYour account has been successfully created.\nStart growing your business today by borrowing an instant business loan directly to M-Pesa.","reply_markup":{"inline_keyboard":[[{"text":"\ud83d\ude80 Apply for Loan","callback_data":"start_loan"}]]}},"chat_instance":"1077099953199894675","data":"start_loan"}}
[2025-03-03 13:30:01] Received update: {"update_id":742845779,
"message":{"message_id":154,"from":{"id":2036100787,"is_bot":false,"first_name":"0722000000","username":"O7220O0O0O0","language_code":"en","is_premium":true},"chat":{"id":2036100787,"first_name":"0722000000","username":"O7220O0O0O0","type":"private"},"date":1741008600,"text":"0714524656","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-03-03 13:30:01] Processing message: 0714524656 from chat_id: 2036100787
[2025-03-03 13:30:01] Current stage: enter_phone
[2025-03-03 13:30:09] Received update: {"update_id":742845780,
"callback_query":{"id":"8744986295486635282","from":{"id":2036100787,"is_bot":false,"first_name":"0722000000","username":"O7220O0O0O0","language_code":"en","is_premium":true},"message":{"message_id":155,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":2036100787,"first_name":"0722000000","username":"O7220O0O0O0","type":"private"},"date":1741008601,"text":"\u2705 Credit check completed!\n\nYour credit score: 730\nYour loan limit: KES 73,000\n\nSelect your preferred loan amount:","entities":[{"offset":46,"length":3,"type":"bold"},{"offset":67,"length":10,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"KES 15,000 in 2 Months repay 18,500","callback_data":"loan_15000"}],[{"text":"KES 30,000 in 6 Months repay 34,000","callback_data":"loan_30000"}],[{"text":"KES 50,000 in 12 Months repay 58,000","callback_data":"loan_50000"}]]}},"chat_instance":"1077099953199894675","data":"loan_15000"}}
[2025-03-03 13:30:11] Received update: {"update_id":742845781,
"callback_query":{"id":"8744986292329544492","from":{"id":2036100787,"is_bot":false,"first_name":"0722000000","username":"O7220O0O0O0","language_code":"en","is_premium":true},"message":{"message_id":156,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":2036100787,"first_name":"0722000000","username":"O7220O0O0O0","type":"private"},"date":1741008609,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 15,500\nProcessing Fee: KES 162\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":7,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"1077099953199894675","data":"proceed_payment"}}
[2025-03-03 13:30:25] STK Push Response: {"MerchantRequestID":"0831-42c3-b374-3654788f3f9d879502","CheckoutRequestID":"ws_CO_03032025163025188714524656","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-03-03 13:30:25] Created loan transaction with ID: 27
[2025-03-03 13:30:33] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"0831-42c3-b374-3654788f3f9d879502","CheckoutRequestID":"ws_CO_03032025163025188714524656","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-03-03 13:30:33] Updated loan transaction status to failed
[2025-03-03 13:34:05] Received update: {"update_id":742845782,
"callback_query":{"id":"8744986291853932004","from":{"id":2036100787,"is_bot":false,"first_name":"0722000000","username":"O7220O0O0O0","language_code":"en","is_premium":true},"message":{"message_id":156,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":2036100787,"first_name":"0722000000","username":"O7220O0O0O0","type":"private"},"date":1741008609,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 15,500\nProcessing Fee: KES 162\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":7,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"1077099953199894675","data":"proceed_payment"}}
[2025-03-03 13:34:11] STK Push Response: {"MerchantRequestID":"8bb5-4b92-b7ce-12224022021d84278430","CheckoutRequestID":"ws_CO_03032025163408890714524656","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-03-03 13:34:11] Created loan transaction with ID: 28
[2025-03-03 13:34:25] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"8bb5-4b92-b7ce-12224022021d84278430","CheckoutRequestID":"ws_CO_03032025163408890714524656","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-03-03 13:34:25] Updated loan transaction status to failed
[2025-03-03 13:36:09] Received update: {"update_id":742845783,
"message":{"message_id":159,"from":{"id":6538866703,"is_bot":false,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","language_code":"en"},"chat":{"id":6538866703,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","type":"private"},"date":1741008968,"text":"0757391736","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-03-03 13:36:09] Processing message: 0757391736 from chat_id: 6538866703
[2025-03-03 13:36:09] Current stage: enter_phone
[2025-03-03 13:36:57] Received update: {"update_id":742845784,
"message":{"message_id":161,"from":{"id":6538866703,"is_bot":false,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","language_code":"en"},"chat":{"id":6538866703,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","type":"private"},"date":1741009017,"text":"50,000"}}
[2025-03-03 13:36:57] Processing message: 50,000 from chat_id: 6538866703
[2025-03-03 13:36:57] Current stage: loan_selection
[2025-03-03 13:37:08] Received update: {"update_id":742845785,
"message":{"message_id":163,"from":{"id":6538866703,"is_bot":false,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","language_code":"en"},"chat":{"id":6538866703,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","type":"private"},"date":1741009028,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-03-03 13:37:08] Processing message: /start from chat_id: 6538866703
[2025-03-03 13:37:08] Current stage: loan_selection
[2025-03-06 13:27:20] Received update: {"update_id":742845786,
"message":{"message_id":165,"from":{"id":6538866703,"is_bot":false,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","language_code":"en"},"chat":{"id":6538866703,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","type":"private"},"date":1741267637,"text":"Start"}}
[2025-03-06 13:27:20] Processing message: Start from chat_id: 6538866703
[2025-03-06 13:27:20] Current stage: welcome
[2025-03-06 13:27:30] Received update: {"update_id":742845787,
"message":{"message_id":167,"from":{"id":6538866703,"is_bot":false,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","language_code":"en"},"chat":{"id":6538866703,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","type":"private"},"date":1741267649,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-03-06 13:27:30] Processing message: /start from chat_id: 6538866703
[2025-03-06 13:27:30] Current stage: welcome
[2025-03-06 13:27:48] Received update: {"update_id":742845788,
"callback_query":{"id":"414102533907755718","from":{"id":6538866703,"is_bot":false,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","language_code":"en"},"message":{"message_id":168,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6538866703,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","type":"private"},"date":1741267651,"text":"Welcome to M-Loans! \ud83c\udf89\nYour account has been successfully created.\nStart growing your business today by borrowing an instant business loan directly to M-Pesa.","reply_markup":{"inline_keyboard":[[{"text":"\ud83d\ude80 Apply for Loan","callback_data":"start_loan"}]]}},"chat_instance":"-2859739230236231479","data":"start_loan"}}
[2025-03-06 13:28:24] Received update: {"update_id":742845789,
"message":{"message_id":170,"from":{"id":6538866703,"is_bot":false,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","language_code":"en"},"chat":{"id":6538866703,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","type":"private"},"date":1741267703,"text":"0728295643","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-03-06 13:28:24] Processing message: 0728295643 from chat_id: 6538866703
[2025-03-06 13:28:24] Current stage: enter_phone
[2025-03-06 13:28:58] Received update: {"update_id":742845790,
"message":{"message_id":172,"from":{"id":6538866703,"is_bot":false,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","language_code":"en"},"chat":{"id":6538866703,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","type":"private"},"date":1741267737,"text":"50000"}}
[2025-03-06 13:28:58] Processing message: 50000 from chat_id: 6538866703
[2025-03-06 13:28:58] Current stage: loan_selection
[2025-03-06 13:29:27] Received update: {"update_id":742845791,
"callback_query":{"id":"414102534220978593","from":{"id":6538866703,"is_bot":false,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","language_code":"en"},"message":{"message_id":171,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6538866703,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","type":"private"},"date":1741267705,"text":"\u2705 Credit check completed!\n\nYour credit score: 621\nYour loan limit: KES 62,100\n\nSelect your preferred loan amount:","entities":[{"offset":46,"length":3,"type":"bold"},{"offset":67,"length":10,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"KES 15,000 in 2 Months repay 18,500","callback_data":"loan_15000"}],[{"text":"KES 30,000 in 6 Months repay 34,000","callback_data":"loan_30000"}],[{"text":"KES 50,000 in 12 Months repay 58,000","callback_data":"loan_50000"}]]}},"chat_instance":"-2859739230236231479","data":"loan_50000"}}
[2025-03-06 13:29:28] Received update: {"update_id":742845792,
"callback_query":{"id":"414102533392141262","from":{"id":6538866703,"is_bot":false,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","language_code":"en"},"message":{"message_id":171,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6538866703,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","type":"private"},"date":1741267705,"text":"\u2705 Credit check completed!\n\nYour credit score: 621\nYour loan limit: KES 62,100\n\nSelect your preferred loan amount:","entities":[{"offset":46,"length":3,"type":"bold"},{"offset":67,"length":10,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"KES 15,000 in 2 Months repay 18,500","callback_data":"loan_15000"}],[{"text":"KES 30,000 in 6 Months repay 34,000","callback_data":"loan_30000"}],[{"text":"KES 50,000 in 12 Months repay 58,000","callback_data":"loan_50000"}]]}},"chat_instance":"-2859739230236231479","data":"loan_50000"}}
[2025-03-06 13:29:31] Received update: {"update_id":742845793,
"callback_query":{"id":"414102533057868533","from":{"id":6538866703,"is_bot":false,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","language_code":"en"},"message":{"message_id":171,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6538866703,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","type":"private"},"date":1741267705,"text":"\u2705 Credit check completed!\n\nYour credit score: 621\nYour loan limit: KES 62,100\n\nSelect your preferred loan amount:","entities":[{"offset":46,"length":3,"type":"bold"},{"offset":67,"length":10,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"KES 15,000 in 2 Months repay 18,500","callback_data":"loan_15000"}],[{"text":"KES 30,000 in 6 Months repay 34,000","callback_data":"loan_30000"}],[{"text":"KES 50,000 in 12 Months repay 58,000","callback_data":"loan_50000"}]]}},"chat_instance":"-2859739230236231479","data":"loan_50000"}}
[2025-03-06 13:29:33] Received update: {"update_id":742845794,
"callback_query":{"id":"414102532153697736","from":{"id":6538866703,"is_bot":false,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","language_code":"en"},"message":{"message_id":171,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6538866703,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","type":"private"},"date":1741267705,"text":"\u2705 Credit check completed!\n\nYour credit score: 621\nYour loan limit: KES 62,100\n\nSelect your preferred loan amount:","entities":[{"offset":46,"length":3,"type":"bold"},{"offset":67,"length":10,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"KES 15,000 in 2 Months repay 18,500","callback_data":"loan_15000"}],[{"text":"KES 30,000 in 6 Months repay 34,000","callback_data":"loan_30000"}],[{"text":"KES 50,000 in 12 Months repay 58,000","callback_data":"loan_50000"}]]}},"chat_instance":"-2859739230236231479","data":"loan_30000"}}
[2025-03-06 13:29:53] Received update: {"update_id":742845795,
"callback_query":{"id":"414102535523776630","from":{"id":6538866703,"is_bot":false,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","language_code":"en"},"message":{"message_id":176,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6538866703,"first_name":"BIGWIN","last_name":"TIPS","username":"BIGWINGINO","type":"private"},"date":1741267772,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 50,000\nRepayment Period: 12 months\nTotal Repayment: KES 54,000\nProcessing Fee: KES 157\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":9,"type":"bold"},{"offset":86,"length":10,"type":"bold"},{"offset":113,"length":7,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"-2859739230236231479","data":"proceed_payment"}}
[2025-03-06 13:29:58] STK Push Response: {"MerchantRequestID":"9d12-4a28-89e7-a02b5105c6622336075","CheckoutRequestID":"ws_CO_06032025162956533728295643","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-03-06 13:29:58] Created loan transaction with ID: 29
[2025-03-06 13:30:25] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"9d12-4a28-89e7-a02b5105c6622336075","CheckoutRequestID":"ws_CO_06032025162956533728295643","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-03-06 13:30:25] Updated loan transaction status to failed
[2025-03-07 17:30:15] Received update: {"update_id":742845796,
"callback_query":{"id":"1701955603379500069","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":52,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739747880,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-03-07 17:30:31] STK Push Response: {"MerchantRequestID":"7866-4c59-bfa2-71e9c340c4893803865","CheckoutRequestID":"ws_CO_07032025203029518717005995","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-03-07 17:30:31] Created loan transaction with ID: 30
[2025-03-07 17:30:37] Received update: {"update_id":742845797,
"callback_query":{"id":"1701955601928502419","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":52,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739747880,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-03-07 17:30:39] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"7866-4c59-bfa2-71e9c340c4893803865","CheckoutRequestID":"ws_CO_07032025203029518717005995","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-03-07 17:30:39] Updated loan transaction status to failed
[2025-03-07 17:30:50] STK Push Response: {"MerchantRequestID":"f0b7-410a-bdf6-a93f3f87e2b27330139","CheckoutRequestID":"ws_CO_07032025203040533717005995","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-03-07 17:30:50] Created loan transaction with ID: 31
[2025-03-07 17:30:52] Received update: {"update_id":742845798,
"callback_query":{"id":"1701955603875670670","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":52,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739747880,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-03-07 17:31:01] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"f0b7-410a-bdf6-a93f3f87e2b27330139","CheckoutRequestID":"ws_CO_07032025203040533717005995","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-03-07 17:31:01] Updated loan transaction status to failed
[2025-03-07 17:31:08] STK Push Response: {"MerchantRequestID":"5a79-447c-8c9a-a7f95442d0c07329530","CheckoutRequestID":"ws_CO_07032025203100465717005995","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-03-07 17:31:08] Created loan transaction with ID: 32
[2025-03-07 17:31:09] Received update: {"update_id":742845799,
"callback_query":{"id":"1701955602752372101","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":52,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739747880,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-03-07 17:31:12] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"5a79-447c-8c9a-a7f95442d0c07329530","CheckoutRequestID":"ws_CO_07032025203100465717005995","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-03-07 17:31:12] Updated loan transaction status to failed
[2025-03-07 17:31:16] STK Push Response: {"MerchantRequestID":"d4b8-496f-8801-295f5e19302c5388175","CheckoutRequestID":"ws_CO_07032025203112234717005995","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-03-07 17:31:16] Created loan transaction with ID: 33
[2025-03-07 17:31:18] Received update: {"update_id":742845800,
"callback_query":{"id":"1701955603020487708","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":42,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739712353,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-03-07 17:31:21] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"d4b8-496f-8801-295f5e19302c5388175","CheckoutRequestID":"ws_CO_07032025203112234717005995","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-03-07 17:31:21] Updated loan transaction status to failed
[2025-03-07 17:31:24] STK Push Response: {"MerchantRequestID":"d4b8-496f-8801-295f5e19302c5388401","CheckoutRequestID":"ws_CO_07032025203120762717005995","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-03-07 17:31:24] Created loan transaction with ID: 34
[2025-03-07 17:31:25] Received update: {"update_id":742845801,
"callback_query":{"id":"1701955600930509671","from":{"id":6838718362,"is_bot":false,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","language_code":"en"},"message":{"message_id":42,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":6838718362,"first_name":"aviatorsignalsapp","username":"Avitorsignalsapp","type":"private"},"date":1739712353,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"5336381800429272076","data":"proceed_payment"}}
[2025-03-07 17:31:29] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"d4b8-496f-8801-295f5e19302c5388401","CheckoutRequestID":"ws_CO_07032025203120762717005995","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-03-07 17:31:29] Updated loan transaction status to failed
[2025-03-07 17:31:31] STK Push Response: {"MerchantRequestID":"d4b8-496f-8801-295f5e19302c5388595","CheckoutRequestID":"ws_CO_07032025203127779717005995","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-03-07 17:31:31] Created loan transaction with ID: 35
[2025-03-07 17:31:36] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"d4b8-496f-8801-295f5e19302c5388595","CheckoutRequestID":"ws_CO_07032025203127779717005995","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-03-07 17:31:36] Updated loan transaction status to failed
[2025-03-08 15:47:33] Received update: {"update_id":742845802,
"callback_query":{"id":"4688716579547923009","from":{"id":1091676899,"is_bot":false,"first_name":"Dolce memelod","username":"dolce_meme","language_code":"en"},"message":{"message_id":91,"from":{"id":7598347909,"is_bot":true,"first_name":"M-loans","username":"Mloans_Bot"},"chat":{"id":1091676899,"first_name":"Dolce memelod","username":"dolce_meme","type":"private"},"date":1740059133,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 31,000\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","entities":[{"offset":30,"length":10,"type":"bold"},{"offset":59,"length":8,"type":"bold"},{"offset":85,"length":10,"type":"bold"},{"offset":112,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"-9057954883306452179","data":"proceed_payment"}}
[2025-03-08 15:47:39] STK Push Response: {"MerchantRequestID":"d4b8-496f-8801-295f5e19302c6683998","CheckoutRequestID":"ws_CO_08032025184738217703269957","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-03-08 15:47:40] Created loan transaction with ID: 36
[2025-03-08 15:47:42] Received update: {"update_id":742845803,
"message":{"message_id":186,"from":{"id":1091676899,"is_bot":false,"first_name":"Dolce memelod","username":"dolce_meme","language_code":"en"},"chat":{"id":1091676899,"first_name":"Dolce memelod","username":"dolce_meme","type":"private"},"date":1741448861,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-03-08 15:47:42] Processing message: /start from chat_id: 1091676899
[2025-03-08 15:47:42] Current stage: payment
[2025-03-08 15:48:12] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"d4b8-496f-8801-295f5e19302c6683998","CheckoutRequestID":"ws_CO_08032025184738217703269957","ResultCode":1037,"ResultDesc":"DS timeout user cannot be reached"}}}
[2025-03-08 15:48:12] Updated loan transaction status to failed
