826 lines
99 KiB
Plaintext
Executable File
826 lines
99 KiB
Plaintext
Executable File
[2026-01-31 19:53:23.996649] [notice] Logging level set to:debug
|
|
[2026-01-31 19:53:23.996807] [debug] Payload recibido: {"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":942,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7870,"accountCredit":7870,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"paymentData":{"id":942,"clientId":135,"methodId":"93814765-66a1-4c7d-a777-05c18fd6aab3","checkNumber":null,"createdDate":"2026-01-31T12:01:54-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":1180,"attributes":[]}}
|
|
|
|
[2026-01-31 19:53:24.137314] [debug] Evento recibido: payment.add
|
|
[2026-01-31 19:53:24.137531] [debug] Notification encodificado en JSON:{"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":942,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7870,"accountCredit":7870,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":942,"clientId":135,"methodId":"93814765-66a1-4c7d-a777-05c18fd6aab3","checkNumber":null,"createdDate":"2026-01-31T12:01:54-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":1180,"attributes":[]}}
|
|
|
|
Eviando comprobante de pago al cliente: 135 con número: 524181878106
|
|
|
|
Error al manejar el comprobante de pago: Client error: `GET https://venus.siip.mx/crm/api/v1.0/payments/942/pdf` resulted in a `404 Not Found` response:
|
|
{"code":404,"message":"Not Found"}
|
|
|
|
|
|
[2026-01-31 19:57:42.537158] [notice] Logging level set to:debug
|
|
[2026-01-31 19:57:42.537235] [debug] Payload recibido: {"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":942,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7870,"accountCredit":7870,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"paymentData":{"id":942,"clientId":135,"methodId":"93814765-66a1-4c7d-a777-05c18fd6aab3","checkNumber":null,"createdDate":"2026-01-31T12:01:54-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":1180,"attributes":[]}}
|
|
|
|
[2026-01-31 19:57:42.681004] [debug] Evento recibido: payment.add
|
|
[2026-01-31 19:57:42.681168] [debug] Notification encodificado en JSON:{"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":942,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7870,"accountCredit":7870,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":942,"clientId":135,"methodId":"93814765-66a1-4c7d-a777-05c18fd6aab3","checkNumber":null,"createdDate":"2026-01-31T12:01:54-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":1180,"attributes":[]}}
|
|
|
|
Eviando comprobante de pago al cliente: 135 con número: 524181878106
|
|
|
|
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
|
|
|
|
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
|
|
|
|
Procesando PDF con microservicio: http://172.16.5.134:8050/process
|
|
|
|
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
|
|
|
|
[2026-01-31 19:57:43.352996] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769889463.jpg
|
|
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769889463.jpg
|
|
|
|
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
|
|
|
|
Proceso de obtención de imagen finalizado.
|
|
|
|
La cadena CURL que se envia es: {
|
|
"to": "524181878106",
|
|
"from": "whatsapp",
|
|
"type": "document",
|
|
"content": {
|
|
"text": "S/M",
|
|
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769889463.jpg"
|
|
},
|
|
"template_values": ["Juan Escutia", "$150", "$7870 a favor"],
|
|
"template_uuid": "57ead79cebd14902921477922403093b",
|
|
"optin_contact": true
|
|
}
|
|
Response del CallBell: {"message":{"uuid":"0b29714f3fc1449e86176b1defba9e76","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":942,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7870,"accountCredit":7870,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":942,"clientId":135,"methodId":"93814765-66a1-4c7d-a777-05c18fd6aab3","checkNumber":null,"createdDate":"2026-01-31T12:01:54-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":1180,"attributes":[]}}
|
|
|
|
Dentro del proceso del patch:
|
|
|
|
Datos traidos con payment api: [{"id":942,"clientId":135,"methodId":"93814765-66a1-4c7d-a777-05c18fd6aab3","checkNumber":null,"createdDate":"2026-01-31T12:01:54-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":1180,"attributes":[]}]
|
|
|
|
Nombre del cliente que se va a actualizar: Juan Escutia
|
|
|
|
UUID: 74cc2bb45eb8409f92cd5dba99200d26
|
|
|
|
JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/01\/2026 13:57","Saldo Actual":"\ud83d\udcb27870 a favor","Monto Ultimo Pago":"\ud83d\udcb2 150","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 31\/01\/2026 12:01 con Desconocido, revisar metodos de pago no contemplados","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb27870 a favor\",\"Monto Ultimo Pago\": \"$ 150\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 31\/01\/2026 12:01 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"31\/01\/2026 13:57\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
|
|
|
|
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲7870 a favor'
|
|
|
|
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲7870 a favor'
|
|
|
|
DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
|
|
|
|
DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
|
|
|
|
NO SE EJECUTA PATCH - No hay cambios que actualizar
|
|
|
|
[2026-02-01 16:00:06.487708] [notice] Logging level set to:debug
|
|
[2026-02-01 16:00:06.488357] [debug] Payload recibido: {"uuid":"4bb33441-a0d7-43b7-884f-bc127a1ac5b2","changeType":"draft_approved","entity":"invoice","entityId":"3094","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3094,"clientId":132,"number":"003040","createdDate":"2026-02-01T10:00:01-0600","dueDate":"2026-02-15T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-31T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3111,"type":"service","label":"plan300 01\/01\/2026 \u2013 31\/01\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
|
|
|
|
[2026-02-01 16:00:06.716301] [debug] Evento recibido: invoice.draft_approved
|
|
[2026-02-01 16:00:06.716423] [debug] Aprobación de Factura
|
|
|
|
[PROPAGATED_DEBUG] Image Request: File=logo-empresa.png | PathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/logo-empresa.png | VoucherPathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/logo-empresa.png | FinalPath=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/logo-empresa.png | Exists=NO
|
|
[DEBUG_IMG] Serving /data/ucrm/data/plugins/siip-whatsapp-notifications/img/logo-empresa.png. Size: 48352 bytes
|
|
[PROPAGATED_DEBUG] Image Request: File=instalador.png | PathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/instalador.png | VoucherPathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/instalador.png | FinalPath=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/instalador.png | Exists=NO
|
|
[DEBUG_IMG] Serving /data/ucrm/data/plugins/siip-whatsapp-notifications/img/instalador.png. Size: 13689 bytes
|
|
[PROPAGATED_DEBUG] Image Request: File=whatsapp-logo.png | PathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/whatsapp-logo.png | VoucherPathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/whatsapp-logo.png | FinalPath=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/whatsapp-logo.png | Exists=NO
|
|
[DEBUG_IMG] Serving /data/ucrm/data/plugins/siip-whatsapp-notifications/img/whatsapp-logo.png. Size: 85794 bytes
|
|
[PROPAGATED_DEBUG] Image Request: File=stripe-logo.png | PathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/stripe-logo.png | VoucherPathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/stripe-logo.png | FinalPath=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/stripe-logo.png | Exists=NO
|
|
[DEBUG_IMG] Serving /data/ucrm/data/plugins/siip-whatsapp-notifications/img/stripe-logo.png. Size: 22209 bytes
|
|
[PROPAGATED_DEBUG] Image Request: File=oxxo-logo.png | PathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/oxxo-logo.png | VoucherPathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/oxxo-logo.png | FinalPath=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/oxxo-logo.png | Exists=NO
|
|
[DEBUG_IMG] Serving /data/ucrm/data/plugins/siip-whatsapp-notifications/img/oxxo-logo.png. Size: 755752 bytes
|
|
[2026-02-01 17:13:44.226890] [notice] Logging level set to:debug
|
|
[2026-02-01 17:13:44.226960] [debug] Payload recibido: {"uuid":"5732787a-0a1a-4e89-90dc-e459a34bc74e","changeType":"insert","entity":"payment","entityId":"943","eventName":"payment.add","extraData":{"entity":{"id":943,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-02-01T11:13:37-0600","amount":230,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":230,"userId":1015,"attributes":[]},"entityBeforeEdit":null}}
|
|
|
|
[2026-02-01 17:13:44.826656] [debug] Evento recibido: payment.add
|
|
[2026-02-01 17:13:44.826809] [debug] Notification encodificado en JSON:{"uuid":"5732787a-0a1a-4e89-90dc-e459a34bc74e","changeType":"insert","entity":"payment","entityId":943,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":8100,"accountCredit":8100,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":943,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-02-01T11:13:37-0600","amount":230,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":230,"userId":1015,"attributes":[]}}
|
|
|
|
[2026-02-01 17:13:44.826857] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 943
|
|
[2026-02-01 17:13:45.131464] [warning] Microservice metadata fetch failed: Client error: `GET http://172.16.5.134:4100/stripe-metadata/943` resulted in a `404 Not Found` response:
|
|
{"error":"Metadata not found or not a Stripe payment"}
|
|
|
|
[2026-02-01 17:13:45.299985] [debug] Payment 943 already has User ID: 1015
|
|
[2026-02-01 17:13:45.399041] [info] Payment 943 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to 93814765-66a1-4c7d-a777-05c18fd6aab3 via Microservice.
|
|
[2026-02-01 17:13:45.443938] [info] Payment Method ID patched successfully.
|
|
[2026-02-01 17:13:45.637696] [debug] Fallback Method Guessing 'Tarjeta de crédito/débito' -> ''
|
|
[2026-02-01 17:13:45.637742] [debug] No se pudo determinar el tipoPagoStripe.
|
|
Eviando comprobante de pago al cliente: 135 con número: 524181878106
|
|
|
|
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
|
|
|
|
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
|
|
|
|
Procesando PDF con microservicio: http://172.16.5.134:8050/process
|
|
|
|
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
|
|
|
|
[2026-02-01 17:13:47.015789] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769966026.jpg
|
|
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769966026.jpg
|
|
|
|
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
|
|
|
|
Proceso de obtención de imagen finalizado.
|
|
|
|
La cadena CURL que se envia es: {
|
|
"to": "524181878106",
|
|
"from": "whatsapp",
|
|
"type": "document",
|
|
"content": {
|
|
"text": "S/M",
|
|
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769966026.jpg"
|
|
},
|
|
"template_values": ["Juan Escutia", "$230", "$8100 a favor"],
|
|
"template_uuid": "57ead79cebd14902921477922403093b",
|
|
"optin_contact": true
|
|
}
|
|
Response del CallBell: {"message":{"uuid":"39f9e77245ac4613934829c82a81da0e","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":"5732787a-0a1a-4e89-90dc-e459a34bc74e","changeType":"insert","entity":"payment","entityId":943,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":8100,"accountCredit":8100,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":943,"clientId":135,"methodId":"93814765-66a1-4c7d-a777-05c18fd6aab3","checkNumber":null,"createdDate":"2026-02-01T11:13:37-0600","amount":230,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":230,"userId":1015,"attributes":[]}}
|
|
|
|
Dentro del proceso del patch:
|
|
|
|
Datos traidos con payment api: [{"id":943,"clientId":135,"methodId":"93814765-66a1-4c7d-a777-05c18fd6aab3","checkNumber":null,"createdDate":"2026-02-01T11:13:37-0600","amount":230,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":230,"userId":1015,"attributes":[]}]
|
|
|
|
Nombre del cliente que se va a actualizar: Juan Escutia
|
|
|
|
UUID: 74cc2bb45eb8409f92cd5dba99200d26
|
|
|
|
JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 01\/02\/2026 11:13","Saldo Actual":"\ud83d\udcb28100 a favor","Monto Ultimo Pago":"\ud83d\udcb2 230","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 01\/02\/2026 11:13 con Desconocido, revisar metodos de pago no contemplados","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb28100 a favor\",\"Monto Ultimo Pago\": \"$ 230\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 01\/02\/2026 11:13 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"01\/02\/2026 11:13\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
|
|
|
|
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲7870 a favor'
|
|
|
|
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲8100 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":"Juan Escutia","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-02-01T15:22:57Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS","PRUEBAS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Clabe Interbancaria":"124180650741646979","Estado":"🟢 Activo ","Monto Ultimo Pago":"💲 230","Fecha Ultima Actualizacion":"📆🔄️ 01/02/2026 11:13","Cliente":"135","user name":"Daniel Humberto","Domicilio":"📍 Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Nombre":"👤 Juan Escutia","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}","Fecha Ultimo Pago":"📆💸 01/02/2026 11:13 con Desconocido, revisar metodos de pago no contemplados","URL":"🌐 https://sistema.siip.mx/crm/client/135","Saldo Actual":"💲8100 a favor","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https://sistema.siip.mx/crm/client/135\",\"Saldo Actual\": \"💲8100 a favor\",\"Monto Ultimo Pago\": \"$ 230\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 01/02/2026 11:13 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"01/02/2026 11:13\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
|
|
|
|
[2026-02-01 17:13:49.835627] [notice] Logging level set to:debug
|
|
[2026-02-01 17:13:49.835690] [debug] Payload recibido: {"uuid":"8f7715fa-2068-4ed9-8ac6-b19d852a9a2f","changeType":"edit","entity":"payment","entityId":"943","eventName":"payment.edit","extraData":{"entity":{"id":943,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-02-01T11:13:37-0600","amount":230,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":230,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":943,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-02-01T11:13:37-0600","amount":230,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":230,"userId":1015,"attributes":[]}}}
|
|
|
|
[2026-02-01 17:13:50.127692] [debug] Evento recibido: payment.edit
|
|
[PROPAGATED_DEBUG] Image Request: File=whatsapp-logo-button.png | PathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/whatsapp-logo-button.png | VoucherPathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/whatsapp-logo-button.png | FinalPath=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/whatsapp-logo-button.png | Exists=NO
|
|
[DEBUG_IMG] Serving /data/ucrm/data/plugins/siip-whatsapp-notifications/img/whatsapp-logo-button.png. Size: 9568 bytes
|
|
[2026-02-01 17:14:26.147147] [notice] Logging level set to:debug
|
|
[2026-02-01 17:14:26.147209] [debug] Payload recibido: {"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":943,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":8100,"accountCredit":8100,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"paymentData":{"id":943,"clientId":135,"methodId":"93814765-66a1-4c7d-a777-05c18fd6aab3","checkNumber":null,"createdDate":"2026-02-01T11:13:37-0600","amount":230,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":230,"userId":1015,"attributes":[]}}
|
|
|
|
[2026-02-01 17:14:26.277757] [debug] Evento recibido: payment.add
|
|
[2026-02-01 17:14:26.277987] [debug] Notification encodificado en JSON:{"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":943,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":8100,"accountCredit":8100,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":943,"clientId":135,"methodId":"93814765-66a1-4c7d-a777-05c18fd6aab3","checkNumber":null,"createdDate":"2026-02-01T11:13:37-0600","amount":230,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":230,"userId":1015,"attributes":[]}}
|
|
|
|
Eviando comprobante de pago al cliente: 135 con número: 524181878106
|
|
|
|
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
|
|
|
|
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
|
|
|
|
Procesando PDF con microservicio: http://172.16.5.134:8050/process
|
|
|
|
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
|
|
|
|
[2026-02-01 17:14:26.673141] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769966066.jpg
|
|
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769966066.jpg
|
|
|
|
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
|
|
|
|
Proceso de obtención de imagen finalizado.
|
|
|
|
La cadena CURL que se envia es: {
|
|
"to": "524181878106",
|
|
"from": "whatsapp",
|
|
"type": "document",
|
|
"content": {
|
|
"text": "S/M",
|
|
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769966066.jpg"
|
|
},
|
|
"template_values": ["Juan Escutia", "$230", "$8100 a favor"],
|
|
"template_uuid": "57ead79cebd14902921477922403093b",
|
|
"optin_contact": true
|
|
}
|
|
Response del CallBell: {"message":{"uuid":"db6ca08eb89247e6a5e0f3d274c7be00","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":943,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":8100,"accountCredit":8100,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":943,"clientId":135,"methodId":"93814765-66a1-4c7d-a777-05c18fd6aab3","checkNumber":null,"createdDate":"2026-02-01T11:13:37-0600","amount":230,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":230,"userId":1015,"attributes":[]}}
|
|
|
|
Dentro del proceso del patch:
|
|
|
|
Datos traidos con payment api: [{"id":943,"clientId":135,"methodId":"93814765-66a1-4c7d-a777-05c18fd6aab3","checkNumber":null,"createdDate":"2026-02-01T11:13:37-0600","amount":230,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":230,"userId":1015,"attributes":[]}]
|
|
|
|
Nombre del cliente que se va a actualizar: Juan Escutia
|
|
|
|
UUID: 74cc2bb45eb8409f92cd5dba99200d26
|
|
|
|
JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 01\/02\/2026 11:14","Saldo Actual":"\ud83d\udcb28100 a favor","Monto Ultimo Pago":"\ud83d\udcb2 230","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 01\/02\/2026 11:13 con Desconocido, revisar metodos de pago no contemplados","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb28100 a favor\",\"Monto Ultimo Pago\": \"$ 230\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 01\/02\/2026 11:13 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"01\/02\/2026 11:14\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
|
|
|
|
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲8100 a favor'
|
|
|
|
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲8100 a favor'
|
|
|
|
DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
|
|
|
|
DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
|
|
|
|
NO SE EJECUTA PATCH - No hay cambios que actualizar
|
|
|
|
[PROPAGATED_DEBUG] Image Request: File=voucher_Juan_Escutia_1769966422.jpeg | PathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/voucher_Juan_Escutia_1769966422.jpeg | VoucherPathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/voucher_Juan_Escutia_1769966422.jpeg | FinalPath=/data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/voucher_Juan_Escutia_1769966422.jpeg | Exists=YES
|
|
[DEBUG_IMG] Serving /data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/voucher_Juan_Escutia_1769966422.jpeg. Size: 33119 bytes
|
|
[2026-02-01 17:23:24.720303] [notice] Logging level set to:debug
|
|
[2026-02-01 17:23:24.720411] [debug] Payload recibido: {
|
|
"id": "evt_3Sw4JtEFY1WEUtgR1noTD8ks",
|
|
"object": "event",
|
|
"api_version": "2023-10-16",
|
|
"created": 1769966604,
|
|
"data": {
|
|
"object": {
|
|
"id": "pi_3Sw4JtEFY1WEUtgR13aAQfp5",
|
|
"object": "payment_intent",
|
|
"amount": 20000,
|
|
"amount_capturable": 0,
|
|
"amount_details": {
|
|
"tip": {}
|
|
},
|
|
"amount_received": 20000,
|
|
"application": null,
|
|
"application_fee_amount": null,
|
|
"automatic_payment_methods": null,
|
|
"canceled_at": null,
|
|
"cancellation_reason": null,
|
|
"capture_method": "automatic",
|
|
"client_secret": "pi_3Sw4JtEFY1WEUtgR13aAQfp5_secret_JhaWEeTutYinhblWekkar6MOO",
|
|
"confirmation_method": "automatic",
|
|
"created": 1769966421,
|
|
"currency": "mxn",
|
|
"customer": "cus_QJk0PDx5ClqJ4w",
|
|
"customer_account": null,
|
|
"description": null,
|
|
"excluded_payment_method_types": null,
|
|
"invoice": null,
|
|
"last_payment_error": null,
|
|
"latest_charge": "py_3Sw4JtEFY1WEUtgR1PbljNgk",
|
|
"livemode": false,
|
|
"metadata": {
|
|
"signedInAdminId": "1180",
|
|
"createdBy": "UCRM",
|
|
"ucrm_client_id": "135",
|
|
"clientId": "135",
|
|
"paymentType": "card.one_time",
|
|
"tipoPago": "OXXO"
|
|
},
|
|
"next_action": null,
|
|
"on_behalf_of": null,
|
|
"payment_method": "pm_1Sw4JtEFY1WEUtgR3A3tbNbG",
|
|
"payment_method_configuration_details": null,
|
|
"payment_method_options": {
|
|
"card": {
|
|
"installments": null,
|
|
"mandate_options": null,
|
|
"network": null,
|
|
"request_three_d_secure": "automatic"
|
|
},
|
|
"customer_balance": {
|
|
"funding_type": null
|
|
},
|
|
"oxxo": {
|
|
"expires_after_days": 3
|
|
}
|
|
},
|
|
"payment_method_types": [
|
|
"customer_balance",
|
|
"card",
|
|
"oxxo"
|
|
],
|
|
"processing": null,
|
|
"receipt_email": null,
|
|
"review": null,
|
|
"setup_future_usage": null,
|
|
"shipping": null,
|
|
"source": null,
|
|
"statement_descriptor": null,
|
|
"statement_descriptor_suffix": null,
|
|
"status": "succeeded",
|
|
"transfer_data": null,
|
|
"transfer_group": null
|
|
}
|
|
},
|
|
"livemode": false,
|
|
"pending_webhooks": 3,
|
|
"request": {
|
|
"id": null,
|
|
"idempotency_key": null
|
|
},
|
|
"type": "payment_intent.succeeded"
|
|
}
|
|
|
|
[2026-02-01 17:23:24.720468] [info] No UUID found in the webhook data
|
|
[2026-02-01 17:23:24.720484] [info] Evento de pago exitoso (Stripe PI) recibido.
|
|
[2026-02-01 17:23:24.770128] [notice] Logging level set to:debug
|
|
[2026-02-01 17:23:24.773247] [debug] Payload recibido: {
|
|
"id": "evt_3Sw4JtEFY1WEUtgR1uPriQsk",
|
|
"object": "event",
|
|
"api_version": "2023-10-16",
|
|
"created": 1769966604,
|
|
"data": {
|
|
"object": {
|
|
"id": "py_3Sw4JtEFY1WEUtgR1PbljNgk",
|
|
"object": "charge",
|
|
"amount": 20000,
|
|
"amount_captured": 20000,
|
|
"amount_refunded": 0,
|
|
"application": null,
|
|
"application_fee": null,
|
|
"application_fee_amount": null,
|
|
"balance_transaction": "txn_3Sw4JtEFY1WEUtgR1NqBKNXd",
|
|
"billing_details": {
|
|
"address": {
|
|
"city": null,
|
|
"country": null,
|
|
"line1": null,
|
|
"line2": null,
|
|
"postal_code": null,
|
|
"state": null
|
|
},
|
|
"email": "juanvaliente@gmail.com",
|
|
"name": "Juan Escutia",
|
|
"phone": null,
|
|
"tax_id": null
|
|
},
|
|
"calculated_statement_descriptor": null,
|
|
"captured": true,
|
|
"created": 1769966603,
|
|
"currency": "mxn",
|
|
"customer": "cus_QJk0PDx5ClqJ4w",
|
|
"description": null,
|
|
"destination": null,
|
|
"dispute": null,
|
|
"disputed": false,
|
|
"failure_balance_transaction": null,
|
|
"failure_code": null,
|
|
"failure_message": null,
|
|
"fraud_details": {},
|
|
"invoice": null,
|
|
"livemode": false,
|
|
"metadata": {
|
|
"signedInAdminId": "1180",
|
|
"createdBy": "UCRM",
|
|
"ucrm_client_id": "135",
|
|
"clientId": "135",
|
|
"paymentType": "card.one_time",
|
|
"tipoPago": "OXXO"
|
|
},
|
|
"on_behalf_of": null,
|
|
"order": null,
|
|
"outcome": {
|
|
"advice_code": null,
|
|
"network_advice_code": null,
|
|
"network_decline_code": null,
|
|
"network_status": "approved_by_network",
|
|
"reason": null,
|
|
"risk_level": "not_assessed",
|
|
"seller_message": "Payment complete.",
|
|
"type": "authorized"
|
|
},
|
|
"paid": true,
|
|
"payment_intent": "pi_3Sw4JtEFY1WEUtgR13aAQfp5",
|
|
"payment_method": "pm_1Sw4JtEFY1WEUtgR3A3tbNbG",
|
|
"payment_method_details": {
|
|
"oxxo": {
|
|
"number": "12345678901234657890123456789012"
|
|
},
|
|
"type": "oxxo"
|
|
},
|
|
"radar_options": {},
|
|
"receipt_email": null,
|
|
"receipt_number": null,
|
|
"receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKIyY_ssGMgYjljFLfXw6LBasNU0-QgnGaGIh7cpEHxLI1FtYTYTLacSI0kjASaHnsRPpx0ugOGPfw-Da",
|
|
"refunded": false,
|
|
"review": null,
|
|
"shipping": null,
|
|
"source": null,
|
|
"source_transfer": null,
|
|
"statement_descriptor": null,
|
|
"statement_descriptor_suffix": null,
|
|
"status": "succeeded",
|
|
"transfer_data": null,
|
|
"transfer_group": null
|
|
}
|
|
},
|
|
"livemode": false,
|
|
"pending_webhooks": 2,
|
|
"request": {
|
|
"id": null,
|
|
"idempotency_key": null
|
|
},
|
|
"type": "charge.succeeded"
|
|
}
|
|
|
|
[2026-02-01 17:23:24.773427] [info] No UUID found in the webhook data
|
|
[2026-02-01 17:23:25.523958] [notice] Logging level set to:debug
|
|
[2026-02-01 17:23:25.524086] [debug] Payload recibido: {"uuid":"57af60a3-4dbc-42ec-9f07-935b7f2cc843","changeType":"insert","entity":"payment","entityId":"944","eventName":"payment.add","extraData":{"entity":{"id":944,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-02-01T11:23:25-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
|
|
|
|
[2026-02-01 17:23:25.723608] [debug] Evento recibido: payment.add
|
|
[2026-02-01 17:23:25.723845] [debug] Notification encodificado en JSON:{"uuid":"57af60a3-4dbc-42ec-9f07-935b7f2cc843","changeType":"insert","entity":"payment","entityId":944,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":8300,"accountCredit":8300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":944,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-02-01T11:23:25-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}}
|
|
|
|
[2026-02-01 17:23:25.723934] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 944
|
|
[2026-02-01 17:23:25.744652] [info] Microservice found metadata: tipoPago = 'OXXO'
|
|
[2026-02-01 17:23:25.832763] [info] Payment 944 has no User ID. Assigning Stripe User ID: 1180
|
|
[2026-02-01 17:23:25.919313] [info] Payment 944 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to b01c0b35-b42c-48d9-9ad9-ea6591adfbbb via Microservice.
|
|
[2026-02-01 17:23:25.932885] [info] Payment Method ID patched successfully.
|
|
[2026-02-01 17:23:26.003385] [info] PATCHING Payment 944: Setting tipoPagoStripe = 'OXXO Pay'
|
|
Eviando comprobante de pago al cliente: 135 con número: 524181878106
|
|
|
|
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
|
|
|
|
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
|
|
|
|
Procesando PDF con microservicio: http://172.16.5.134:8050/process
|
|
|
|
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
|
|
|
|
[2026-02-01 17:23:26.622343] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769966606.jpg
|
|
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769966606.jpg
|
|
|
|
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
|
|
|
|
Proceso de obtención de imagen finalizado.
|
|
|
|
La cadena CURL que se envia es: {
|
|
"to": "524181878106",
|
|
"from": "whatsapp",
|
|
"type": "document",
|
|
"content": {
|
|
"text": "S/M",
|
|
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769966606.jpg"
|
|
},
|
|
"template_values": ["Juan Escutia", "$200", "$8300 a favor"],
|
|
"template_uuid": "57ead79cebd14902921477922403093b",
|
|
"optin_contact": true
|
|
}
|
|
Response del CallBell: {"message":{"uuid":"4b97dd1294524e9e84008ba5663b0056","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":"57af60a3-4dbc-42ec-9f07-935b7f2cc843","changeType":"insert","entity":"payment","entityId":944,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":8300,"accountCredit":8300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":944,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-02-01T11:23:25-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}}
|
|
|
|
Dentro del proceso del patch:
|
|
|
|
Datos traidos con payment api: [{"id":944,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-02-01T11:23:25-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":1180,"attributes":[{"id":"04f2a6e4-766f-473b-b8eb-96b6f039bd22","paymentId":944,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}]
|
|
|
|
Nombre del cliente que se va a actualizar: Juan Escutia
|
|
|
|
UUID: 74cc2bb45eb8409f92cd5dba99200d26
|
|
|
|
JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 01\/02\/2026 11:23","Saldo Actual":"\ud83d\udcb28300 a favor","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 01\/02\/2026 11:23 con Desconocido, revisar metodos de pago no contemplados","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb28300 a favor\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 01\/02\/2026 11:23 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"01\/02\/2026 11:23\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
|
|
|
|
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲8100 a favor'
|
|
|
|
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲8300 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":"Juan Escutia","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-02-01T15:22:57Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS","PRUEBAS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Clabe Interbancaria":"124180650741646979","Estado":"🟢 Activo ","Monto Ultimo Pago":"💲 200","Fecha Ultima Actualizacion":"📆🔄️ 01/02/2026 11:23","Cliente":"135","user name":"Daniel Humberto","Domicilio":"📍 Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Nombre":"👤 Juan Escutia","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}","Fecha Ultimo Pago":"📆💸 01/02/2026 11:23 con Desconocido, revisar metodos de pago no contemplados","URL":"🌐 https://sistema.siip.mx/crm/client/135","Saldo Actual":"💲8300 a favor","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https://sistema.siip.mx/crm/client/135\",\"Saldo Actual\": \"💲8300 a favor\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 01/02/2026 11:23 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"01/02/2026 11:23\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
|
|
|
|
[2026-02-01 17:23:29.257081] [notice] Logging level set to:debug
|
|
[2026-02-01 17:23:29.257145] [debug] Payload recibido: {"uuid":"6cf5c228-b737-4d7f-8318-f37b2a1c1578","changeType":"edit","entity":"payment","entityId":"944","eventName":"payment.edit","extraData":{"entity":{"id":944,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-02-01T11:23:25-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":1180,"attributes":[{"id":"04f2a6e4-766f-473b-b8eb-96b6f039bd22","paymentId":944,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]},"entityBeforeEdit":{"id":944,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-02-01T11:23:25-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}}}
|
|
|
|
[2026-02-01 17:23:29.445740] [debug] Evento recibido: payment.edit
|
|
[2026-02-01 19:16:51.224854] [notice] Logging level set to:debug
|
|
[2026-02-01 19:16:51.224926] [debug] Payload recibido: {"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":944,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":8300,"accountCredit":8300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"paymentData":{"id":944,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-02-01T11:23:25-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":1180,"attributes":[{"id":"04f2a6e4-766f-473b-b8eb-96b6f039bd22","paymentId":944,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
|
|
|
|
[2026-02-01 19:16:51.385564] [debug] Evento recibido: payment.add
|
|
[2026-02-01 19:16:51.385735] [debug] Notification encodificado en JSON:{"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":944,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":8300,"accountCredit":8300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":944,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-02-01T11:23:25-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":1180,"attributes":[{"id":"04f2a6e4-766f-473b-b8eb-96b6f039bd22","paymentId":944,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
|
|
|
|
Eviando comprobante de pago al cliente: 135 con número: 524181878106
|
|
|
|
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
|
|
|
|
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
|
|
|
|
Procesando PDF con microservicio: http://172.16.5.134:8050/process
|
|
|
|
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
|
|
|
|
[2026-02-01 19:16:51.813258] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769973411.jpg
|
|
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769973411.jpg
|
|
|
|
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
|
|
|
|
Proceso de obtención de imagen finalizado.
|
|
|
|
La cadena CURL que se envia es: {
|
|
"to": "524181878106",
|
|
"from": "whatsapp",
|
|
"type": "document",
|
|
"content": {
|
|
"text": "S/M",
|
|
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769973411.jpg"
|
|
},
|
|
"template_values": ["Juan Escutia", "$200", "$8300 a favor"],
|
|
"template_uuid": "57ead79cebd14902921477922403093b",
|
|
"optin_contact": true
|
|
}
|
|
Response del CallBell: {"message":{"uuid":"5fa9b20ee6e34d97961bc4829f1e2178","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":944,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":8300,"accountCredit":8300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":944,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-02-01T11:23:25-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":1180,"attributes":[{"id":"04f2a6e4-766f-473b-b8eb-96b6f039bd22","paymentId":944,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
|
|
|
|
Dentro del proceso del patch:
|
|
|
|
Datos traidos con payment api: [{"id":944,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-02-01T11:23:25-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":1180,"attributes":[{"id":"04f2a6e4-766f-473b-b8eb-96b6f039bd22","paymentId":944,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}]
|
|
|
|
Nombre del cliente que se va a actualizar: Juan Escutia
|
|
|
|
UUID: 74cc2bb45eb8409f92cd5dba99200d26
|
|
|
|
JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 01\/02\/2026 13:16","Saldo Actual":"\ud83d\udcb28300 a favor","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 01\/02\/2026 11:23 con Desconocido, revisar metodos de pago no contemplados","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb28300 a favor\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 01\/02\/2026 11:23 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"01\/02\/2026 13:16\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
|
|
|
|
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲8300 a favor'
|
|
|
|
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲8300 a favor'
|
|
|
|
DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
|
|
|
|
DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
|
|
|
|
NO SE EJECUTA PATCH - No hay cambios que actualizar
|
|
|
|
[PROPAGATED_DEBUG] Image Request: File=voucher_Juan_Escutia_1769983098.jpeg | PathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/voucher_Juan_Escutia_1769983098.jpeg | VoucherPathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/voucher_Juan_Escutia_1769983098.jpeg | FinalPath=/data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/voucher_Juan_Escutia_1769983098.jpeg | Exists=YES
|
|
[DEBUG_IMG] Serving /data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/voucher_Juan_Escutia_1769983098.jpeg. Size: 33378 bytes
|
|
[2026-02-01 22:01:21.906465] [notice] Logging level set to:debug
|
|
[2026-02-01 22:01:21.906533] [debug] Payload recibido: {
|
|
"id": "evt_3Sw8erEFY1WEUtgR1mYWyAXp",
|
|
"object": "event",
|
|
"api_version": "2023-10-16",
|
|
"created": 1769983281,
|
|
"data": {
|
|
"object": {
|
|
"id": "pi_3Sw8erEFY1WEUtgR1ooHYYrr",
|
|
"object": "payment_intent",
|
|
"amount": 33000,
|
|
"amount_capturable": 0,
|
|
"amount_details": {
|
|
"tip": {}
|
|
},
|
|
"amount_received": 33000,
|
|
"application": null,
|
|
"application_fee_amount": null,
|
|
"automatic_payment_methods": null,
|
|
"canceled_at": null,
|
|
"cancellation_reason": null,
|
|
"capture_method": "automatic",
|
|
"client_secret": "pi_3Sw8erEFY1WEUtgR1ooHYYrr_secret_uUxdnAbA0D05WgJmUnOvl7nmB",
|
|
"confirmation_method": "automatic",
|
|
"created": 1769983097,
|
|
"currency": "mxn",
|
|
"customer": "cus_QJk0PDx5ClqJ4w",
|
|
"customer_account": null,
|
|
"description": null,
|
|
"excluded_payment_method_types": null,
|
|
"invoice": null,
|
|
"last_payment_error": null,
|
|
"latest_charge": "py_3Sw8erEFY1WEUtgR1hhyoKW7",
|
|
"livemode": false,
|
|
"metadata": {
|
|
"signedInAdminId": "1180",
|
|
"createdBy": "UCRM",
|
|
"ucrm_client_id": "135",
|
|
"clientId": "135",
|
|
"paymentType": "card.one_time",
|
|
"tipoPago": "OXXO"
|
|
},
|
|
"next_action": null,
|
|
"on_behalf_of": null,
|
|
"payment_method": "pm_1Sw8erEFY1WEUtgRUmAaZcyU",
|
|
"payment_method_configuration_details": null,
|
|
"payment_method_options": {
|
|
"card": {
|
|
"installments": null,
|
|
"mandate_options": null,
|
|
"network": null,
|
|
"request_three_d_secure": "automatic"
|
|
},
|
|
"customer_balance": {
|
|
"funding_type": null
|
|
},
|
|
"oxxo": {
|
|
"expires_after_days": 3
|
|
}
|
|
},
|
|
"payment_method_types": [
|
|
"customer_balance",
|
|
"card",
|
|
"oxxo"
|
|
],
|
|
"processing": null,
|
|
"receipt_email": null,
|
|
"review": null,
|
|
"setup_future_usage": null,
|
|
"shipping": null,
|
|
"source": null,
|
|
"statement_descriptor": null,
|
|
"statement_descriptor_suffix": null,
|
|
"status": "succeeded",
|
|
"transfer_data": null,
|
|
"transfer_group": null
|
|
}
|
|
},
|
|
"livemode": false,
|
|
"pending_webhooks": 3,
|
|
"request": {
|
|
"id": null,
|
|
"idempotency_key": null
|
|
},
|
|
"type": "payment_intent.succeeded"
|
|
}
|
|
|
|
[2026-02-01 22:01:21.906570] [info] No UUID found in the webhook data
|
|
[2026-02-01 22:01:21.906580] [info] Evento de pago exitoso (Stripe PI) recibido.
|
|
[2026-02-01 22:01:22.136976] [notice] Logging level set to:debug
|
|
[2026-02-01 22:01:22.137042] [debug] Payload recibido: {
|
|
"id": "evt_3Sw8erEFY1WEUtgR1dQVRU3N",
|
|
"object": "event",
|
|
"api_version": "2023-10-16",
|
|
"created": 1769983281,
|
|
"data": {
|
|
"object": {
|
|
"id": "py_3Sw8erEFY1WEUtgR1hhyoKW7",
|
|
"object": "charge",
|
|
"amount": 33000,
|
|
"amount_captured": 33000,
|
|
"amount_refunded": 0,
|
|
"application": null,
|
|
"application_fee": null,
|
|
"application_fee_amount": null,
|
|
"balance_transaction": "txn_3Sw8erEFY1WEUtgR1lvdxEs1",
|
|
"billing_details": {
|
|
"address": {
|
|
"city": null,
|
|
"country": null,
|
|
"line1": null,
|
|
"line2": null,
|
|
"postal_code": null,
|
|
"state": null
|
|
},
|
|
"email": "juanvaliente@gmail.com",
|
|
"name": "Juan Escutia",
|
|
"phone": null,
|
|
"tax_id": null
|
|
},
|
|
"calculated_statement_descriptor": null,
|
|
"captured": true,
|
|
"created": 1769983280,
|
|
"currency": "mxn",
|
|
"customer": "cus_QJk0PDx5ClqJ4w",
|
|
"description": null,
|
|
"destination": null,
|
|
"dispute": null,
|
|
"disputed": false,
|
|
"failure_balance_transaction": null,
|
|
"failure_code": null,
|
|
"failure_message": null,
|
|
"fraud_details": {},
|
|
"invoice": null,
|
|
"livemode": false,
|
|
"metadata": {
|
|
"signedInAdminId": "1180",
|
|
"createdBy": "UCRM",
|
|
"ucrm_client_id": "135",
|
|
"clientId": "135",
|
|
"paymentType": "card.one_time",
|
|
"tipoPago": "OXXO"
|
|
},
|
|
"on_behalf_of": null,
|
|
"order": null,
|
|
"outcome": {
|
|
"advice_code": null,
|
|
"network_advice_code": null,
|
|
"network_decline_code": null,
|
|
"network_status": "approved_by_network",
|
|
"reason": null,
|
|
"risk_level": "not_assessed",
|
|
"seller_message": "Payment complete.",
|
|
"type": "authorized"
|
|
},
|
|
"paid": true,
|
|
"payment_intent": "pi_3Sw8erEFY1WEUtgR1ooHYYrr",
|
|
"payment_method": "pm_1Sw8erEFY1WEUtgRUmAaZcyU",
|
|
"payment_method_details": {
|
|
"oxxo": {
|
|
"number": "12345678901234657890123456789012"
|
|
},
|
|
"type": "oxxo"
|
|
},
|
|
"radar_options": {},
|
|
"receipt_email": null,
|
|
"receipt_number": null,
|
|
"receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKLGa_8sGMgbl3BWDjgo6LBbxm6tsVEN0o-FTFF4UiMlWGk_HBcws0JOaRJj19f7kOFk7xH9q_BsBLhD8",
|
|
"refunded": false,
|
|
"review": null,
|
|
"shipping": null,
|
|
"source": null,
|
|
"source_transfer": null,
|
|
"statement_descriptor": null,
|
|
"statement_descriptor_suffix": null,
|
|
"status": "succeeded",
|
|
"transfer_data": null,
|
|
"transfer_group": null
|
|
}
|
|
},
|
|
"livemode": false,
|
|
"pending_webhooks": 2,
|
|
"request": {
|
|
"id": null,
|
|
"idempotency_key": null
|
|
},
|
|
"type": "charge.succeeded"
|
|
}
|
|
|
|
[2026-02-01 22:01:22.137110] [info] No UUID found in the webhook data
|
|
[2026-02-01 22:01:23.066823] [notice] Logging level set to:debug
|
|
[2026-02-01 22:01:23.066883] [debug] Payload recibido: {"uuid":"a54b6a10-685e-4f71-96b7-c59663aabab2","changeType":"insert","entity":"payment","entityId":"945","eventName":"payment.add","extraData":{"entity":{"id":945,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-02-01T16:01:22-0600","amount":330,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":330,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
|
|
|
|
[2026-02-01 22:01:23.244204] [debug] Evento recibido: payment.add
|
|
[2026-02-01 22:01:23.244340] [debug] Notification encodificado en JSON:{"uuid":"a54b6a10-685e-4f71-96b7-c59663aabab2","changeType":"insert","entity":"payment","entityId":945,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":8630,"accountCredit":8630,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":945,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-02-01T16:01:22-0600","amount":330,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":330,"userId":null,"attributes":[]}}
|
|
|
|
[2026-02-01 22:01:23.244391] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 945
|
|
[2026-02-01 22:01:23.265923] [info] Microservice found metadata: tipoPago = 'OXXO'
|
|
[2026-02-01 22:01:23.340598] [info] Payment 945 has no User ID. Assigning Stripe User ID: 1180
|
|
[2026-02-01 22:01:23.434931] [info] Payment 945 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to b01c0b35-b42c-48d9-9ad9-ea6591adfbbb via Microservice.
|
|
[2026-02-01 22:01:24.448704] [info] Payment Method ID patched successfully.
|
|
[2026-02-01 22:01:24.575975] [info] PATCHING Payment 945: Setting tipoPagoStripe = 'OXXO Pay'
|
|
Eviando comprobante de pago al cliente: 135 con número: 524181878106
|
|
|
|
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
|
|
|
|
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
|
|
|
|
Procesando PDF con microservicio: http://172.16.5.134:8050/process
|
|
|
|
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
|
|
|
|
[2026-02-01 22:01:25.373352] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769983285.jpg
|
|
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769983285.jpg
|
|
|
|
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
|
|
|
|
Proceso de obtención de imagen finalizado.
|
|
|
|
La cadena CURL que se envia es: {
|
|
"to": "524181878106",
|
|
"from": "whatsapp",
|
|
"type": "document",
|
|
"content": {
|
|
"text": "S/M",
|
|
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769983285.jpg"
|
|
},
|
|
"template_values": ["Juan Escutia", "$330", "$8630 a favor"],
|
|
"template_uuid": "57ead79cebd14902921477922403093b",
|
|
"optin_contact": true
|
|
}
|
|
Response del CallBell: {"message":{"uuid":"b18323ddb69d4b82bb5118fe67398a4f","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":"a54b6a10-685e-4f71-96b7-c59663aabab2","changeType":"insert","entity":"payment","entityId":945,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":8630,"accountCredit":8630,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":945,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-02-01T16:01:22-0600","amount":330,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":330,"userId":null,"attributes":[]}}
|
|
|
|
Dentro del proceso del patch:
|
|
|
|
Datos traidos con payment api: [{"id":945,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-02-01T16:01:22-0600","amount":330,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":330,"userId":1180,"attributes":[{"id":"97b1b3e5-d89a-4889-bf79-f0927677011e","paymentId":945,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}]
|
|
|
|
Nombre del cliente que se va a actualizar: Juan Escutia
|
|
|
|
UUID: 74cc2bb45eb8409f92cd5dba99200d26
|
|
|
|
JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 01\/02\/2026 16:01","Saldo Actual":"\ud83d\udcb28630 a favor","Monto Ultimo Pago":"\ud83d\udcb2 330","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 01\/02\/2026 16:01 con Desconocido, revisar metodos de pago no contemplados","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb28630 a favor\",\"Monto Ultimo Pago\": \"$ 330\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 01\/02\/2026 16:01 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"01\/02\/2026 16:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
|
|
|
|
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲8300 a favor'
|
|
|
|
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲8630 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":"Juan Escutia","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-02-01T15:22:57Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS","PRUEBAS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Clabe Interbancaria":"124180650741646979","Estado":"🟢 Activo ","Monto Ultimo Pago":"💲 330","Fecha Ultima Actualizacion":"📆🔄️ 01/02/2026 16:01","Cliente":"135","user name":"Daniel Humberto","Domicilio":"📍 Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Nombre":"👤 Juan Escutia","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}","Fecha Ultimo Pago":"📆💸 01/02/2026 16:01 con Desconocido, revisar metodos de pago no contemplados","URL":"🌐 https://sistema.siip.mx/crm/client/135","Saldo Actual":"💲8630 a favor","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https://sistema.siip.mx/crm/client/135\",\"Saldo Actual\": \"💲8630 a favor\",\"Monto Ultimo Pago\": \"$ 330\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 01/02/2026 16:01 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"01/02/2026 16:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
|
|
|
|
[2026-02-01 22:01:28.301208] [notice] Logging level set to:debug
|
|
[2026-02-01 22:01:28.301322] [debug] Payload recibido: {"uuid":"1f0636e1-2746-42e0-8d75-3b8406bb2505","changeType":"edit","entity":"payment","entityId":"945","eventName":"payment.edit","extraData":{"entity":{"id":945,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-02-01T16:01:22-0600","amount":330,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":330,"userId":1180,"attributes":[]},"entityBeforeEdit":{"id":945,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-02-01T16:01:22-0600","amount":330,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":330,"userId":null,"attributes":[]}}}
|
|
|
|
[2026-02-01 22:01:28.468960] [debug] Evento recibido: payment.edit
|