[2025-02-16 11:45:54] Received update: {"update_id":82356076,
"message":{"message_id":315,"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":1739706353,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-16 11:45:54] Processing message: /start from chat_id: 277597859
[2025-02-16 11:45:54] Current stage: payment
[2025-02-16 11:45:56] Received update: {"update_id":82356077,
"callback_query":{"id":"1192273727642758335","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":316,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739706354,"text":"Welcome to LoanKe! \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":"6372356551956809933","data":"start_loan"}}
[2025-02-16 11:46:03] Received update: {"update_id":82356078,
"message":{"message_id":318,"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":1739706363,"text":"0718020630","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-02-16 11:46:03] Processing message: 0718020630 from chat_id: 277597859
[2025-02-16 11:46:03] Current stage: enter_phone
[2025-02-16 11:46:10] Received update: {"update_id":82356079,
"callback_query":{"id":"1192273727112684792","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":319,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739706363,"text":"\u2705 Credit check completed!\n\nYour credit score: 493\nYour loan limit: KES 49,300\n\nSelect your preferred loan amount:","reply_markup":{"inline_keyboard":[[{"text":"KES 15,000","callback_data":"loan_15000"}],[{"text":"KES 30,000","callback_data":"loan_30000"}],[{"text":"KES 50,000","callback_data":"loan_50000"}]]}},"chat_instance":"6372356551956809933","data":"loan_15000"}}
[2025-02-16 11:46:13] Received update: {"update_id":82356080,
"callback_query":{"id":"1192273727050511742","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":320,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739706370,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 4 months\nProcessing Fee: KES 1\n\nClick proceed to pay the processing fee via M-Pesa.","reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"6372356551956809933","data":"proceed_payment"}}
[2025-02-16 11:46:16] STK Push Response: {"MerchantRequestID":"dda4-4a46-bf82-46626af48c9d7480415","CheckoutRequestID":"ws_CO_16022025144616010718020630","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-16 11:46:16] Created loan transaction with ID: 4
[2025-02-16 11:46:23] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"dda4-4a46-bf82-46626af48c9d7480415","CheckoutRequestID":"ws_CO_16022025144616010718020630","ResultCode":0,"ResultDesc":"The service request is processed successfully.","CallbackMetadata":{"Item":[{"Name":"Amount","Value":1.00},{"Name":"MpesaReceiptNumber","Value":"TBG7A35HQB"},{"Name":"Balance"},{"Name":"TransactionDate","Value":20250216144622},{"Name":"PhoneNumber","Value":254718020630}]}}}}
[2025-02-16 11:46:23] Processing callback - ResultCode: 0, MerchantRequestID: dda4-4a46-bf82-46626af48c9d7480415
[2025-02-16 11:46:23] Payment successful - Amount: 1, Receipt: TBG7A35HQB, Phone: 254718020630
[2025-02-16 11:46:23] Transaction updated successfully
[2025-02-16 11:46:23] Found/Created user: {"id":1,"chat_id":277597859,"phone_number":"254718020630","first_name":"KaleliOne","last_name":null,"credit_score":493,"loan_limit":"49300.00","status":"active","created_at":"2025-02-16 06:22:09","updated_at":"2025-02-16 06:46:03"}
[2025-02-16 11:46:23] Retrieved state for chat_id 277597859: {"stage":"payment","chat_id":277597859,"phone":"254718020630","user_id":1,"loan_amount":"15000","processing_fee":1,"merchant_request_id":"dda4-4a46-bf82-46626af48c9d7480415","transaction_id":"4"}
[2025-02-16 11:46:23] Created loan with ID: 2
[2025-02-16 11:46:23] Telegram message result: {"ok":true,"result":{"message_id":322,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739706383,"text":"\u2705 Payment Successful!\n\nYour loan application has been submitted successfully.\nTransaction ID: TBG7A35HQB\n\nYou will receive your loan after verification.\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"}]]}}}
[2025-02-16 11:51:32] Received update: {"update_id":82356081,
"message":{"message_id":323,"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":1739706691,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-16 11:51:32] Processing message: /start from chat_id: 277597859
[2025-02-16 11:51:32] Current stage: payment
[2025-02-16 11:51:34] Received update: {"update_id":82356082,
"callback_query":{"id":"1192273727293877307","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":324,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739706692,"text":"Welcome to LoanKe! \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":"6372356551956809933","data":"start_loan"}}
[2025-02-16 11:51:49] Received update: {"update_id":82356083,
"message":{"message_id":326,"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":1739706708,"text":"0718020630","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-02-16 11:51:49] Processing message: 0718020630 from chat_id: 277597859
[2025-02-16 11:51:49] Current stage: enter_phone
[2025-02-16 11:54:40] Received update: {"update_id":82356084,
"message":{"message_id":328,"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":1739706879,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-16 11:54:40] Processing message: /start from chat_id: 277597859
[2025-02-16 11:54:40] Current stage: loan_selection
[2025-02-16 11:54:42] Received update: {"update_id":82356085,
"callback_query":{"id":"1192273726581987991","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":329,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739706880,"text":"Welcome to LoanKe! \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":"6372356551956809933","data":"start_loan"}}
[2025-02-16 11:54:51] Received update: {"update_id":82356086,
"message":{"message_id":331,"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":1739706891,"text":"0718020630","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-02-16 11:54:51] Processing message: 0718020630 from chat_id: 277597859
[2025-02-16 11:54:51] Current stage: enter_phone
[2025-02-16 11:56:17] Received update: {"update_id":82356087,
"message":{"message_id":333,"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":1739706976,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-16 11:56:17] Processing message: /start from chat_id: 277597859
[2025-02-16 11:56:17] Current stage: loan_selection
[2025-02-16 11:56:18] Received update: {"update_id":82356088,
"callback_query":{"id":"1192273725980359139","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":334,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739706977,"text":"Welcome to LoanKe! \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":"6372356551956809933","data":"start_loan"}}
[2025-02-16 11:56:24] Received update: {"update_id":82356089,
"message":{"message_id":336,"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":1739706984,"text":"0718020630","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-02-16 11:56:24] Processing message: 0718020630 from chat_id: 277597859
[2025-02-16 11:56:24] Current stage: enter_phone
[2025-02-16 11:56:45] Received update: {"update_id":82356090,
"callback_query":{"id":"1192273728864872652","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":337,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739706984,"text":"\u2705 Credit check completed!\n\nYour credit score: 674\nYour loan limit: KES 67,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":"6372356551956809933","data":"loan_15000"}}
[2025-02-16 11:57:01] Received update: {"update_id":82356091,
"callback_query":{"id":"1192273729492499814","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":337,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739706984,"text":"\u2705 Credit check completed!\n\nYour credit score: 674\nYour loan limit: KES 67,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":"6372356551956809933","data":"loan_30000"}}
[2025-02-16 11:57:11] Received update: {"update_id":82356092,
"callback_query":{"id":"1192273726237906445","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":337,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739706984,"text":"\u2705 Credit check completed!\n\nYour credit score: 674\nYour loan limit: KES 67,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":"6372356551956809933","data":"loan_50000"}}
[2025-02-16 12:01:57] Received update: {"update_id":82356093,
"message":{"message_id":341,"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":1739707317,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-16 12:01:57] Processing message: /start from chat_id: 277597859
[2025-02-16 12:01:57] Current stage: payment
[2025-02-16 12:01:59] Received update: {"update_id":82356094,
"callback_query":{"id":"1192273729858417267","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":342,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739707318,"text":"Welcome to LoanKe! \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":"6372356551956809933","data":"start_loan"}}
[2025-02-16 12:02:08] Received update: {"update_id":82356095,
"message":{"message_id":344,"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":1739707328,"text":"0718020630","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-02-16 12:02:08] Processing message: 0718020630 from chat_id: 277597859
[2025-02-16 12:02:08] Current stage: enter_phone
[2025-02-16 12:02:12] Received update: {"update_id":82356096,
"callback_query":{"id":"1192273727022364828","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":345,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739707329,"text":"\u2705 Credit check completed!\n\nYour credit score: 742\nYour loan limit: KES 74,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":"6372356551956809933","data":"loan_30000"}}
[2025-02-16 12:02:29] Received update: {"update_id":82356097,
"callback_query":{"id":"1192273729379449030","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":345,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739707329,"text":"\u2705 Credit check completed!\n\nYour credit score: 742\nYour loan limit: KES 74,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":"6372356551956809933","data":"loan_50000"}}
[2025-02-16 12:02:34] Received update: {"update_id":82356098,
"callback_query":{"id":"1192273726565189353","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":345,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739707329,"text":"\u2705 Credit check completed!\n\nYour credit score: 742\nYour loan limit: KES 74,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":"6372356551956809933","data":"loan_15000"}}
[2025-02-16 12:02:38] Received update: {"update_id":82356099,
"callback_query":{"id":"1192273727094526667","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":348,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739707354,"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":"6372356551956809933","data":"proceed_payment"}}
[2025-02-16 12:02:41] STK Push Response: {"MerchantRequestID":"0da5-4857-befe-cc20d5d8a4de1948821","CheckoutRequestID":"ws_CO_16022025150240866718020630","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-16 12:02:41] Created loan transaction with ID: 5
[2025-02-16 12:02:50] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"0da5-4857-befe-cc20d5d8a4de1948821","CheckoutRequestID":"ws_CO_16022025150240866718020630","ResultCode":0,"ResultDesc":"The service request is processed successfully.","CallbackMetadata":{"Item":[{"Name":"Amount","Value":1.00},{"Name":"MpesaReceiptNumber","Value":"TBG2A5JQ2A"},{"Name":"Balance"},{"Name":"TransactionDate","Value":20250216150249},{"Name":"PhoneNumber","Value":254718020630}]}}}}
[2025-02-16 12:02:50] Processing callback - ResultCode: 0, MerchantRequestID: 0da5-4857-befe-cc20d5d8a4de1948821
[2025-02-16 12:02:50] Payment successful - Amount: 1, Receipt: TBG2A5JQ2A, Phone: 254718020630
[2025-02-16 12:02:50] Transaction updated successfully
[2025-02-16 12:02:50] Found/Created user: {"id":1,"chat_id":277597859,"phone_number":"254718020630","first_name":"KaleliOne","last_name":null,"credit_score":742,"loan_limit":"74200.00","status":"active","created_at":"2025-02-16 06:22:09","updated_at":"2025-02-16 07:02:08"}
[2025-02-16 12:02:50] Retrieved state for chat_id 277597859: {"stage":"payment","chat_id":277597859,"phone":"254718020630","user_id":1,"loan_amount":"15000","processing_fee":1,"merchant_request_id":"0da5-4857-befe-cc20d5d8a4de1948821","transaction_id":"5"}
[2025-02-16 12:02:50] Created loan with ID: 3
[2025-02-16 12:02:50] Telegram message result: {"ok":true,"result":{"message_id":350,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739707370,"text":"\u2705 Payment Successful!\n\nYour loan application has been submitted successfully.\nTransaction ID: TBG2A5JQ2A\n\nYou will receive your loan after verification.\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"}]]}}}
[2025-02-16 12:02:54] Received update: {"update_id":82356100,
"callback_query":{"id":"1192273726943207235","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":350,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739707370,"text":"\u2705 Payment Successful!\n\nYour loan application has been submitted successfully.\nTransaction ID: TBG2A5JQ2A\n\nYou will receive your loan after verification.\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":"6372356551956809933","data":"contact_us"}}
[2025-02-16 12:02:59] Received update: {"update_id":82356101,
"callback_query":{"id":"1192273729310763644","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":350,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739707370,"text":"\u2705 Payment Successful!\n\nYour loan application has been submitted successfully.\nTransaction ID: TBG2A5JQ2A\n\nYou will receive your loan after verification.\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":"6372356551956809933","data":"view_terms"}}
[2025-02-16 12:03:12] Received update: {"update_id":82356102,
"callback_query":{"id":"1192273728808674370","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":350,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739707370,"text":"\u2705 Payment Successful!\n\nYour loan application has been submitted successfully.\nTransaction ID: TBG2A5JQ2A\n\nYou will receive your loan after verification.\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":"6372356551956809933","data":"refer_friends"}}
[2025-02-16 12:06:32] Received update: {"update_id":82356103,
"message":{"message_id":354,"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":1739707592,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-16 12:06:32] Processing message: /start from chat_id: 277597859
[2025-02-16 12:06:32] Current stage: payment
[2025-02-16 12:06:34] Received update: {"update_id":82356104,
"callback_query":{"id":"1192273726066537480","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":355,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739707593,"text":"Welcome to LoanKe! \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":"6372356551956809933","data":"start_loan"}}
[2025-02-16 12:06:43] Received update: {"update_id":82356105,
"message":{"message_id":357,"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":1739707602,"text":"0718020630","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-02-16 12:06:43] Processing message: 0718020630 from chat_id: 277597859
[2025-02-16 12:06:43] Current stage: enter_phone
[2025-02-16 12:06:46] Received update: {"update_id":82356106,
"callback_query":{"id":"1192273726758146864","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":358,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739707603,"text":"\u2705 Credit check completed!\n\nYour credit score: 596\nYour loan limit: KES 59,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":"6372356551956809933","data":"loan_30000"}}
[2025-02-16 12:06:49] Received update: {"update_id":82356107,
"callback_query":{"id":"1192273727489628034","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":359,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739707606,"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":"6372356551956809933","data":"proceed_payment"}}
[2025-02-16 12:07:00] STK Push Response: {"MerchantRequestID":"26c7-4b59-9cf6-cebca07c55e576207718","CheckoutRequestID":"ws_CO_16022025150656077718020630","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-16 12:07:00] Created loan transaction with ID: 6
[2025-02-16 12:07:04] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"26c7-4b59-9cf6-cebca07c55e576207718","CheckoutRequestID":"ws_CO_16022025150656077718020630","ResultCode":0,"ResultDesc":"The service request is processed successfully.","CallbackMetadata":{"Item":[{"Name":"Amount","Value":1.00},{"Name":"MpesaReceiptNumber","Value":"TBG1A65XBL"},{"Name":"Balance"},{"Name":"TransactionDate","Value":20250216150703},{"Name":"PhoneNumber","Value":254718020630}]}}}}
[2025-02-16 12:07:04] Created loan with ID: 4
[2025-02-16 12:07:04] Updated loan transaction with loan_id: 4 and status: completed
[2025-02-16 12:07:31] Received update: {"update_id":82356108,
"callback_query":{"id":"1192273726214311491","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":361,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739707625,"text":"\u2705 Payment Successful!\n\nYour loan application has been submitted successfully.\nTransaction ID: TBG1A65XBL\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":"6372356551956809933","data":"contact_us"}}
[2025-02-16 12:07:34] Received update: {"update_id":82356109,
"callback_query":{"id":"1192273725935004557","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":361,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739707625,"text":"\u2705 Payment Successful!\n\nYour loan application has been submitted successfully.\nTransaction ID: TBG1A65XBL\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":"6372356551956809933","data":"refer_friends"}}
[2025-02-16 12:07:37] Received update: {"update_id":82356110,
"callback_query":{"id":"1192273726261061801","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":361,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739707625,"text":"\u2705 Payment Successful!\n\nYour loan application has been submitted successfully.\nTransaction ID: TBG1A65XBL\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":"6372356551956809933","data":"view_terms"}}
[2025-02-16 12:31:40] Received update: 
[2025-02-16 12:40:44] Received update: {"update_id":82356111,
"message":{"message_id":365,"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":1739709643,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-16 12:40:44] Processing message: /start from chat_id: 277597859
[2025-02-16 12:40:44] Current stage: payment
[2025-02-16 12:44:49] Received update: {"update_id":82356112,
"message":{"message_id":367,"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":1739709889,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-16 12:44:49] Processing message: /start from chat_id: 277597859
[2025-02-16 12:44:49] Current stage: welcome
[2025-02-16 16:30:25] Received update: {"update_id":82356113,
"message":{"message_id":373,"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":1739723423,"text":"Start"}}
[2025-02-16 16:30:26] Processing message: Start from chat_id: 277597859
[2025-02-16 16:30:26] Current stage: welcome
[2025-02-16 16:30:32] Received update: {"update_id":82356114,
"message":{"message_id":375,"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":1739723432,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-16 16:30:32] Processing message: /start from chat_id: 277597859
[2025-02-16 16:30:32] Current stage: welcome
[2025-02-16 16:30:34] Received update: {"update_id":82356115,
"callback_query":{"id":"1192273729152842898","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":376,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739723432,"text":"Welcome to LoanKe! \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":"6372356551956809933","data":"start_loan"}}
[2025-02-16 16:30:44] Received update: {"update_id":82356116,
"message":{"message_id":378,"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":1739723442,"text":"0718020630","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-02-16 16:30:44] Processing message: 0718020630 from chat_id: 277597859
[2025-02-16 16:30:44] Current stage: enter_phone
[2025-02-16 16:30:47] Received update: {"update_id":82356117,
"callback_query":{"id":"1192273727448369404","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":379,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739723444,"text":"\u2705 Credit check completed!\n\nYour credit score: 620\nYour loan limit: KES 62,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":"6372356551956809933","data":"loan_15000"}}
[2025-02-16 21:54:19] M-Pesa Callback received: 
[2025-02-16 21:54:29] Received update: 
[2025-02-16 21:54:38] Received update: 
[2025-02-17 09:13:53] Received update: {"update_id":82356118,
"message":{"message_id":381,"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":1739783630,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-17 09:13:53] Processing message: /start from chat_id: 277597859
[2025-02-17 09:13:53] Current stage: payment
[2025-02-17 09:14:08] Received update: {"update_id":82356119,
"callback_query":{"id":"1192273727304672689","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":382,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739783635,"text":"Welcome to LoanKe! \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":"6372356551956809933","data":"start_loan"}}
[2025-02-17 09:14:19] Received update: {"update_id":82356120,
"message":{"message_id":384,"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":1739783659,"text":"0718020630","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-02-17 09:14:19] Processing message: 0718020630 from chat_id: 277597859
[2025-02-17 09:14:19] Current stage: enter_phone
[2025-02-17 09:17:21] Received update: {"update_id":82356121,
"message":{"message_id":386,"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":1739783841,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-17 09:17:21] Processing message: /start from chat_id: 277597859
[2025-02-17 09:17:21] Current stage: loan_selection
[2025-02-17 09:17:23] Received update: {"update_id":82356122,
"callback_query":{"id":"1192273730074353175","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":387,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739783841,"text":"Welcome to LoanKe! \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":"6372356551956809933","data":"start_loan"}}
[2025-02-17 09:17:31] Received update: {"update_id":82356123,
"message":{"message_id":389,"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":1739783851,"text":"0718020630","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-02-17 09:17:31] Processing message: 0718020630 from chat_id: 277597859
[2025-02-17 09:17:31] Current stage: enter_phone
[2025-02-17 09:17:36] Received update: {"update_id":82356124,
"callback_query":{"id":"1192273727365269160","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":390,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739783852,"text":"\u2705 Credit check completed!\n\nYour credit score: 334\nYour loan limit: KES 33,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 16,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":"6372356551956809933","data":"loan_15000"}}
[2025-02-17 09:22:01] Received update: {"update_id":82356125,
"message":{"message_id":392,"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":1739784121,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-17 09:22:01] Processing message: /start from chat_id: 277597859
[2025-02-17 09:22:01] Current stage: payment
[2025-02-17 09:22:03] Received update: {"update_id":82356126,
"callback_query":{"id":"1192273729548061717","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":393,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739784122,"text":"Welcome to LoanKe! \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":"6372356551956809933","data":"start_loan"}}
[2025-02-17 09:22:12] Received update: {"update_id":82356127,
"message":{"message_id":395,"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":1739784132,"text":"0718020630","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-02-17 09:22:12] Processing message: 0718020630 from chat_id: 277597859
[2025-02-17 09:22:12] Current stage: enter_phone
[2025-02-17 09:22:14] Received update: {"update_id":82356128,
"callback_query":{"id":"1192273728316950464","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":396,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739784132,"text":"\u2705 Credit check completed!\n\nYour credit score: 673\nYour loan limit: KES 67,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 16,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":"6372356551956809933","data":"loan_15000"}}
[2025-02-17 09:22:19] Received update: {"update_id":82356129,
"callback_query":{"id":"1192273727730171258","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":397,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739784135,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 16,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":"6372356551956809933","data":"proceed_payment"}}
[2025-02-17 09:22:32] STK Push Error: Client error: `POST https://api.safaricom.co.ke/mpesa/stkpush/v1/processrequest` resulted in a `404 Not Found` response:
{
                    "requestId":"15bf-4037-8029-40abed8e9ff577549763",
                    "errorCode": "404.001.03",
 (truncated...)

[2025-02-17 09:33:02] Received update: {"update_id":82356130,
"callback_query":{"id":"1192273727331662893","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":397,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739784135,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 16,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":"6372356551956809933","data":"proceed_payment"}}
[2025-02-17 09:33:05] STK Push Error: Client error: `POST https://api.safaricom.co.ke/mpesa/stkpush/v1/processrequest` resulted in a `404 Not Found` response:
{
                    "requestId":"43eb-4e88-93af-c21af0171a6d77612415",
                    "errorCode": "404.001.03",
 (truncated...)

[2025-02-17 09:56:59] Received update: {"update_id":82356131,
"callback_query":{"id":"1192273728273618144","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":397,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739784135,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 16,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":"6372356551956809933","data":"proceed_payment"}}
[2025-02-17 09:57:12] STK Push Error: Client error: `POST https://api.safaricom.co.ke/mpesa/stkpush/v1/processrequest` resulted in a `404 Not Found` response:
{
                    "requestId":"a7c9-4e31-8764-59bf866e0fbb11323144",
                    "errorCode": "404.001.03",
 (truncated...)

[2025-02-17 10:35:08] Received update: {"update_id":82356132,
"callback_query":{"id":"1192273726230941409","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":397,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739784135,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 16,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":"6372356551956809933","data":"proceed_payment"}}
[2025-02-17 10:35:12] 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-12224022021d51236470",
                    "errorCode": "404.001.03",
 (truncated...)

[2025-02-17 12:16:37] Received update: {"update_id":82356133,
"callback_query":{"id":"1192273728353968905","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":397,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739784135,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 16,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":"6372356551956809933","data":"proceed_payment"}}
[2025-02-17 12:16:41] STK Push Response: {"MerchantRequestID":"2697-4453-b07f-ff58b4b1cf4133907191","CheckoutRequestID":"ws_CO_17022025151640524718020630","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-17 12:16:41] Created loan transaction with ID: 7
[2025-02-17 12:16:46] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"2697-4453-b07f-ff58b4b1cf4133907191","CheckoutRequestID":"ws_CO_17022025151640524718020630","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-02-17 12:16:46] Updated loan transaction status to failed
[2025-02-17 16:49:22] Received update: {"update_id":82356134,
"message":{"message_id":403,"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":1739810959,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-17 16:49:22] Processing message: /start from chat_id: 277597859
[2025-02-17 16:49:22] Current stage: payment
[2025-02-17 16:49:25] Received update: {"update_id":82356135,
"callback_query":{"id":"1192273728817300455","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":404,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739810963,"text":"Welcome to LoanKe! \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":"6372356551956809933","data":"start_loan"}}
[2025-02-17 16:49:30] Received update: {"update_id":82356136,
"message":{"message_id":406,"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":1739810970,"text":"0718020630","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-02-17 16:49:30] Processing message: 0718020630 from chat_id: 277597859
[2025-02-17 16:49:30] Current stage: enter_phone
[2025-02-17 16:49:37] Received update: {"update_id":82356137,
"callback_query":{"id":"1192273729369168554","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":407,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739810971,"text":"\u2705 Credit check completed!\n\nYour credit score: 571\nYour loan limit: KES 57,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 16,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":"6372356551956809933","data":"loan_15000"}}
[2025-02-17 16:49:40] Received update: {"update_id":82356138,
"callback_query":{"id":"1192273726763064899","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":408,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739810977,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 16,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":"6372356551956809933","data":"proceed_payment"}}
[2025-02-17 16:49:42] STK Push Response: {"MerchantRequestID":"75ea-45a6-862b-641810aab5476763452","CheckoutRequestID":"ws_CO_17022025194942504718020630","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-02-17 16:49:43] Created loan transaction with ID: 8
[2025-02-17 16:49:52] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"75ea-45a6-862b-641810aab5476763452","CheckoutRequestID":"ws_CO_17022025194942504718020630","ResultCode":0,"ResultDesc":"The service request is processed successfully.","CallbackMetadata":{"Item":[{"Name":"Amount","Value":1.00},{"Name":"MpesaReceiptNumber","Value":"TBH1FYO42R"},{"Name":"Balance"},{"Name":"TransactionDate","Value":20250217194950},{"Name":"PhoneNumber","Value":254718020630}]}}}}
[2025-02-17 16:49:52] Created loan with ID: 5
[2025-02-17 16:49:52] Updated loan transaction with loan_id: 5 and status: completed
[2025-02-18 04:43:49] Received update: {"update_id":82356139,
"message":{"message_id":411,"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":1739853826,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-18 04:43:49] Processing message: /start from chat_id: 277597859
[2025-02-18 04:43:49] Current stage: payment
[2025-02-18 17:30:50] Received update: {"update_id":82356140,
"message":{"message_id":413,"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":1739899845,"text":"@Solved4YouOfficial","entities":[{"offset":0,"length":19,"type":"mention"}]}}
[2025-02-18 17:30:50] Processing message: @Solved4YouOfficial from chat_id: 277597859
[2025-02-18 17:30:50] Current stage: welcome
[2025-02-18 17:58:42] Received update: {"update_id":82356141,
"message":{"message_id":415,"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":1739901519,"text":"https://t.me/+XqH2pJaTVlk1MmFk","entities":[{"offset":0,"length":30,"type":"url"}],"link_preview_options":{"url":"https://t.me/+XqH2pJaTVlk1MmFk"}}}
[2025-02-18 17:58:42] Processing message: https://t.me/+XqH2pJaTVlk1MmFk from chat_id: 277597859
[2025-02-18 17:58:42] Current stage: welcome
[2025-02-18 18:34:54] Received update: {"update_id":82356142,
"message":{"message_id":417,"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":1739903692,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-02-18 18:34:54] Processing message: /start from chat_id: 277597859
[2025-02-18 18:34:54] Current stage: welcome
[2025-02-18 18:34:58] Received update: {"update_id":82356143,
"callback_query":{"id":"1192273726921365631","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":418,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1739903696,"text":"Welcome to LoanKe! \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":"6372356551956809933","data":"start_loan"}}
[2025-02-19 22:44:24] Received update: 
[2025-02-26 05:20:16] Received update: 
[2025-02-26 05:20:46] M-Pesa Callback received: 
[2025-02-26 05:21:31] Received update: 
[2025-02-26 05:35:42] M-Pesa Callback received: 
[2025-03-02 09:47:03] Received update: {"update_id":82356144,
"message":{"message_id":420,"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":1740908822,"text":"Yo"}}
[2025-03-02 09:47:03] Processing message: Yo from chat_id: 277597859
[2025-03-02 09:47:03] Current stage: enter_phone
[2025-03-02 09:47:20] Received update: {"update_id":82356145,
"message":{"message_id":422,"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":1740908839,"text":"0718020630","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-03-02 09:47:20] Processing message: 0718020630 from chat_id: 277597859
[2025-03-02 09:47:20] Current stage: enter_phone
[2025-03-02 16:37:01] Received update: {"update_id":82356146,
"message":{"message_id":424,"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":1740933419,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-03-02 16:37:01] Processing message: /start from chat_id: 277597859
[2025-03-02 16:37:01] Current stage: loan_selection
[2025-03-02 16:37:10] Received update: {"update_id":82356147,
"callback_query":{"id":"1192273728656634938","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":425,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1740933422,"text":"Welcome to LoanKe! \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":"6372356551956809933","data":"start_loan"}}
[2025-03-02 16:37:24] Received update: {"update_id":82356148,
"message":{"message_id":427,"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":1740933442,"text":"0718020630","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-03-02 16:37:24] Processing message: 0718020630 from chat_id: 277597859
[2025-03-02 16:37:24] Current stage: enter_phone
[2025-03-02 16:37:39] Received update: {"update_id":82356149,
"callback_query":{"id":"1192273729268362329","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":428,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1740933445,"text":"\u2705 Credit check completed!\n\nYour credit score: 622\nYour loan limit: KES 62,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 16,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":"6372356551956809933","data":"loan_15000"}}
[2025-03-02 16:37:50] Received update: {"update_id":82356150,
"callback_query":{"id":"1192273729702890697","from":{"id":277597859,"is_bot":false,"first_name":"KaleliOne","username":"kalelione","language_code":"en"},"message":{"message_id":429,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":277597859,"first_name":"KaleliOne","username":"kalelione","type":"private"},"date":1740933460,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 16,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":"6372356551956809933","data":"proceed_payment"}}
[2025-03-02 16:38:05] STK Push Response: {"MerchantRequestID":"d006-4f8a-968d-632933b424e663209636","CheckoutRequestID":"ws_CO_02032025193804031718020630","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-03-02 16:38:07] Created loan transaction with ID: 9
[2025-03-02 16:38:15] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"d006-4f8a-968d-632933b424e663209636","CheckoutRequestID":"ws_CO_02032025193804031718020630","ResultCode":0,"ResultDesc":"The service request is processed successfully.","CallbackMetadata":{"Item":[{"Name":"Amount","Value":1.00},{"Name":"MpesaReceiptNumber","Value":"TC224LL1GO"},{"Name":"Balance"},{"Name":"TransactionDate","Value":20250302193812},{"Name":"PhoneNumber","Value":254718020630}]}}}}
[2025-03-02 16:38:16] Created loan with ID: 6
[2025-03-02 16:38:16] Updated loan transaction with loan_id: 6 and status: completed
[2025-03-02 16:40:17] Received update: {"update_id":82356151,
"message":{"message_id":432,"from":{"id":1898013846,"is_bot":false,"first_name":"Cherubit","username":"Cherubit","language_code":"en"},"chat":{"id":1898013846,"first_name":"Cherubit","username":"Cherubit","type":"private"},"date":1740933615,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-03-02 16:40:17] Processing message: /start from chat_id: 1898013846
[2025-03-02 16:40:17] Current stage: not set
[2025-03-02 16:40:20] Received update: {"update_id":82356152,
"callback_query":{"id":"8151907396030904674","from":{"id":1898013846,"is_bot":false,"first_name":"Cherubit","username":"Cherubit","language_code":"en"},"message":{"message_id":433,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":1898013846,"first_name":"Cherubit","username":"Cherubit","type":"private"},"date":1740933617,"text":"Welcome to LoanKe! \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":"-6739842966513193724","data":"start_loan"}}
[2025-03-02 16:40:29] Received update: {"update_id":82356153,
"message":{"message_id":435,"from":{"id":1898013846,"is_bot":false,"first_name":"Cherubit","username":"Cherubit","language_code":"en"},"chat":{"id":1898013846,"first_name":"Cherubit","username":"Cherubit","type":"private"},"date":1740933629,"text":"0723117575","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-03-02 16:40:29] Processing message: 0723117575 from chat_id: 1898013846
[2025-03-02 16:40:29] Current stage: enter_phone
[2025-03-02 16:40:31] Received update: {"update_id":82356154,
"callback_query":{"id":"8151907396004907627","from":{"id":1898013846,"is_bot":false,"first_name":"Cherubit","username":"Cherubit","language_code":"en"},"message":{"message_id":436,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":1898013846,"first_name":"Cherubit","username":"Cherubit","type":"private"},"date":1740933629,"text":"\u2705 Credit check completed!\n\nYour credit score: 721\nYour loan limit: KES 72,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 16,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":"-6739842966513193724","data":"loan_15000"}}
[2025-03-02 16:40:34] Received update: {"update_id":82356155,
"callback_query":{"id":"8151907400092768393","from":{"id":1898013846,"is_bot":false,"first_name":"Cherubit","username":"Cherubit","language_code":"en"},"message":{"message_id":437,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":1898013846,"first_name":"Cherubit","username":"Cherubit","type":"private"},"date":1740933632,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 16,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":"-6739842966513193724","data":"proceed_payment"}}
[2025-03-02 16:40:39] STK Push Response: {"MerchantRequestID":"0da5-4857-befe-cc20d5d8a4de34512778","CheckoutRequestID":"ws_CO_02032025194037257723117575","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-03-02 16:40:39] Created loan transaction with ID: 10
[2025-03-02 16:40:40] Received update: {"update_id":82356156,
"callback_query":{"id":"8151907399177843175","from":{"id":1898013846,"is_bot":false,"first_name":"Cherubit","username":"Cherubit","language_code":"en"},"message":{"message_id":437,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":1898013846,"first_name":"Cherubit","username":"Cherubit","type":"private"},"date":1740933632,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 16,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":"-6739842966513193724","data":"proceed_payment"}}
[2025-03-02 16:40:43] STK Push Error: Server error: `POST https://api.safaricom.co.ke/mpesa/stkpush/v1/processrequest` resulted in a `500 Internal Server Error` response:
{
                    "requestId":"96f2-4344-9a69-dbff201c592447124108",
                    "errorCode": "500.001.1001" (truncated...)

[2025-03-02 16:40:47] Received update: {"update_id":82356157,
"callback_query":{"id":"8151907399752106005","from":{"id":1898013846,"is_bot":false,"first_name":"Cherubit","username":"Cherubit","language_code":"en"},"message":{"message_id":437,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":1898013846,"first_name":"Cherubit","username":"Cherubit","type":"private"},"date":1740933632,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 16,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":"-6739842966513193724","data":"proceed_payment"}}
[2025-03-02 16:40:50] 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-689407e038de37657478",
                    "errorCode": "500.001.1001" (truncated...)

[2025-03-02 16:41:12] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"0da5-4857-befe-cc20d5d8a4de34512778","CheckoutRequestID":"ws_CO_02032025194037257723117575","ResultCode":1037,"ResultDesc":"DS timeout user cannot be reached"}}}
[2025-03-02 16:41:12] Updated loan transaction status to failed
[2025-03-02 16:41:28] Received update: {"update_id":82356158,
"message":{"message_id":441,"from":{"id":1898013846,"is_bot":false,"first_name":"Cherubit","username":"Cherubit","language_code":"en"},"chat":{"id":1898013846,"first_name":"Cherubit","username":"Cherubit","type":"private"},"date":1740933688,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-03-02 16:41:28] Processing message: /start from chat_id: 1898013846
[2025-03-02 16:41:28] Current stage: payment
[2025-03-02 16:41:31] Received update: {"update_id":82356159,
"callback_query":{"id":"8151907396861466822","from":{"id":1898013846,"is_bot":false,"first_name":"Cherubit","username":"Cherubit","language_code":"en"},"message":{"message_id":442,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":1898013846,"first_name":"Cherubit","username":"Cherubit","type":"private"},"date":1740933689,"text":"Welcome to LoanKe! \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":"-6739842966513193724","data":"start_loan"}}
[2025-03-02 16:41:38] Received update: {"update_id":82356160,
"message":{"message_id":444,"from":{"id":1898013846,"is_bot":false,"first_name":"Cherubit","username":"Cherubit","language_code":"en"},"chat":{"id":1898013846,"first_name":"Cherubit","username":"Cherubit","type":"private"},"date":1740933698,"text":"0723117575","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-03-02 16:41:38] Processing message: 0723117575 from chat_id: 1898013846
[2025-03-02 16:41:38] Current stage: enter_phone
[2025-03-02 16:41:41] Received update: {"update_id":82356161,
"callback_query":{"id":"8151907400161807714","from":{"id":1898013846,"is_bot":false,"first_name":"Cherubit","username":"Cherubit","language_code":"en"},"message":{"message_id":445,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":1898013846,"first_name":"Cherubit","username":"Cherubit","type":"private"},"date":1740933698,"text":"\u2705 Credit check completed!\n\nYour credit score: 686\nYour loan limit: KES 68,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 16,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":"-6739842966513193724","data":"loan_30000"}}
[2025-03-02 16:41:44] Received update: {"update_id":82356162,
"callback_query":{"id":"8151907398782247952","from":{"id":1898013846,"is_bot":false,"first_name":"Cherubit","username":"Cherubit","language_code":"en"},"message":{"message_id":446,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":1898013846,"first_name":"Cherubit","username":"Cherubit","type":"private"},"date":1740933702,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 30,000\nRepayment Period: 6 months\nTotal Repayment: KES 34,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":"-6739842966513193724","data":"proceed_payment"}}
[2025-03-02 16:41:47] STK Push Response: {"MerchantRequestID":"d5f3-4808-aec2-6c25fa0dbb0287596","CheckoutRequestID":"ws_CO_02032025194147177723117575","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-03-02 16:41:47] Created loan transaction with ID: 11
[2025-03-02 16:42:03] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"d5f3-4808-aec2-6c25fa0dbb0287596","CheckoutRequestID":"ws_CO_02032025194147177723117575","ResultCode":0,"ResultDesc":"The service request is processed successfully.","CallbackMetadata":{"Item":[{"Name":"Amount","Value":1.00},{"Name":"MpesaReceiptNumber","Value":"TC294MJO9V"},{"Name":"Balance"},{"Name":"TransactionDate","Value":20250302194201},{"Name":"PhoneNumber","Value":254723117575}]}}}}
[2025-03-02 16:42:03] Created loan with ID: 7
[2025-03-02 16:42:03] Updated loan transaction with loan_id: 7 and status: completed
[2025-03-02 17:12:01] Received update: {"update_id":82356163,
"message":{"message_id":449,"from":{"id":1898013846,"is_bot":false,"first_name":"Cherubit","username":"Cherubit","language_code":"en"},"chat":{"id":1898013846,"first_name":"Cherubit","username":"Cherubit","type":"private"},"date":1740935520,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-03-02 17:12:01] Processing message: /start from chat_id: 1898013846
[2025-03-02 17:12:01] Current stage: payment
[2025-03-02 17:12:04] Received update: {"update_id":82356164,
"callback_query":{"id":"8151907400188123560","from":{"id":1898013846,"is_bot":false,"first_name":"Cherubit","username":"Cherubit","language_code":"en"},"message":{"message_id":450,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":1898013846,"first_name":"Cherubit","username":"Cherubit","type":"private"},"date":1740935522,"text":"Welcome to LoanKe! \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":"-6739842966513193724","data":"start_loan"}}
[2025-03-02 17:12:14] Received update: {"update_id":82356165,
"message":{"message_id":452,"from":{"id":1898013846,"is_bot":false,"first_name":"Cherubit","username":"Cherubit","language_code":"en"},"chat":{"id":1898013846,"first_name":"Cherubit","username":"Cherubit","type":"private"},"date":1740935534,"text":"0723117575","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-03-02 17:12:14] Processing message: 0723117575 from chat_id: 1898013846
[2025-03-02 17:12:14] Current stage: enter_phone
[2025-03-02 17:12:19] Received update: {"update_id":82356166,
"callback_query":{"id":"8151907396131703813","from":{"id":1898013846,"is_bot":false,"first_name":"Cherubit","username":"Cherubit","language_code":"en"},"message":{"message_id":453,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":1898013846,"first_name":"Cherubit","username":"Cherubit","type":"private"},"date":1740935534,"text":"\u2705 Credit check completed!\n\nYour credit score: 616\nYour loan limit: KES 61,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 16,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":"-6739842966513193724","data":"loan_50000"}}
[2025-03-02 17:12:28] Received update: {"update_id":82356167,
"callback_query":{"id":"8151907398092217034","from":{"id":1898013846,"is_bot":false,"first_name":"Cherubit","username":"Cherubit","language_code":"en"},"message":{"message_id":454,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":1898013846,"first_name":"Cherubit","username":"Cherubit","type":"private"},"date":1740935540,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 50,000\nRepayment Period: 12 months\nTotal Repayment: KES 58,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":9,"type":"bold"},{"offset":86,"length":10,"type":"bold"},{"offset":113,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"-6739842966513193724","data":"proceed_payment"}}
[2025-03-02 17:12:37] STK Push Response: {"MerchantRequestID":"349c-4bdb-ac29-30a604b8d51b2887465","CheckoutRequestID":"ws_CO_02032025201233048723117575","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-03-02 17:12:37] Created loan transaction with ID: 12
[2025-03-02 17:12:38] Received update: {"update_id":82356168,
"callback_query":{"id":"8151907400120633028","from":{"id":1898013846,"is_bot":false,"first_name":"Cherubit","username":"Cherubit","language_code":"en"},"message":{"message_id":454,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":1898013846,"first_name":"Cherubit","username":"Cherubit","type":"private"},"date":1740935540,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 50,000\nRepayment Period: 12 months\nTotal Repayment: KES 58,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":9,"type":"bold"},{"offset":86,"length":10,"type":"bold"},{"offset":113,"length":5,"type":"bold"}],"reply_markup":{"inline_keyboard":[[{"text":"\ud83d\udcb3 Proceed to Payment","callback_data":"proceed_payment"}]]}},"chat_instance":"-6739842966513193724","data":"proceed_payment"}}
[2025-03-02 17:12:41] 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-ff58b4b1cf4164974214",
                    "errorCode": "500.001.1001" (truncated...)

[2025-03-02 17:13:09] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"349c-4bdb-ac29-30a604b8d51b2887465","CheckoutRequestID":"ws_CO_02032025201233048723117575","ResultCode":1037,"ResultDesc":"DS timeout user cannot be reached"}}}
[2025-03-02 17:13:09] Updated loan transaction status to failed
[2025-03-02 18:41:58] Received update: {"update_id":82356169,
"message":{"message_id":457,"from":{"id":7312621217,"is_bot":false,"first_name":"KB","language_code":"en"},"chat":{"id":7312621217,"first_name":"KB","type":"private"},"date":1740940916,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
[2025-03-02 18:41:59] Processing message: /start from chat_id: 7312621217
[2025-03-02 18:41:59] Current stage: not set
[2025-03-02 18:42:02] Received update: {"update_id":82356170,
"callback_query":{"id":"3737352864932111443","from":{"id":7312621217,"is_bot":false,"first_name":"KB","language_code":"en"},"message":{"message_id":458,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":7312621217,"first_name":"KB","type":"private"},"date":1740940919,"text":"Welcome to LoanKe! \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":"7414127922081125771","data":"start_loan"}}
[2025-03-02 18:42:11] Received update: {"update_id":82356171,
"message":{"message_id":460,"from":{"id":7312621217,"is_bot":false,"first_name":"KB","language_code":"en"},"chat":{"id":7312621217,"first_name":"KB","type":"private"},"date":1740940930,"text":"0797064140","entities":[{"offset":0,"length":10,"type":"phone_number"}]}}
[2025-03-02 18:42:11] Processing message: 0797064140 from chat_id: 7312621217
[2025-03-02 18:42:11] Current stage: enter_phone
[2025-03-02 18:42:23] Received update: {"update_id":82356172,
"callback_query":{"id":"3737352868591847695","from":{"id":7312621217,"is_bot":false,"first_name":"KB","language_code":"en"},"message":{"message_id":461,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":7312621217,"first_name":"KB","type":"private"},"date":1740940932,"text":"\u2705 Credit check completed!\n\nYour credit score: 476\nYour loan limit: KES 47,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 16,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":"7414127922081125771","data":"loan_15000"}}
[2025-03-02 18:42:27] Received update: {"update_id":82356173,
"callback_query":{"id":"3737352867142624190","from":{"id":7312621217,"is_bot":false,"first_name":"KB","language_code":"en"},"message":{"message_id":462,"from":{"id":7832222180,"is_bot":true,"first_name":"PesaTaslim","username":"PesaTaslimBot"},"chat":{"id":7312621217,"first_name":"KB","type":"private"},"date":1740940943,"text":"\ud83d\udcdd Loan Summary\n\nLoan Amount: KES 15,000\nRepayment Period: 2 months\nTotal Repayment: KES 16,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":"7414127922081125771","data":"proceed_payment"}}
[2025-03-02 18:42:34] STK Push Response: {"MerchantRequestID":"d5f3-4808-aec2-6c25fa0dbb02313875","CheckoutRequestID":"ws_CO_02032025214230069797064140","ResponseCode":"0","ResponseDescription":"Success. Request accepted for processing","CustomerMessage":"Success. Request accepted for processing"}
[2025-03-02 18:42:34] Created loan transaction with ID: 13
[2025-03-02 18:42:46] M-Pesa Callback received: {"Body":{"stkCallback":{"MerchantRequestID":"d5f3-4808-aec2-6c25fa0dbb02313875","CheckoutRequestID":"ws_CO_02032025214230069797064140","ResultCode":1032,"ResultDesc":"Request cancelled by user"}}}
[2025-03-02 18:42:46] Updated loan transaction status to failed
