siip-whatsapp-notifications.../data/plugin.log

280 lines
46 KiB
Plaintext
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[2026-03-10 20:34:29.873333] [notice] Logging level set to:debug
[2026-03-10 20:34:29.873413] [debug] Payload recibido: {"uuid":"manual-resend-job-69","changeType":"update","entity":"job","entityId":69,"eventName":"job.edit","extraData":{"entity":{"id":69,"title":"El chido servicio","description":"Revisi\u00f3n de alambres","assignedUserId":1184,"assignedUserFullName":"Jos\u00e9 Luis Enrique S\u00e1nchez","clientId":2,"date":"2026-03-14T14:00:59-0600","duration":60,"status":1,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":69,"title":"El chido servicio","description":"Revisi\u00f3n de alambres","assignedUserId":1184,"assignedUserFullName":"Jos\u00e9 Luis Enrique S\u00e1nchez","clientId":2,"date":"2026-03-14T14:00:59-0600","duration":60,"status":0,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2026-03-10 20:41:50.169852] [notice] Logging level set to:debug
[2026-03-10 20:41:50.169995] [debug] Payload recibido: {"uuid":"manual-trigger","changeType":"update","entity":"job","entityId":69,"eventName":"job.edit","extraData":{"entity":{"id":69,"title":"El chido servicio","description":"Revisi\u00f3n de alambres","assignedUserId":1184,"assignedUserFullName":"Jos\u00e9 Luis Enrique S\u00e1nchez","clientId":2,"date":"2026-03-14T14:00:59-0600","duration":60,"status":1,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":69,"title":"El chido servicio","description":"Revisi\u00f3n de alambres","assignedUserId":1184,"assignedUserFullName":"Jos\u00e9 Luis Enrique S\u00e1nchez","clientId":2,"date":"2026-03-14T14:00:59-0600","duration":60,"status":0,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2026-03-10 20:41:50.170116] [debug] Evento recibido: job.edit
[2026-03-10 20:41:50.170229] [debug] Se actualiza un trabajo
[2026-03-10 20:41:50.170278] [debug] Validando claves dentro de entityBeforeEdit y entity
[2026-03-10 20:41:50.170317] [debug] Trabajo iniciado o asignado: Notificando...
[2026-03-10 20:41:50.170356] [info] Iniciando verifyJobActionToDo
[2026-03-10 20:44:26.131376] [notice] Logging level set to:debug
[2026-03-10 20:44:26.131453] [debug] Payload recibido: {"uuid":"manual-trigger","changeType":"update","entity":"job","entityId":69,"eventName":"job.edit","extraData":{"entity":{"id":69,"title":"[NOTIFICACION-PENDIENTE]El chido servicio","description":"Revisi\u00f3n de alambres","assignedUserId":1184,"assignedUserFullName":"Jos\u00e9 Luis Enrique S\u00e1nchez","clientId":2,"date":"2026-03-14T14:00:59-0600","duration":60,"status":1,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":69,"title":"El chido servicio","description":"Revisi\u00f3n de alambres","assignedUserId":1184,"assignedUserFullName":"Jos\u00e9 Luis Enrique S\u00e1nchez","clientId":2,"date":"2026-03-14T14:00:59-0600","duration":60,"status":0,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2026-03-10 20:44:26.131511] [debug] Evento recibido: job.edit
[2026-03-10 20:44:26.131561] [debug] Se actualiza un trabajo
[2026-03-10 20:44:26.131572] [debug] Validando claves dentro de entityBeforeEdit y entity
[2026-03-10 20:44:26.131583] [debug] Trabajo iniciado o asignado: Notificando...
[2026-03-10 20:44:26.131593] [info] Iniciando verifyJobActionToDo
Enviando mensaje de trabajo para el cliente
Datos de la notificación de trabajo: {"clientFullName":"Daniel Humberto Soto Villegas","jobId":69,"date":"*14\/03\/2026*","installerName":"Jos\u00e9 Luis Enrique S\u00e1nchez"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de visita técnica al cliente, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👤 *Daniel Humberto Soto Villegas*", "*#⃣69*", "🗓️ *14/03/2026*", "👷🏻‍♂️➡️ *José Luis Enrique Sánchez*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "07cfbc6e394044608485b530a27177d0",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"4bcc61112dd3482a9345b7383726a319","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"Jos\u00e9 Luis Enrique S\u00e1nchez","clientFullName":"Daniel Humberto Soto Villegas [ID:2]","jobId":69,"clientAddress":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","clientWhatsApp":"5214181878106, 5214181148783","date":"*14\/03\/2026*","jobDescription":"Revisi\u00f3n de alambres","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1564414,-100.9383654","passwordAntenaCliente":"Servicio 1: n#Cx89qC#r64LPR# Servicio 2: b@2zMYxSQR2BdkG9"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "524181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *José Luis Enrique Sánchez* se te ha asignado una tarea con folio #️⃣ *69*, del cliente 👤 *Daniel Humberto Soto Villegas [ID:2]*, para el 🗓️ *14/03/2026*", "5214181878106, 5214181148783", "https://www.google.com/maps?q=21.1564414,-100.9383654", "Servicio 1: n#Cx89qC#r64LPR# Servicio 2: b@2zMYxSQR2BdkG9"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"4a9b9a5d60c445d2b71e6ef48867c205","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2026-03-10 20:44:28.115158] [notice] Logging level set to:debug
[2026-03-10 20:44:28.115253] [debug] Payload recibido: {"uuid":"a3fca363-8613-484d-911e-154132c3e7d3","changeType":"edit","entity":"job","entityId":"69","eventName":"job.edit","extraData":{"entity":{"id":69,"title":"El chido servicio","description":"Revisi\u00f3n de alambres","assignedUserId":1184,"assignedUserFullName":"Jos\u00e9 Luis Enrique S\u00e1nchez","clientId":2,"date":"2026-03-14T14:00:59-0600","duration":60,"status":1,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":69,"title":"El chido servicio","description":"Revisi\u00f3n de alambres","assignedUserId":1184,"assignedUserFullName":"Jos\u00e9 Luis Enrique S\u00e1nchez","clientId":2,"date":"2026-03-14T14:00:59-0600","duration":60,"status":1,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2026-03-10 20:44:28.165889] [debug] Evento recibido: job.edit
[2026-03-10 20:44:28.166030] [debug] Se actualiza un trabajo
[2026-03-10 20:44:28.166115] [debug] Validando claves dentro de entityBeforeEdit y entity
[2026-03-10 20:44:28.166173] [debug] Edición de trabajo "En curso" sin cambios de fecha o técnico relevantes para notificación
[2026-03-10 21:30:08.587146] [notice] Logging level set to:debug
[2026-03-10 21:30:08.587235] [debug] Payload recibido: {"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":990,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas 31","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente especial, el m\u00e1s chido del siip internet 2026 yeah xD hola dfg","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"ciber.dhsv@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":true,"types":[{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"VENUS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial de pruebas 172.16.5.134","clientZoneVisible":false},{"id":309,"clientId":2,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true},{"id":428,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"Servicio 1: n#Cx89qC#r64LPR# Servicio 2: b@2zMYxSQR2BdkG9","clientZoneVisible":false}],"accountBalance":910,"accountCredit":910,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564414,"addressGpsLon":-100.9383654,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"paymentData":{"id":990,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-03-10T00:31:50-0600","amount":280,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":280,"userId":1180,"attributes":[{"id":"56a35c9a-5073-4ec2-9372-b2dbe504f7c2","paymentId":990,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
[2026-03-10 21:30:08.716305] [debug] Evento recibido: payment.add
[2026-03-10 21:30:08.716578] [debug] Notification encodificado en JSON:{"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":990,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas 31","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente especial, el m\u00e1s chido del siip internet 2026 yeah xD hola dfg","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"ciber.dhsv@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":true,"types":[{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"VENUS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial de pruebas 172.16.5.134","clientZoneVisible":false},{"id":309,"clientId":2,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true},{"id":428,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"Servicio 1: n#Cx89qC#r64LPR# Servicio 2: b@2zMYxSQR2BdkG9","clientZoneVisible":false}],"accountBalance":910,"accountCredit":910,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564414,"addressGpsLon":-100.9383654,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":990,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-03-10T00:31:50-0600","amount":280,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":280,"userId":1180,"attributes":[{"id":"56a35c9a-5073-4ec2-9372-b2dbe504f7c2","paymentId":990,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
[2026-03-10 21:30:08.716669] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 990
[2026-03-10 21:30:08.768625] [info] Microservice found metadata: tipoPago = 'OXXO'
[2026-03-10 21:30:08.872349] [debug] Payment 990 already has User ID: 1180
[2026-03-10 21:30:08.941992] [info] Payment 990 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to b01c0b35-b42c-48d9-9ad9-ea6591adfbbb via Microservice.
[2026-03-10 21:30:08.948450] [error] Failed to patch Payment Method ID via microservice: Client error: `PATCH http://172.16.5.134:4100/payments/990/method` resulted in a `404 Not Found` response:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot PATCH /pa (truncated...)
[2026-03-10 21:30:09.025054] [debug] Attribute already matches target 'OXXO Pay'. Skipping patch.
Eviando comprobante de pago al cliente: 2 con número: 5214181878106
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
Procesando PDF con microservicio: http://pdf-cropper-service:8000/process
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.jpg
[2026-03-10 21:30:09.733603] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Daniel_Humberto_Soto_Villegas_1773178209.jpg
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Daniel_Humberto_Soto_Villegas_1773178209.jpg
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
Proceso de obtención de imagen finalizado.
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Daniel_Humberto_Soto_Villegas_1773178209.jpg"
},
"template_values": ["Daniel Humberto Soto Villegas", "$280", "$910 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"48b323bcaa2a4eb9a5e7f7d3038b8ae5","status":"enqueued"}}
Hay menos de 100 archivos en el directorio. No se eliminarán archivos.
La notificación fue enviada correctamente con estado: enqueued
Notificacion data: {"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":990,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas 31","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente especial, el m\u00e1s chido del siip internet 2026 yeah xD hola dfg","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"ciber.dhsv@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":true,"types":[{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"VENUS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial de pruebas 172.16.5.134","clientZoneVisible":false},{"id":309,"clientId":2,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true},{"id":428,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"Servicio 1: n#Cx89qC#r64LPR# Servicio 2: b@2zMYxSQR2BdkG9","clientZoneVisible":false}],"accountBalance":910,"accountCredit":910,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564414,"addressGpsLon":-100.9383654,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":990,"clientId":2,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-03-10T00:31:50-0600","amount":280,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":280,"userId":1180,"attributes":[{"id":"56a35c9a-5073-4ec2-9372-b2dbe504f7c2","paymentId":990,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":990,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-03-10T00:31:50-0600","amount":280,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":280,"userId":1180,"attributes":[{"id":"56a35c9a-5073-4ec2-9372-b2dbe504f7c2","paymentId":990,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Site":"VENUS","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","Cliente":2,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2026 15:30","Saldo Actual":"\ud83d\udcb2910 a favor","Monto Ultimo Pago":"\ud83d\udcb2 280","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 10\/03\/2026 00:31 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"Sectorial de pruebas 172.16.5.134","Domicilio":"\ud83d\udccd Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Resumen":"{\"Cliente\": \"2\",\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2910 a favor\",\"Monto Ultimo Pago\": \"$ 280\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10\/03\/2026 00:31 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"10\/03\/2026 15:30\",\"Clabe Interbancaria\": \"\",\"Site\": \"VENUS\",\"Antena\/Sectorial\": \"Sectorial de pruebas 172.16.5.134\",\"Password Antena\": {\"Servicio 1\":\"n#Cx89qC#r64LPR#\",\"Servicio 2\":\"b@2zMYxSQR2BdkG9\"}}","password-antena":"{\"Servicio 1\":\"n#Cx89qC#r64LPR#\",\"Servicio 2\":\"b@2zMYxSQR2BdkG9\"}"}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲0 está al corriente'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲910 a favor'
DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
EJECUTANDO PATCH - Se detectaron cambios
Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-03-10T09:01:46Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["ePA","PRUEBAS","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650741646979","Estado":"🟢 Activo ","Nombre":"👤 Daniel Humberto Soto Villegas","URL":"🌐 https://sistema.siip.mx/crm/client/2","Site":"VENUS","Saldo Actual":"💲910 a favor","Fecha Ultima Actualizacion":"📆🔄️ 10/03/2026 15:30","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"2\",\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲910 a favor\",\"Monto Ultimo Pago\": \"$ 280\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/03/2026 00:31 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/03/2026 15:30\",\"Clabe Interbancaria\": \"\",\"Site\": \"VENUS\",\"Antena/Sectorial\": \"Sectorial de pruebas 172.16.5.134\",\"Password Antena\": {\"Servicio 1\":\"n#Cx89qC#r64LPR#\",\"Servicio 2\":\"b@2zMYxSQR2BdkG9\"}}","Fecha Ultimo Pago":"📆💸 10/03/2026 00:31 con Tarjeta de crédito Stripe 💳","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Cliente":"2","Monto Ultimo Pago":"💲 280","Antena/Sectorial":"Sectorial de pruebas 172.16.5.134","password-antena":"{\"Servicio 1\":\"n#Cx89qC#r64LPR#\",\"Servicio 2\":\"b@2zMYxSQR2BdkG9\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2026-03-10 21:31:45.463140] [notice] Logging level set to:debug
[2026-03-10 21:31:45.463207] [debug] Payload recibido: {"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":950,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas 31","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente especial, el m\u00e1s chido del siip internet 2026 yeah xD hola dfg","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"ciber.dhsv@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":true,"types":[{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"VENUS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial de pruebas 172.16.5.134","clientZoneVisible":false},{"id":309,"clientId":2,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true},{"id":428,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"Servicio 1: n#Cx89qC#r64LPR# Servicio 2: b@2zMYxSQR2BdkG9","clientZoneVisible":false}],"accountBalance":910,"accountCredit":910,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564414,"addressGpsLon":-100.9383654,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"paymentData":{"id":950,"clientId":2,"methodId":"78e84000-9b5b-44a4-8367-da43df86ce34","checkNumber":null,"createdDate":"2026-02-06T20:41:53-0600","amount":500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1512,"invoiceId":3095,"paymentId":950,"creditNoteId":null,"refundId":null,"amount":500}],"creditAmount":0,"userId":1015,"attributes":[]}}
[2026-03-10 21:31:45.595110] [debug] Evento recibido: payment.add
[2026-03-10 21:31:45.595258] [debug] Notification encodificado en JSON:{"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":950,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas 31","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente especial, el m\u00e1s chido del siip internet 2026 yeah xD hola dfg","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"ciber.dhsv@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":true,"types":[{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"VENUS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial de pruebas 172.16.5.134","clientZoneVisible":false},{"id":309,"clientId":2,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true},{"id":428,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"Servicio 1: n#Cx89qC#r64LPR# Servicio 2: b@2zMYxSQR2BdkG9","clientZoneVisible":false}],"accountBalance":910,"accountCredit":910,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564414,"addressGpsLon":-100.9383654,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":950,"clientId":2,"methodId":"78e84000-9b5b-44a4-8367-da43df86ce34","checkNumber":null,"createdDate":"2026-02-06T20:41:53-0600","amount":500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1512,"invoiceId":3095,"paymentId":950,"creditNoteId":null,"refundId":null,"amount":500}],"creditAmount":0,"userId":1015,"attributes":[]}}
Eviando comprobante de pago al cliente: 2 con número: 5214181878106
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
Procesando PDF con microservicio: http://pdf-cropper-service:8000/process
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.jpg
[2026-03-10 21:31:46.009094] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Daniel_Humberto_Soto_Villegas_1773178305.jpg
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Daniel_Humberto_Soto_Villegas_1773178305.jpg
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
Proceso de obtención de imagen finalizado.
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Daniel_Humberto_Soto_Villegas_1773178305.jpg"
},
"template_values": ["Daniel Humberto Soto Villegas", "$500", "$910 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"f93716125229416c8534f4998c1f2074","status":"enqueued"}}
Hay menos de 100 archivos en el directorio. No se eliminarán archivos.
La notificación fue enviada correctamente con estado: enqueued
Notificacion data: {"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":950,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas 31","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente especial, el m\u00e1s chido del siip internet 2026 yeah xD hola dfg","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"ciber.dhsv@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":true,"types":[{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"VENUS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial de pruebas 172.16.5.134","clientZoneVisible":false},{"id":309,"clientId":2,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true},{"id":428,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"Servicio 1: n#Cx89qC#r64LPR# Servicio 2: b@2zMYxSQR2BdkG9","clientZoneVisible":false}],"accountBalance":910,"accountCredit":910,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564414,"addressGpsLon":-100.9383654,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":950,"clientId":2,"methodId":"78e84000-9b5b-44a4-8367-da43df86ce34","checkNumber":null,"createdDate":"2026-02-06T20:41:53-0600","amount":500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1512,"invoiceId":3095,"paymentId":950,"creditNoteId":null,"refundId":null,"amount":500}],"creditAmount":0,"userId":1015,"attributes":[]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":990,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-03-10T00:31:50-0600","amount":280,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":280,"userId":1180,"attributes":[{"id":"56a35c9a-5073-4ec2-9372-b2dbe504f7c2","paymentId":990,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Site":"VENUS","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","Cliente":2,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/03\/2026 15:31","Saldo Actual":"\ud83d\udcb2910 a favor","Monto Ultimo Pago":"\ud83d\udcb2 280","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 10\/03\/2026 00:31 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"Sectorial de pruebas 172.16.5.134","Domicilio":"\ud83d\udccd Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Resumen":"{\"Cliente\": \"2\",\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2910 a favor\",\"Monto Ultimo Pago\": \"$ 280\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10\/03\/2026 00:31 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"10\/03\/2026 15:31\",\"Clabe Interbancaria\": \"\",\"Site\": \"VENUS\",\"Antena\/Sectorial\": \"Sectorial de pruebas 172.16.5.134\",\"Password Antena\": {\"Servicio 1\":\"n#Cx89qC#r64LPR#\",\"Servicio 2\":\"b@2zMYxSQR2BdkG9\"}}","password-antena":"{\"Servicio 1\":\"n#Cx89qC#r64LPR#\",\"Servicio 2\":\"b@2zMYxSQR2BdkG9\"}"}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲910 a favor'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲910 a favor'
DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
NO SE EJECUTA PATCH - No hay cambios que actualizar
[2026-03-10 23:37:30.509325] [notice] Logging level set to:debug
[2026-03-10 23:37:30.509993] [debug] Payload recibido: {"uuid":"manual-trigger","changeType":"update","entity":"job","entityId":69,"eventName":"job.edit","extraData":{"entity":{"id":69,"title":"[NOTIFICACION-PENDIENTE]El chido servicio","description":"Revisi\u00f3n de alambres","assignedUserId":1184,"assignedUserFullName":"Jos\u00e9 Luis Enrique S\u00e1nchez","clientId":2,"date":"2026-03-14T14:00:59-0600","duration":60,"status":1,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":69,"title":"El chido servicio","description":"Revisi\u00f3n de alambres","assignedUserId":1184,"assignedUserFullName":"Jos\u00e9 Luis Enrique S\u00e1nchez","clientId":2,"date":"2026-03-14T14:00:59-0600","duration":60,"status":0,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2026-03-10 23:37:30.510067] [debug] Evento recibido: job.edit
[2026-03-10 23:37:30.510128] [debug] Se actualiza un trabajo
[2026-03-10 23:37:30.510143] [debug] Validando claves dentro de entityBeforeEdit y entity
[2026-03-10 23:37:30.510154] [debug] Trabajo iniciado o asignado: Notificando...
[2026-03-10 23:37:30.510185] [info] Iniciando verifyJobActionToDo
Enviando mensaje de trabajo para el cliente
Datos de la notificación de trabajo: {"clientFullName":"Daniel Humberto Soto Villegas","jobId":69,"date":"*14\/03\/2026*","installerName":"Jos\u00e9 Luis Enrique S\u00e1nchez"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de visita técnica al cliente, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👤 *Daniel Humberto Soto Villegas*", "*#⃣69*", "🗓️ *14/03/2026*", "👷🏻‍♂️➡️ *José Luis Enrique Sánchez*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "07cfbc6e394044608485b530a27177d0",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"94078934b6034a519474c5d4a9a63212","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"Jos\u00e9 Luis Enrique S\u00e1nchez","clientFullName":"Daniel Humberto Soto Villegas [ID:2]","jobId":69,"clientAddress":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","clientWhatsApp":"5214181878106, 5214181148783","date":"*14\/03\/2026*","jobDescription":"Revisi\u00f3n de alambres","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1564414,-100.9383654","passwordAntenaCliente":"Servicio 1: n#Cx89qC#r64LPR# Servicio 2: b@2zMYxSQR2BdkG9"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "524181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *José Luis Enrique Sánchez* se te ha asignado una tarea con folio #️⃣ *69*, del cliente 👤 *Daniel Humberto Soto Villegas [ID:2]*, para el 🗓️ *14/03/2026*", "5214181878106, 5214181148783", "https://www.google.com/maps?q=21.1564414,-100.9383654", "Servicio 1: n#Cx89qC#r64LPR# Servicio 2: b@2zMYxSQR2BdkG9"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"19d6ebe2de85427890208eea881ed317","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2026-03-10 23:37:32.936526] [notice] Logging level set to:debug
[2026-03-10 23:37:32.936595] [debug] Payload recibido: {"uuid":"39e96641-773c-4f26-b5e8-7f6169b13497","changeType":"edit","entity":"job","entityId":"69","eventName":"job.edit","extraData":{"entity":{"id":69,"title":"El chido servicio","description":"Revisi\u00f3n de alambres","assignedUserId":1184,"assignedUserFullName":"Jos\u00e9 Luis Enrique S\u00e1nchez","clientId":2,"date":"2026-03-14T14:00:59-0600","duration":60,"status":1,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":69,"title":"El chido servicio","description":"Revisi\u00f3n de alambres","assignedUserId":1184,"assignedUserFullName":"Jos\u00e9 Luis Enrique S\u00e1nchez","clientId":2,"date":"2026-03-14T14:00:59-0600","duration":60,"status":1,"address":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2026-03-10 23:37:33.000319] [debug] Evento recibido: job.edit
[2026-03-10 23:37:33.000432] [debug] Se actualiza un trabajo
[2026-03-10 23:37:33.000449] [debug] Validando claves dentro de entityBeforeEdit y entity
[2026-03-10 23:37:33.000463] [debug] Edición de trabajo "En curso" sin cambios de fecha o técnico relevantes para notificación