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

1327 lines
181 KiB
Plaintext
Executable File

[2025-01-15 21:53:55.081048] [notice] Logging level set to:debug
[2025-01-15 21:53:55.227929] [debug] valor el evento recibido por webhook: client.edit
[2025-01-15 21:53:55.228279] [debug] Se actualiza a un cliente
[2025-01-15 21:53:55.228389] [debug] Valor de json_data: {"uuid":"5155b077-5601-41e1-8ca2-387ab57cfb50","changeType":"edit","entity":"client","entityId":"165","eventName":"client.edit","extraData":{"entity":{"id":165,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, 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":"2025-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jes\u00fas Javier","lastName":"Marmolejo Guti\u00e9rrez 234","username":"javimromo@gmail.com","contacts":[{"id":169,"clientId":165,"email":"javimromo@gmail.com","phone":"4187850632","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":163,"clientId":165,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"45646","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":165,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, 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":"2025-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jes\u00fas Javier","lastName":"Marmolejo Guti\u00e9rrez 23","username":"javimromo@gmail.com","contacts":[{"id":169,"clientId":165,"email":"javimromo@gmail.com","phone":"4187850632","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":163,"clientId":165,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"45646","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-01-15 21:53:55.228456] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-01-15 21:53:55.228506] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead
[2025-01-15 21:53:55.228553] [debug] No hubo cambio de true a false en el campo isLead
[2025-01-15 21:53:55.228621] [debug] {"uuid":"5155b077-5601-41e1-8ca2-387ab57cfb50","changeType":"edit","entity":"client","entityId":165,"message":null,"clientId":165,"eventName":"client.edit","clientData":{"id":165,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, 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":"2025-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jes\u00fas Javier","lastName":"Marmolejo Guti\u00e9rrez 234","username":"javimromo@gmail.com","contacts":[{"id":169,"clientId":165,"email":"javimromo@gmail.com","phone":"4187850632","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":163,"clientId":165,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"45646","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
[2025-01-15 21:56:35.620665] [notice] Logging level set to:debug
[2025-01-15 21:56:35.721910] [debug] valor el evento recibido por webhook: client.edit
[2025-01-15 21:56:35.722172] [debug] Se actualiza a un cliente
[2025-01-15 21:56:35.722228] [debug] Valor de json_data: {"uuid":"3cec6bba-9e27-484b-bae3-da4fa187aa44","changeType":"edit","entity":"client","entityId":"165","eventName":"client.edit","extraData":{"entity":{"id":165,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, 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":"2025-01-15T00:00:00-0600","leadConvertedAt":"2025-01-15T15:56:35-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jes\u00fas Javier","lastName":"Marmolejo Guti\u00e9rrez 234","username":"javimromo@gmail.com","contacts":[{"id":169,"clientId":165,"email":"javimromo@gmail.com","phone":"4187850632","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":163,"clientId":165,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"45646","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":165,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, 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":"2025-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jes\u00fas Javier","lastName":"Marmolejo Guti\u00e9rrez 234","username":"javimromo@gmail.com","contacts":[{"id":169,"clientId":165,"email":"javimromo@gmail.com","phone":"4187850632","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":163,"clientId":165,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"45646","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-01-15 21:56:35.722253] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-01-15 21:56:35.722263] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead
[2025-01-15 21:56:35.722271] [debug] El campo isLead cambió de true a false
[2025-01-15 21:56:35.771765] [info] ID correspondiente a 'Customer Stripe ID': 10
[2025-01-15 21:56:35.772077] [info] El valor de 'isLead' es: false
[2025-01-15 21:56:35.772099] [info] El cliente NO es un lead, se procesará
[2025-01-15 21:56:35.772110] [info] Creando el Customer Stripe
[2025-01-15 21:56:35.772119] [info] El cliente a procesar es : Jesús Javier Marmolejo Gutiérrez 234
[2025-01-15 21:56:35.772141] [info] Datos notificationData: {"uuid":"3cec6bba-9e27-484b-bae3-da4fa187aa44","changeType":"edit","entity":"client","entityId":165,"message":null,"clientId":165,"eventName":"client.edit","clientData":{"id":165,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, 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":"2025-01-15T00:00:00-0600","leadConvertedAt":"2025-01-15T15:56:35-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jes\u00fas Javier","lastName":"Marmolejo Guti\u00e9rrez 234","username":"javimromo@gmail.com","contacts":[{"id":169,"clientId":165,"email":"javimromo@gmail.com","phone":"4187850632","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":163,"clientId":165,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"45646","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
[2025-01-15 21:56:35.772157] [info] Ya dentro del FOREACH!!!
[2025-01-15 21:56:35.772165] [info] REVISANDO EL PRIMER CONTACTO!!!
[2025-01-15 21:56:35.772171] [info] REVISANDO EL PRIMER CONTACTO!!!
[2025-01-15 21:56:35.772181] [info] SE VALIDA EL EMAIL!!!
[2025-01-15 21:56:35.773142] [info] ahora se procede a validar el teléfono!!!
[2025-01-15 21:56:35.773252] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!!
[2025-01-15 21:56:36.371244] [info] {"id":"cus_RaqGZI0DL2sKyU","object":"customer","address":null,"balance":0,"created":1736978196,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 165","discount":null,"email":"javimromo@gmail.com","invoice_prefix":"FB953734","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Jes\u00fas Javier Marmolejo Guti\u00e9rrez 234","next_invoice_sequence":1,"phone":"4187850632","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null}
[2025-01-15 21:56:38.713524] [info] {"id":"cus_RaqGZI0DL2sKyU","object":"customer","address":null,"balance":0,"created":1736978196,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 165","discount":null,"email":"javimromo@gmail.com","invoice_prefix":"FB953734","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"165"},"name":"Jes\u00fas Javier Marmolejo Guti\u00e9rrez 234","next_invoice_sequence":1,"phone":"4187850632","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null}
[2025-01-15 21:56:39.167460] [notice] Logging level set to:debug
[2025-01-15 21:56:39.167690] [error] JSON error: No error
[2025-01-15 21:56:41.160135] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"account_holder_name":"SIIP INTERNET","bank_address":{"city":"Naucalpan","country":"MX","line1":"Blvd. Manuel Avila Camacho 1902","line2":"Planta Baja, Cd. Satelite","postal_code":"C.P. 53100","state":"Estado de Mexico"},"bank_code":"124","bank_name":"CITI","clabe":"124180523625226694"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false}
[2025-01-15 21:56:41.495721] [info] CLABE guardada en metadata: 124180523625226694
[2025-01-15 21:56:41.661045] [info] {}
[2025-01-15 21:56:41.661489] [debug] {"uuid":"3cec6bba-9e27-484b-bae3-da4fa187aa44","changeType":"edit","entity":"client","entityId":165,"message":null,"clientId":165,"eventName":"client.edit","clientData":{"id":165,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, 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":"2025-01-15T00:00:00-0600","leadConvertedAt":"2025-01-15T15:56:35-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jes\u00fas Javier","lastName":"Marmolejo Guti\u00e9rrez 234","username":"javimromo@gmail.com","contacts":[{"id":169,"clientId":165,"email":"javimromo@gmail.com","phone":"4187850632","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":163,"clientId":165,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"45646","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
[2025-01-15 21:56:41.781927] [notice] Logging level set to:debug
[2025-01-15 21:56:41.862229] [debug] valor el evento recibido por webhook: client.edit
[2025-01-15 21:56:41.862462] [debug] Se actualiza a un cliente
[2025-01-15 21:56:41.862524] [debug] Valor de json_data: {"uuid":"7bf36a4d-b8d4-4e8e-a98e-2305b6613c3d","changeType":"edit","entity":"client","entityId":"165","eventName":"client.edit","extraData":{"entity":{"id":165,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, 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":"2025-01-15T00:00:00-0600","leadConvertedAt":"2025-01-15T15:56:35-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jes\u00fas Javier","lastName":"Marmolejo Guti\u00e9rrez 234","username":"javimromo@gmail.com","contacts":[{"id":169,"clientId":165,"email":"javimromo@gmail.com","phone":"4187850632","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":163,"clientId":165,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"45646","clientZoneVisible":true},{"id":164,"clientId":165,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RaqGZI0DL2sKyU","clientZoneVisible":true},{"id":165,"clientId":165,"customAttributeId":11,"name":"Clabe Transferencia Banamex","key":"clabeTransferenciaBanamex","value":"124180523625226694","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":165,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, 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":"2025-01-15T00:00:00-0600","leadConvertedAt":"2025-01-15T15:56:35-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jes\u00fas Javier","lastName":"Marmolejo Guti\u00e9rrez 234","username":"javimromo@gmail.com","contacts":[{"id":169,"clientId":165,"email":"javimromo@gmail.com","phone":"4187850632","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":163,"clientId":165,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"45646","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-01-15 21:56:41.862555] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-01-15 21:56:41.862566] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead
[2025-01-15 21:56:41.862576] [debug] No hubo cambio de true a false en el campo isLead
[2025-01-15 21:56:41.862608] [debug] {"uuid":"7bf36a4d-b8d4-4e8e-a98e-2305b6613c3d","changeType":"edit","entity":"client","entityId":165,"message":null,"clientId":165,"eventName":"client.edit","clientData":{"id":165,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, 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":"2025-01-15T00:00:00-0600","leadConvertedAt":"2025-01-15T15:56:35-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jes\u00fas Javier","lastName":"Marmolejo Guti\u00e9rrez 234","username":"javimromo@gmail.com","contacts":[{"id":169,"clientId":165,"email":"javimromo@gmail.com","phone":"4187850632","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":163,"clientId":165,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"45646","clientZoneVisible":true},{"id":164,"clientId":165,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RaqGZI0DL2sKyU","clientZoneVisible":true},{"id":165,"clientId":165,"customAttributeId":11,"name":"Clabe Transferencia Banamex","key":"clabeTransferenciaBanamex","value":"124180523625226694","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
[2025-01-15 21:56:42.002871] [notice] Logging level set to:debug
[2025-01-15 21:56:42.003051] [error] JSON error: No error
[2025-01-16 4:44:20.787034] [notice] Logging level set to:debug
[2025-01-16 4:44:20.921854] [debug] valor el evento recibido por webhook: service.add
[2025-01-16 4:44:27.654686] [notice] Logging level set to:debug
[2025-01-16 4:44:27.786427] [debug] valor el evento recibido por webhook: service.edit
[2025-01-16 4:45:04.516012] [notice] Logging level set to:debug
[2025-01-16 4:45:04.587959] [debug] valor el evento recibido por webhook: client.edit
[2025-01-16 4:45:04.588200] [debug] Se actualiza a un cliente
[2025-01-16 4:45:04.588258] [debug] Valor de json_data: {"uuid":"820b63cf-495f-4188-a7d9-a8367204a0a2","changeType":"edit","entity":"client","entityId":"159","eventName":"client.edit","extraData":{"entity":{"id":159,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Quintana Roo","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Quintana Roo 45, Mariano Balleza, 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":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-15T22:45:04-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Lola","lastName":"La Trailera","username":null,"contacts":[{"id":163,"clientId":159,"email":null,"phone":"4156782356","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":156,"clientId":159,"customAttributeId":3,"name":"zona","key":"zona","value":"Saucillo","clientZoneVisible":true},{"id":162,"clientId":159,"customAttributeId":8,"name":"conekta","key":"conekta","value":"sin conekta","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.1575189,"addressGpsLon":-100.9256403,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":159,"userIdent":null,"previousIsp":null,"isLead":true,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Quintana Roo","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Quintana Roo 45, Mariano Balleza, 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":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Lola","lastName":"La Trailera","username":null,"contacts":[{"id":163,"clientId":159,"email":null,"phone":"4156782356","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":156,"clientId":159,"customAttributeId":3,"name":"zona","key":"zona","value":"Saucillo","clientZoneVisible":true},{"id":162,"clientId":159,"customAttributeId":8,"name":"conekta","key":"conekta","value":"sin conekta","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.1575189,"addressGpsLon":-100.9256403,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-01-16 4:45:04.588284] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-01-16 4:45:04.588294] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead
[2025-01-16 4:45:04.588304] [debug] El campo isLead cambió de true a false
[2025-01-16 4:45:04.630306] [info] ID correspondiente a 'Customer Stripe ID': 10
[2025-01-16 4:45:04.630651] [info] El valor de 'isLead' es: false
[2025-01-16 4:45:04.630685] [info] El cliente NO es un lead, se procesará
[2025-01-16 4:45:04.630697] [info] Creando el Customer Stripe
[2025-01-16 4:45:04.630707] [info] El cliente a procesar es : Lola La Trailera
[2025-01-16 4:45:04.630732] [info] Datos notificationData: {"uuid":"820b63cf-495f-4188-a7d9-a8367204a0a2","changeType":"edit","entity":"client","entityId":159,"message":null,"clientId":159,"eventName":"client.edit","clientData":{"id":159,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Quintana Roo","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Quintana Roo 45, Mariano Balleza, 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":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-15T22:45:04-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Lola","lastName":"La Trailera","username":null,"contacts":[{"id":163,"clientId":159,"email":null,"phone":"4156782356","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":156,"clientId":159,"customAttributeId":3,"name":"zona","key":"zona","value":"Saucillo","clientZoneVisible":true},{"id":162,"clientId":159,"customAttributeId":8,"name":"conekta","key":"conekta","value":"sin conekta","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.1575189,"addressGpsLon":-100.9256403,"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":null}
[2025-01-16 4:45:04.630752] [info] Ya dentro del FOREACH!!!
[2025-01-16 4:45:04.630759] [info] REVISANDO EL PRIMER CONTACTO!!!
[2025-01-16 4:45:04.630768] [info] REVISANDO EL PRIMER CONTACTO!!!
[2025-01-16 4:45:04.630781] [info] SE VALIDA EL EMAIL!!!
[2025-01-16 4:45:04.631550] [info] ahora se procede a validar el teléfono!!!
[2025-01-16 4:45:04.631702] [info] AHORA SE MANDA A CREAR EL CLIENTE A STRIPE!!!
[2025-01-16 4:45:05.247406] [info] {"id":"cus_RawqygNPH7qzaC","object":"customer","address":null,"balance":0,"created":1737002705,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 159","discount":null,"email":null,"invoice_prefix":"0B6DAA4A","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":[],"name":"Lola La Trailera","next_invoice_sequence":1,"phone":"4156782356","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null}
[2025-01-16 4:45:07.569515] [info] {"id":"cus_RawqygNPH7qzaC","object":"customer","address":null,"balance":0,"created":1737002705,"currency":null,"default_source":null,"delinquent":false,"description":"Cliente SIIP CRM con client_id: 159","discount":null,"email":null,"invoice_prefix":"0B6DAA4A","invoice_settings":{"custom_fields":null,"default_payment_method":null,"footer":null,"rendering_options":null},"livemode":false,"metadata":{"ucrm_client_id":"159"},"name":"Lola La Trailera","next_invoice_sequence":1,"phone":"4156782356","preferred_locales":["es-419"],"shipping":null,"tax_exempt":"none","test_clock":null}
[2025-01-16 4:45:08.069423] [notice] Logging level set to:debug
[2025-01-16 4:45:08.069607] [error] JSON error: No error
[2025-01-16 4:45:10.053886] [info] {"object":"funding_instructions","bank_transfer":{"country":"MX","financial_addresses":[{"spei":{"account_holder_address":{"city":"Ciudad de M\u00e9xico","country":"MX","line1":"Av Paseo de la Reforma 180 piso 29 col Juarez","line2":null,"postal_code":"06600","state":"Ciudad de M\u00e9xico"},"account_holder_name":"SIIP INTERNET","bank_address":{"city":"Naucalpan","country":"MX","line1":"Blvd. Manuel Avila Camacho 1902","line2":"Planta Baja, Cd. Satelite","postal_code":"C.P. 53100","state":"Estado de Mexico"},"bank_code":"124","bank_name":"CITI","clabe":"124180445716356438"},"supported_networks":["spei"],"type":"spei"}],"type":"mx_bank_transfer"},"currency":"mxn","funding_type":"bank_transfer","livemode":false}
[2025-01-16 4:45:10.357508] [info] CLABE guardada en metadata: 124180445716356438
[2025-01-16 4:45:10.510211] [info] {}
[2025-01-16 4:45:10.510652] [debug] {"uuid":"820b63cf-495f-4188-a7d9-a8367204a0a2","changeType":"edit","entity":"client","entityId":159,"message":null,"clientId":159,"eventName":"client.edit","clientData":{"id":159,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Quintana Roo","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Quintana Roo 45, Mariano Balleza, 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":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-15T22:45:04-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Lola","lastName":"La Trailera","username":null,"contacts":[{"id":163,"clientId":159,"email":null,"phone":"4156782356","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":156,"clientId":159,"customAttributeId":3,"name":"zona","key":"zona","value":"Saucillo","clientZoneVisible":true},{"id":162,"clientId":159,"customAttributeId":8,"name":"conekta","key":"conekta","value":"sin conekta","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.1575189,"addressGpsLon":-100.9256403,"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":null}
[2025-01-16 4:45:10.655261] [notice] Logging level set to:debug
[2025-01-16 4:45:10.732851] [debug] valor el evento recibido por webhook: client.edit
[2025-01-16 4:45:10.733122] [debug] Se actualiza a un cliente
[2025-01-16 4:45:10.733187] [debug] Valor de json_data: {"uuid":"6a136b4b-497f-4e17-abca-2855db4c7d4e","changeType":"edit","entity":"client","entityId":"159","eventName":"client.edit","extraData":{"entity":{"id":159,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Quintana Roo","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Quintana Roo 45, Mariano Balleza, 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":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-15T22:45:04-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Lola","lastName":"La Trailera","username":null,"contacts":[{"id":163,"clientId":159,"email":null,"phone":"4156782356","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":156,"clientId":159,"customAttributeId":3,"name":"zona","key":"zona","value":"Saucillo","clientZoneVisible":true},{"id":162,"clientId":159,"customAttributeId":8,"name":"conekta","key":"conekta","value":"sin conekta","clientZoneVisible":true},{"id":166,"clientId":159,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RawqygNPH7qzaC","clientZoneVisible":true},{"id":167,"clientId":159,"customAttributeId":11,"name":"Clabe Transferencia Banamex","key":"clabeTransferenciaBanamex","value":"124180445716356438","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.1575189,"addressGpsLon":-100.9256403,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":159,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Quintana Roo","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Quintana Roo 45, Mariano Balleza, 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":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-15T22:45:04-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Lola","lastName":"La Trailera","username":null,"contacts":[{"id":163,"clientId":159,"email":null,"phone":"4156782356","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":156,"clientId":159,"customAttributeId":3,"name":"zona","key":"zona","value":"Saucillo","clientZoneVisible":true},{"id":162,"clientId":159,"customAttributeId":8,"name":"conekta","key":"conekta","value":"sin conekta","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.1575189,"addressGpsLon":-100.9256403,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-01-16 4:45:10.733218] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-01-16 4:45:10.733228] [debug] Los datos entityBeforeEdit y entity contienen el campo isLead
[2025-01-16 4:45:10.733237] [debug] No hubo cambio de true a false en el campo isLead
[2025-01-16 4:45:10.733272] [debug] {"uuid":"6a136b4b-497f-4e17-abca-2855db4c7d4e","changeType":"edit","entity":"client","entityId":159,"message":null,"clientId":159,"eventName":"client.edit","clientData":{"id":159,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Quintana Roo","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Quintana Roo 45, Mariano Balleza, 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":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-15T22:45:04-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Lola","lastName":"La Trailera","username":null,"contacts":[{"id":163,"clientId":159,"email":null,"phone":"4156782356","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":156,"clientId":159,"customAttributeId":3,"name":"zona","key":"zona","value":"Saucillo","clientZoneVisible":true},{"id":162,"clientId":159,"customAttributeId":8,"name":"conekta","key":"conekta","value":"sin conekta","clientZoneVisible":true},{"id":166,"clientId":159,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RawqygNPH7qzaC","clientZoneVisible":true},{"id":167,"clientId":159,"customAttributeId":11,"name":"Clabe Transferencia Banamex","key":"clabeTransferenciaBanamex","value":"124180445716356438","clientZoneVisible":true}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.1575189,"addressGpsLon":-100.9256403,"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":null}
[2025-01-16 4:45:10.771367] [notice] Logging level set to:debug
[2025-01-16 4:45:10.771596] [error] JSON error: No error
[2025-01-16 4:53:33.540246] [notice] Logging level set to:debug
[2025-01-16 4:53:33.540494] [error] JSON error: No error
[2025-01-16 5:08:47.235658] [notice] Logging level set to:debug
[2025-01-16 5:08:47.235769] [info] No UUID found in the webhook data
[2025-01-16 5:08:47.235785] [info] Evento de referencia de oxxo recibido
[2025-01-16 5:08:47.235799] [info] Referencia persnoalizada, Valor del monto: 230
[2025-01-16 5:08:47.235809] [info] Creando referencia del cliente para OXXO:
[2025-01-16 5:08:47.525721] [info] Monto proporcionado directamente: 230
[2025-01-16 5:08:47.528628] [info] Creando referencia en Stripe por: 23000
[2025-01-16 5:08:48.016804] [error] Error al crear el payment intent: You passed an empty string for 'customer'. We assume empty values are an attempt to unset a parameter; however 'customer' cannot be unset. You should remove 'customer' from your request or supply a non-empty value.
[2025-01-16 5:08:48.018838] [info] Creando referencia del cliente para OXXO:
[2025-01-16 5:08:48.297327] [info] Monto proporcionado directamente: 230
[2025-01-16 5:08:48.297466] [info] Creando referencia en Stripe por: 23000
[2025-01-16 5:08:48.545404] [error] Error al crear el payment intent: You passed an empty string for 'customer'. We assume empty values are an attempt to unset a parameter; however 'customer' cannot be unset. You should remove 'customer' from your request or supply a non-empty value.
[2025-01-16 5:08:50.546758] [info] Creando referencia del cliente para OXXO:
[2025-01-16 5:08:50.832853] [info] Monto proporcionado directamente: 230
[2025-01-16 5:08:50.832904] [info] Creando referencia en Stripe por: 23000
[2025-01-16 5:08:51.087193] [error] Error al crear el payment intent: You passed an empty string for 'customer'. We assume empty values are an attempt to unset a parameter; however 'customer' cannot be unset. You should remove 'customer' from your request or supply a non-empty value.
[2025-01-16 5:08:53.088706] [info] Creando referencia del cliente para OXXO:
[2025-01-16 5:08:53.381306] [info] Monto proporcionado directamente: 230
[2025-01-16 5:08:53.381473] [info] Creando referencia en Stripe por: 23000
[2025-01-16 5:08:53.637723] [error] Error al crear el payment intent: You passed an empty string for 'customer'. We assume empty values are an attempt to unset a parameter; however 'customer' cannot be unset. You should remove 'customer' from your request or supply a non-empty value.
[2025-01-16 5:08:55.639067] [info] Creando referencia del cliente para OXXO:
[2025-01-16 5:08:55.913640] [info] Monto proporcionado directamente: 230
[2025-01-16 5:08:55.913768] [info] Creando referencia en Stripe por: 23000
[2025-01-16 5:08:56.165430] [error] Error al crear el payment intent: You passed an empty string for 'customer'. We assume empty values are an attempt to unset a parameter; however 'customer' cannot be unset. You should remove 'customer' from your request or supply a non-empty value.
[2025-01-16 5:08:56.166986] [debug] Reponse que se envía a CallBell: {"url": "errorCreatePaymentIntent"}
[2025-01-16 5:08:56.191195] [error] Error for request http://localhost/crm/api/v1.0/webhook-events/. HTTP error (404): {"code":404,"message":"Not Found"}
[2025-01-16 5:24:18.832590] [notice] Logging level set to:debug
[2025-01-16 5:24:18.834223] [info] No UUID found in the webhook data
[2025-01-16 5:24:18.834268] [info] Evento de referencia de oxxo recibido
[2025-01-16 5:24:18.834280] [info] Referencia persnoalizada, Valor del monto: 230
[2025-01-16 5:24:18.834290] [info] Creando referencia del cliente para OXXO:
[2025-01-16 5:24:19.105973] [info] Monto proporcionado directamente: 230
[2025-01-16 5:24:19.106023] [info] Creando referencia en Stripe por: 23000 para el cliente
[2025-01-16 5:24:19.613863] [error] Error al crear el payment intent: You passed an empty string for 'customer'. We assume empty values are an attempt to unset a parameter; however 'customer' cannot be unset. You should remove 'customer' from your request or supply a non-empty value.
[2025-01-16 5:24:19.615047] [info] Creando referencia del cliente para OXXO:
[2025-01-16 5:24:19.883740] [info] Monto proporcionado directamente: 230
[2025-01-16 5:24:19.883800] [info] Creando referencia en Stripe por: 23000 para el cliente
[2025-01-16 5:24:20.143662] [error] Error al crear el payment intent: You passed an empty string for 'customer'. We assume empty values are an attempt to unset a parameter; however 'customer' cannot be unset. You should remove 'customer' from your request or supply a non-empty value.
[2025-01-16 5:24:22.144926] [info] Creando referencia del cliente para OXXO:
[2025-01-16 5:24:22.404812] [info] Monto proporcionado directamente: 230
[2025-01-16 5:24:22.404856] [info] Creando referencia en Stripe por: 23000 para el cliente
[2025-01-16 5:24:22.655674] [error] Error al crear el payment intent: You passed an empty string for 'customer'. We assume empty values are an attempt to unset a parameter; however 'customer' cannot be unset. You should remove 'customer' from your request or supply a non-empty value.
[2025-01-16 5:24:24.656819] [info] Creando referencia del cliente para OXXO:
[2025-01-16 5:24:24.908540] [info] Monto proporcionado directamente: 230
[2025-01-16 5:24:24.908710] [info] Creando referencia en Stripe por: 23000 para el cliente
[2025-01-16 5:24:25.178117] [error] Error al crear el payment intent: You passed an empty string for 'customer'. We assume empty values are an attempt to unset a parameter; however 'customer' cannot be unset. You should remove 'customer' from your request or supply a non-empty value.
[2025-01-16 5:24:27.180141] [info] Creando referencia del cliente para OXXO:
[2025-01-16 5:24:27.463607] [info] Monto proporcionado directamente: 230
[2025-01-16 5:24:27.463653] [info] Creando referencia en Stripe por: 23000 para el cliente
[2025-01-16 5:24:27.717509] [error] Error al crear el payment intent: You passed an empty string for 'customer'. We assume empty values are an attempt to unset a parameter; however 'customer' cannot be unset. You should remove 'customer' from your request or supply a non-empty value.
[2025-01-16 5:24:27.719043] [debug] Reponse que se envía a CallBell: {"url": "errorCreatePaymentIntent"}
[2025-01-16 5:24:27.746236] [error] Error for request http://localhost/crm/api/v1.0/webhook-events/. HTTP error (404): {"code":404,"message":"Not Found"}
[2025-01-16 5:27:41.614556] [notice] Logging level set to:debug
[2025-01-16 5:27:41.615053] [info] No UUID found in the webhook data
[2025-01-16 5:27:41.615170] [info] Evento de referencia de oxxo recibido
[2025-01-16 5:27:41.615242] [info] Referencia persnoalizada, Valor del monto: 230
[2025-01-16 5:27:41.615319] [info] Creando referencia del cliente para OXXO:
[2025-01-16 5:27:41.752113] [info] Monto proporcionado directamente: 230
[2025-01-16 5:27:41.752254] [info] Creando referencia en Stripe por: 23000 para el cliente cus_PetN1dhr4rx0kX
[2025-01-16 5:27:42.330328] [info] Creando payment methods del voucher
[2025-01-16 5:27:42.589598] [info] Confirmando el paymentIntent
[2025-01-16 5:27:43.290405] [info] Se terminó de confirmar el paymentIntent
[2025-01-16 5:27:43.290579] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-01-16 5:27:43.290615] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SYXhYdmR1cExxMXF0ODdHclM2OTVxWEpSeU4zejY10100UYTvFLZF
[2025-01-16 5:27:43.291773] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SYXhYdmR1cExxMXF0ODdHclM2OTVxWEpSeU4zejY10100UYTvFLZF"}
[2025-01-16 5:27:43.311805] [error] Error for request http://localhost/crm/api/v1.0/webhook-events/. HTTP error (404): {"code":404,"message":"Not Found"}
[2025-01-16 5:30:47.996208] [notice] Logging level set to:debug
[2025-01-16 5:30:48.119559] [debug] valor el evento recibido por webhook: payment.add
[2025-01-16 5:30:48.121248] [debug] datos del notification para el invoice add:{"uuid":"34478ff8-f712-4d17-9995-3a2afca25f22","changeType":"insert","entity":"payment","entityId":507,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, 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-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias 789","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Transferencia Banamex","key":"clabeTransferenciaBanamex","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":8485,"accountCredit":8485,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":507,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-15T23:30:47-0600","amount":230,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":230,"userId":null,"attributes":[]}}
[2025-01-16 5:30:48.121354] [debug] valor del payment data: {"id":507,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-15T23:30:47-0600","amount":230,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":230,"userId":null,"attributes":[]}
[2025-01-16 5:30:48.121414] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181878106
El archivo se ha descargado correctamente y se ha guardado en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_Pollerias_789.png
El nombre del archivo PDF es: /home/unms/data/ucrm/ucrm/data/payment_receipts/c339da0c-2416-41ae-97e7-7146cd787e58.pdf
se creó la instancia de Imagick
Ancho original de la imagen:482 Altura original de la imagen: 1024
Terminó de crear la imagen del comprobante
Subiendo comprobante a worpdpress
Conexión FTP exitosa
El archivo ha sido cargado exitosamente.
La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_Pollerias_789.png
[2025-01-16 5:30:58.153141] [notice] Logging level set to:debug
[2025-01-16 5:30:58.276149] [debug] valor el evento recibido por webhook: payment.edit
Comprobante eliminado de Wordpress: Comprobante_SONIA_LEDEZMA_SOLIS.png
Archivos eliminados
Se terminó de subir comprobante a wordpress
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_Pollerias_789.png"
},
"template_values": ["Daniel Humberto Soto Villegas Pollerias 789", "$230", "$8485 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"1838b679d04d4ee9a8e42bb9490e76a0","status":"enqueued"}}
Hay menos de 50 archivos en el directorio. No se eliminarán archivos.
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":507,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-15T23:30:47-0600","amount":230,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":230,"userId":null,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas Pollerias 789
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas Pollerias 789","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas Pollerias 789","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb28485 a favor","Monto Ultimo Pago":"\ud83d\udcb2 230","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas Pollerias 789\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb28485 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 230\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 15\/01\/2025 23:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 15\/01\/2025 23:31\",\"Clabe Transferencia Banamex\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 15\/01\/2025 23:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 15\/01\/2025 23:31","Clabe Transferencia Banamex":null}}
Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas Pollerias 789","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-01-16T05:27:43Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Transferencia Banamex":"0021804341999569810","Cliente":"2","user entry point":"inbound_message","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 230","URL":"🌐 https://172.16.5.120/crm/client/2","Fecha Ultima Actualizacion":"📆🔄️ 15/01/2025 23:31","user name":"Daniel Humberto 🐁","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 15/01/2025 23:30 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias 789\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲8485 a favor\",\"Monto Ultimo Pago\": \"💲 230\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 15/01/2025 23:30 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 15/01/2025 23:31\",\"Clabe Transferencia Banamex\": \"\"}","Saldo Actual":"💲8485 a favor","Nombre":"👤 Daniel Humberto Soto Villegas Pollerias 789"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-01-16 19:17:39.661058] [notice] Logging level set to:debug
[2025-01-16 19:17:39.661427] [debug] Valor de JSON: {"uuid":"88b6459d-9016-4af0-b010-be27fa491f0a","changeType":"comment","entity":"ticketComment","entityId":"43","eventName":"ticket.comment","extraData":{"entity":{"id":43,"ticketId":12,"userId":1015,"body":"EL CLIENTE DICE QUE YA REINICI\u00d3 EL M\u00d3DEM","public":false,"createdAt":"2025-01-16T13:17:39-0600","emailFromAddress":null,"emailFromName":null,"phoneFrom":null,"attachments":[]},"entityBeforeEdit":null}}
[2025-01-16 19:17:39.698498] [debug] valor el evento recibido por webhook: ticket.comment
[2025-01-16 19:17:39.698682] [warning] No client specified, cannot notify them.
[2025-01-16 19:17:39.817815] [notice] Logging level set to:debug
[2025-01-16 19:17:39.817987] [debug] Valor de JSON: {"uuid":"f66fe472-67b0-4c4d-8034-2c98fe1dc2e4","changeType":"insert","entity":"ticket","entityId":"12","eventName":"ticket.add","extraData":{"entity":{"id":12,"subject":"CLIENTE NO TIENE INTERNET","clientId":2,"assignedGroupId":null,"assignedUserId":null,"createdAt":"2025-01-16T13:17:39-0600","emailFromAddress":null,"emailFromName":null,"status":0,"public":false,"lastActivity":"2025-01-16T19:17:39+0000","lastCommentAt":"2025-01-16T13:17:39-0600","isLastActivityByClient":false,"assignedJobIds":[],"phoneFrom":null,"tags":[],"activity":[{"id":43,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-16T13:17:39-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":null,"groupAssignment":null,"type":"comment","comment":{"id":null,"body":"EL CLIENTE DICE QUE YA REINICI\u00d3 EL M\u00d3DEM","emailFromAddress":null,"emailFromName":null,"phoneFrom":null,"attachments":[]}}]},"entityBeforeEdit":null}}
[2025-01-16 19:17:39.856149] [debug] valor el evento recibido por webhook: ticket.add
[2025-01-16 19:17:39.856338] [warning] No client specified, cannot notify them.
[2025-01-16 19:18:24.639421] [notice] Logging level set to:debug
[2025-01-16 19:18:24.639533] [debug] Valor de JSON: {"uuid":"3d82f056-2e26-4c9e-a45d-09870a710497","changeType":"insert","entity":"job","entityId":"19","eventName":"job.add","extraData":{"entity":{"id":19,"title":"Servicio para alinear antena de cliente","description":"Alinear con la sectorial con mejor se\u00f1al","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":null}}
[2025-01-16 19:18:24.667146] [debug] valor el evento recibido por webhook: job.add
[2025-01-16 19:18:24.667192] [warning] No client specified, cannot notify them.
[2025-01-16 19:18:24.804711] [notice] Logging level set to:debug
[2025-01-16 19:18:24.804812] [debug] Valor de JSON: {"uuid":"76bce5de-0ae7-4c52-9004-d4459b765994","changeType":"edit","entity":"ticket","entityId":"12","eventName":"ticket.edit","extraData":{"entity":{"id":12,"subject":"CLIENTE NO TIENE INTERNET","clientId":2,"assignedGroupId":null,"assignedUserId":null,"createdAt":"2025-01-16T13:17:39-0600","emailFromAddress":null,"emailFromName":null,"status":0,"public":false,"lastActivity":"2025-01-16T19:18:24+0000","lastCommentAt":"2025-01-16T13:17:39-0600","isLastActivityByClient":false,"assignedJobIds":[19],"phoneFrom":null,"tags":[],"activity":[{"id":43,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-16T13:17:39-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":null,"groupAssignment":null,"type":"comment","comment":{"id":null,"body":"EL CLIENTE DICE QUE YA REINICI\u00d3 EL M\u00d3DEM","emailFromAddress":null,"emailFromName":null,"phoneFrom":null,"attachments":[]}},{"id":44,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-16T13:18:24-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":19,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null}]},"entityBeforeEdit":{"id":12,"subject":"CLIENTE NO TIENE INTERNET","clientId":2,"assignedGroupId":null,"assignedUserId":null,"createdAt":"2025-01-16T13:17:39-0600","emailFromAddress":null,"emailFromName":null,"status":0,"public":false,"lastActivity":"2025-01-16T13:17:39-0600","lastCommentAt":"2025-01-16T13:17:39-0600","isLastActivityByClient":false,"assignedJobIds":[],"phoneFrom":null,"tags":[],"activity":[{"id":43,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-16T13:17:39-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":null,"groupAssignment":null,"type":"comment","comment":{"id":null,"body":"EL CLIENTE DICE QUE YA REINICI\u00d3 EL M\u00d3DEM","emailFromAddress":null,"emailFromName":null,"phoneFrom":null,"attachments":[]}},{"id":44,"ticketId":12,"userId":1015,"public":false,"createdAt":"2025-01-16T13:18:24-0600","assignment":null,"clientAssignment":null,"statusChange":null,"subjectChange":null,"jobAssignment":{"assignedJobId":19,"type":"add"},"groupAssignment":null,"type":"assignment_job","comment":null}]}}}
[2025-01-16 19:18:24.825927] [debug] valor el evento recibido por webhook: ticket.edit
[2025-01-16 19:18:24.825984] [warning] No client specified, cannot notify them.
[2025-01-16 19:18:24.945969] [notice] Logging level set to:debug
[2025-01-16 19:18:24.946146] [debug] Valor de JSON: {"uuid":"17e84f42-0016-4c0b-a06c-990f4f191d4f","changeType":"edit","entity":"job","entityId":"19","eventName":"job.edit","extraData":{"entity":{"id":19,"title":"Servicio para alinear antena de cliente","description":"Alinear con la sectorial con mejor se\u00f1al","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":19,"title":"Servicio para alinear antena de cliente","description":"Alinear con la sectorial con mejor se\u00f1al","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-01-16 19:18:24.973725] [debug] valor el evento recibido por webhook: job.edit
[2025-01-16 19:18:24.973895] [warning] No client specified, cannot notify them.
[2025-01-16 21:00:43.305783] [notice] Logging level set to:debug
[2025-01-16 21:00:43.333316] [debug] valor el evento recibido por webhook: job.edit
[2025-01-16 21:00:43.333374] [debug] Valor de JSON: {"uuid":"927014fa-e4d8-4ed1-90ae-ed1bd229d232","changeType":"edit","entity":"job","entityId":"19","eventName":"job.edit","extraData":{"entity":{"id":19,"title":"Servicio para alinear antena de cliente","description":"Alinear con la sectorial con mejor se\u00f1al","assignedUserId":1019,"clientId":2,"date":"2025-01-18T15:00:26-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":19,"title":"Servicio para alinear antena de cliente","description":"Alinear con la sectorial con mejor se\u00f1al","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-01-17 7:27:50.685728] [notice] Logging level set to:debug
[2025-01-17 7:27:50.721002] [debug] valor el evento recibido por webhook: job.edit
[2025-01-17 7:27:50.721152] [debug] Valor de JSON: {"uuid":"99e38e7c-9033-4212-b2dc-f800420352b7","changeType":"edit","entity":"job","entityId":"19","eventName":"job.edit","extraData":{"entity":{"id":19,"title":"Servicio para alinear antena de cliente","description":"Alinear con la sectorial con mejor se\u00f1al","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":19,"title":"Servicio para alinear antena de cliente","description":"Alinear con la sectorial con mejor se\u00f1al","assignedUserId":1019,"clientId":2,"date":"2025-01-18T15:00:26-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-01-17 7:27:50.722675] [debug] Se actualiza un trabajo
[2025-01-17 7:27:50.722774] [debug] {"uuid":"99e38e7c-9033-4212-b2dc-f800420352b7","changeType":"edit","entity":"job","entityId":19,"message":null,"clientId":null,"eventName":"job.edit","clientData":null,"serviceData":null,"invoiceData":null,"paymentData":null}
[2025-01-17 7:27:50.722860] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-01-17 7:27:50.722908] [debug] Los datos entityBeforeEdit y entity contienen el campo assignedUserId
[2025-01-17 7:27:50.722959] [warning] El campo assignedUserId no es de tipo booleano
[2025-01-17 7:27:50.723006] [debug] No hubo cambio en el campo assignedUserId
[2025-01-17 16:27:21.277578] [notice] Logging level set to:debug
[2025-01-17 16:27:21.306802] [debug] valor el evento recibido por webhook: job.edit
[2025-01-17 16:27:21.306941] [debug] Valor de JSON: {"uuid":"a51f24d4-fcd8-4d71-8870-fa855ac59342","changeType":"edit","entity":"job","entityId":"19","eventName":"job.edit","extraData":{"entity":{"id":19,"title":"Servicio para alinear antena de cliente","description":"Alinear con la sectorial con mejor se\u00f1al","assignedUserId":1019,"clientId":2,"date":"2025-01-18T10:30:10-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":19,"title":"Servicio para alinear antena de cliente","description":"Alinear con la sectorial con mejor se\u00f1al","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-01-17 16:27:21.307187] [debug] Se actualiza un trabajo
[2025-01-17 16:27:21.307255] [debug] Valor de json_data: {"uuid":"a51f24d4-fcd8-4d71-8870-fa855ac59342","changeType":"edit","entity":"job","entityId":"19","eventName":"job.edit","extraData":{"entity":{"id":19,"title":"Servicio para alinear antena de cliente","description":"Alinear con la sectorial con mejor se\u00f1al","assignedUserId":1019,"clientId":2,"date":"2025-01-18T10:30:10-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":19,"title":"Servicio para alinear antena de cliente","description":"Alinear con la sectorial con mejor se\u00f1al","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-01-17 16:27:21.307315] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-01-17 16:27:21.307363] [debug] Los datos entityBeforeEdit y entity contienen el campo assignedUserId
[2025-01-17 16:27:21.307410] [warning] El campo assignedUserId no es de tipo booleano
[2025-01-17 16:27:21.307457] [debug] El campo assignedUserId cambió
[2025-01-17 16:27:21.307509] [debug] Valor de $notificationData en verifyJobActionToDo: {"uuid":"a51f24d4-fcd8-4d71-8870-fa855ac59342","changeType":"edit","entity":"job","entityId":19,"message":null,"clientId":null,"eventName":"job.edit","clientData":null,"serviceData":null,"invoiceData":null,"paymentData":null}
[2025-01-17 16:40:26.182960] [notice] Logging level set to:debug
[2025-01-17 16:40:26.210371] [debug] valor el evento recibido por webhook: job.edit
[2025-01-17 16:40:26.210515] [debug] Valor de JSON: {"uuid":"5c8116d3-ebe0-4af5-b3f4-dc9cbbf944d0","changeType":"edit","entity":"job","entityId":"19","eventName":"job.edit","extraData":{"entity":{"id":19,"title":"Servicio para alinear antena de cliente","description":"Alinear con la sectorial con mejor se\u00f1al","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":19,"title":"Servicio para alinear antena de cliente","description":"Alinear con la sectorial con mejor se\u00f1al","assignedUserId":1019,"clientId":2,"date":"2025-01-18T10:30:10-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-01-17 16:40:26.210769] [debug] Se actualiza un trabajo
[2025-01-17 16:40:26.210836] [debug] Valor de json_data: {"uuid":"5c8116d3-ebe0-4af5-b3f4-dc9cbbf944d0","changeType":"edit","entity":"job","entityId":"19","eventName":"job.edit","extraData":{"entity":{"id":19,"title":"Servicio para alinear antena de cliente","description":"Alinear con la sectorial con mejor se\u00f1al","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":19,"title":"Servicio para alinear antena de cliente","description":"Alinear con la sectorial con mejor se\u00f1al","assignedUserId":1019,"clientId":2,"date":"2025-01-18T10:30:10-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-01-17 16:40:26.210886] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-01-17 16:40:26.210932] [debug] Los datos entityBeforeEdit y entity contienen el campo assignedUserId
[2025-01-17 16:40:26.210982] [warning] El campo assignedUserId no es de tipo booleano
[2025-01-17 16:40:26.211028] [debug] No hubo cambio en el campo assignedUserId
[2025-01-17 16:40:53.518764] [notice] Logging level set to:debug
[2025-01-17 16:40:53.578151] [debug] valor el evento recibido por webhook: job.edit
[2025-01-17 16:40:53.578301] [debug] Valor de JSON: {"uuid":"837bfd4f-cb87-4f23-95dc-f8b43ecd851f","changeType":"edit","entity":"job","entityId":"19","eventName":"job.edit","extraData":{"entity":{"id":19,"title":"Servicio para alinear antena de cliente","description":"Alinear con la sectorial con mejor se\u00f1al","assignedUserId":1019,"clientId":2,"date":"2025-01-18T11:00:44-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":19,"title":"Servicio para alinear antena de cliente","description":"Alinear con la sectorial con mejor se\u00f1al","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-01-17 16:40:53.578579] [debug] Se actualiza un trabajo
[2025-01-17 16:40:53.578660] [debug] Valor de json_data: {"uuid":"837bfd4f-cb87-4f23-95dc-f8b43ecd851f","changeType":"edit","entity":"job","entityId":"19","eventName":"job.edit","extraData":{"entity":{"id":19,"title":"Servicio para alinear antena de cliente","description":"Alinear con la sectorial con mejor se\u00f1al","assignedUserId":1019,"clientId":2,"date":"2025-01-18T11:00:44-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":19,"title":"Servicio para alinear antena de cliente","description":"Alinear con la sectorial con mejor se\u00f1al","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-01-17 16:40:53.578711] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-01-17 16:40:53.578768] [debug] Los datos entityBeforeEdit y entity contienen el campo assignedUserId
[2025-01-17 16:40:53.578815] [warning] El campo assignedUserId no es de tipo booleano
[2025-01-17 16:40:53.578861] [debug] El campo assignedUserId cambió
[2025-01-17 16:40:53.578917] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"837bfd4f-cb87-4f23-95dc-f8b43ecd851f","changeType":"edit","entity":"job","entityId":"19","eventName":"job.edit","extraData":{"entity":{"id":19,"title":"Servicio para alinear antena de cliente","description":"Alinear con la sectorial con mejor se\u00f1al","assignedUserId":1019,"clientId":2,"date":"2025-01-18T11:00:44-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":19,"title":"Servicio para alinear antena de cliente","description":"Alinear con la sectorial con mejor se\u00f1al","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-01-17 16:40:53.578963] [debug] Valor de $clientId en verifyJobActionToDo: 2
[2025-01-17 16:40:53.734963] [debug] Valor de $arrayClientCRM en verifyJobActionToDo: {"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, 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-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias 789","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Transferencia Banamex","key":"clabeTransferenciaBanamex","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":8730,"accountCredit":8730,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}
[2025-01-17 20:02:07.901446] [notice] Logging level set to:debug
[2025-01-17 20:02:07.901719] [info] No UUID found in the webhook data
[2025-01-17 20:02:07.901808] [info] Evento de referencia de oxxo recibido
[2025-01-17 20:02:07.901875] [info] Referencia persnoalizada, Valor del monto: 100
[2025-01-17 20:02:07.901945] [info] Creando referencia del cliente para OXXO:
[2025-01-17 20:02:08.035114] [info] Monto proporcionado directamente: 100
[2025-01-17 20:02:08.035249] [info] Creando referencia en Stripe por: 10000 para el cliente cus_PetN1dhr4rx0kX
[2025-01-17 20:02:08.674951] [info] Creando payment methods del voucher
[2025-01-17 20:03:28.681648] [error] Error al crear el payment intent: Could not connect to Stripe (https://api.stripe.com/v1/payment_methods). Please check your internet connection and try again. If this problem persists, you should check Stripe's service status at https://twitter.com/stripestatus, or let us know at support@stripe.com.
(Network error [errno 28]: Operation timed out after 80002 milliseconds with 0 bytes received)
[2025-01-17 20:03:28.682907] [info] Creando referencia del cliente para OXXO:
[2025-01-17 20:03:28.827073] [info] Monto proporcionado directamente: 100
[2025-01-17 20:03:28.827121] [info] Creando referencia en Stripe por: 10000 para el cliente cus_PetN1dhr4rx0kX
[2025-01-17 20:03:29.521027] [info] Creando payment methods del voucher
[2025-01-17 20:03:29.778733] [info] Confirmando el paymentIntent
[2025-01-17 20:03:30.488193] [info] Se terminó de confirmar el paymentIntent
[2025-01-17 20:03:30.488301] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-01-17 20:03:30.488332] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SYll0a0hFM3VHR3NudExQaGNKYVNSc0JWQ1I0Sm1H0100PnNa2osv
[2025-01-17 20:03:30.488816] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SYll0a0hFM3VHR3NudExQaGNKYVNSc0JWQ1I0Sm1H0100PnNa2osv"}
[2025-01-17 20:03:30.508465] [error] Error for request http://localhost/crm/api/v1.0/webhook-events/. HTTP error (404): {"code":404,"message":"Not Found"}
[2025-01-17 20:06:33.311655] [notice] Logging level set to:debug
[2025-01-17 20:06:33.437721] [debug] valor el evento recibido por webhook: payment.add
[2025-01-17 20:06:33.437855] [debug] Valor de JSON: {"uuid":"2e59d511-d6ea-4324-bfab-a98aaf66cf5c","changeType":"insert","entity":"payment","entityId":"509","eventName":"payment.add","extraData":{"entity":{"id":509,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:06:32-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-01-17 20:06:33.438148] [debug] datos del notification para el invoice add:{"uuid":"2e59d511-d6ea-4324-bfab-a98aaf66cf5c","changeType":"insert","entity":"payment","entityId":509,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, 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-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias 789","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Transferencia Banamex","key":"clabeTransferenciaBanamex","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":8830,"accountCredit":8830,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":509,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:06:32-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}
[2025-01-17 20:06:33.438231] [debug] valor del payment data: {"id":509,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:06:32-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}
[2025-01-17 20:06:33.438297] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181878106
El archivo se ha descargado correctamente y se ha guardado en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_Pollerias_789.png
El nombre del archivo PDF es: /home/unms/data/ucrm/ucrm/data/payment_receipts/4faf02ec-bd2f-470b-a1c3-c8ef7fa48c11.pdf
se creó la instancia de Imagick
Ancho original de la imagen:482 Altura original de la imagen: 1024
Terminó de crear la imagen del comprobante
Subiendo comprobante a worpdpress
Conexión FTP exitosa
[2025-01-17 20:06:43.471457] [notice] Logging level set to:debug
El archivo ha sido cargado exitosamente.
La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_Pollerias_789.png
[2025-01-17 20:06:43.619899] [debug] valor el evento recibido por webhook: payment.edit
[2025-01-17 20:06:43.619961] [debug] Valor de JSON: {"uuid":"ccf12b18-cc4a-4622-aea2-f9c2470dd1b8","changeType":"edit","entity":"payment","entityId":"509","eventName":"payment.edit","extraData":{"entity":{"id":509,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:06:32-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":509,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:06:32-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}}
Archivos eliminados
Se terminó de subir comprobante a wordpress
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_Pollerias_789.png"
},
"template_values": ["Daniel Humberto Soto Villegas Pollerias 789", "$100", "$8830 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"3dfb75e84bc649c79b0238cbd5b11749","status":"enqueued"}}
Hay menos de 50 archivos en el directorio. No se eliminarán archivos.
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":509,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:06:32-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas Pollerias 789
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas Pollerias 789","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas Pollerias 789","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb28830 a favor","Monto Ultimo Pago":"\ud83d\udcb2 100","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas Pollerias 789\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb28830 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 100\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 17\/01\/2025 14:06 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2025 14:06\",\"Clabe Transferencia Banamex\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2025 14:06 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2025 14:06","Clabe Transferencia Banamex":null}}
Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas Pollerias 789","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-01-17T20:02:18Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Transferencia Banamex":"0021804341999569810","Cliente":"2","user entry point":"inbound_message","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 100","URL":"🌐 https://172.16.5.120/crm/client/2","Fecha Ultima Actualizacion":"📆🔄️ 17/01/2025 14:06","user name":"Daniel Humberto 🐁","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 17/01/2025 14:06 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲8830 a favor","Nombre":"👤 Daniel Humberto Soto Villegas Pollerias 789","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias 789\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲8830 a favor\",\"Monto Ultimo Pago\": \"💲 100\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 17/01/2025 14:06 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 17/01/2025 14:06\",\"Clabe Transferencia Banamex\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-01-17 20:21:56.105835] [notice] Logging level set to:debug
[2025-01-17 20:21:56.106048] [info] No UUID found in the webhook data
[2025-01-17 20:21:56.106095] [info] Evento de referencia de oxxo recibido
[2025-01-17 20:21:56.106125] [info] Referencia persnoalizada, Valor del monto: 100
[2025-01-17 20:21:56.106153] [info] Creando referencia del cliente para OXXO:
[2025-01-17 20:21:56.254458] [info] Monto proporcionado directamente: 100
[2025-01-17 20:21:56.254499] [info] Creando referencia en Stripe por: 10000 para el cliente cus_RWj8SZIs9d3z41
[2025-01-17 20:21:56.824521] [info] Creando payment methods del voucher
[2025-01-17 20:21:57.068270] [info] Confirmando el paymentIntent
[2025-01-17 20:21:57.783916] [info] Se terminó de confirmar el paymentIntent
[2025-01-17 20:21:57.784051] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-01-17 20:21:57.784085] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SYlpCbHc2dHBLVVpBSVpsUEp6M0FTcGFWVThjbmkz0100qZIQvWSa
[2025-01-17 20:21:57.785255] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SYlpCbHc2dHBLVVpBSVpsUEp6M0FTcGFWVThjbmkz0100qZIQvWSa"}
[2025-01-17 20:21:57.807930] [error] Error for request http://localhost/crm/api/v1.0/webhook-events/. HTTP error (404): {"code":404,"message":"Not Found"}
[2025-01-17 20:23:19.164026] [notice] Logging level set to:debug
[2025-01-17 20:23:19.164258] [info] No UUID found in the webhook data
[2025-01-17 20:23:19.164340] [info] Evento de referencia de oxxo recibido
[2025-01-17 20:23:19.164407] [info] Referencia persnoalizada, Valor del monto: 100
[2025-01-17 20:23:19.164469] [info] Creando referencia del cliente para OXXO:
[2025-01-17 20:23:19.287184] [info] Monto proporcionado directamente: 100
[2025-01-17 20:23:19.287311] [info] Creando referencia en Stripe por: 10000 para el cliente cus_PdQvAvQ2wipl5k
[2025-01-17 20:23:19.878990] [info] Creando payment methods del voucher
[2025-01-17 20:23:20.133290] [info] Confirmando el paymentIntent
[2025-01-17 20:23:20.793133] [info] Se terminó de confirmar el paymentIntent
[2025-01-17 20:23:20.793261] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-01-17 20:23:20.793296] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SYlpES1NnbW9OV3NIRG5lZjhTZVFpcXdLZlZqMHQz0100sWPnZSya
[2025-01-17 20:23:20.794329] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SYlpES1NnbW9OV3NIRG5lZjhTZVFpcXdLZlZqMHQz0100sWPnZSya"}
[2025-01-17 20:23:20.815326] [error] Error for request http://localhost/crm/api/v1.0/webhook-events/. HTTP error (404): {"code":404,"message":"Not Found"}
[2025-01-17 20:25:02.746929] [notice] Logging level set to:debug
[2025-01-17 20:25:02.911145] [debug] valor el evento recibido por webhook: payment.add
[2025-01-17 20:25:02.911283] [debug] Valor de JSON: {"uuid":"99c5e710-2902-4a8a-b77c-1098bb950a58","changeType":"insert","entity":"payment","entityId":"510","eventName":"payment.add","extraData":{"entity":{"id":510,"clientId":156,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:25:02-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-01-17 20:25:02.912792] [debug] datos del notification para el invoice add:{"uuid":"99c5e710-2902-4a8a-b77c-1098bb950a58","changeType":"insert","entity":"payment","entityId":510,"message":null,"clientId":156,"eventName":"payment.add","clientData":{"id":156,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 34, Centro, 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":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Maria Gricelda","lastName":"L\u00f3pez Avalos","username":null,"contacts":[{"id":160,"clientId":156,"email":null,"phone":"4181817609","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":152,"clientId":156,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWj8SZIs9d3z41","clientZoneVisible":true},{"id":153,"clientId":156,"customAttributeId":11,"name":"Clabe Transferencia Banamex","key":"clabeTransferenciaBanamex","value":"124180553522369174","clientZoneVisible":true}],"accountBalance":3700,"accountCredit":3700,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.1562598,"addressGpsLon":-100.9370894,"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":510,"clientId":156,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:25:02-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}
[2025-01-17 20:25:02.912910] [debug] valor del payment data: {"id":510,"clientId":156,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:25:02-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}
[2025-01-17 20:25:02.913089] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 156 con número: 5214181817609
El archivo se ha descargado correctamente y se ha guardado en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Maria_Gricelda_López_Avalos.png
El nombre del archivo PDF es: /home/unms/data/ucrm/ucrm/data/payment_receipts/4e24bff2-66c1-4789-a01f-421f196224ce.pdf
se creó la instancia de Imagick
Ancho original de la imagen:482 Altura original de la imagen: 1024
Terminó de crear la imagen del comprobante
Subiendo comprobante a worpdpress
Conexión FTP exitosa
[2025-01-17 20:25:12.891940] [notice] Logging level set to:debug
[2025-01-17 20:25:13.009151] [debug] valor el evento recibido por webhook: payment.edit
[2025-01-17 20:25:13.009289] [debug] Valor de JSON: {"uuid":"1cf87632-6e5a-49c7-8e83-e9ec2e4b6abf","changeType":"edit","entity":"payment","entityId":"510","eventName":"payment.edit","extraData":{"entity":{"id":510,"clientId":156,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:25:02-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":510,"clientId":156,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:25:02-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}}
El archivo ha sido cargado exitosamente.
La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Maria_Gricelda_López_Avalos.png
Comprobante eliminado de Wordpress: Comprobante_YAEL_EDUARDO_ROMERO_RÍOS.png
Archivos eliminados
Se terminó de subir comprobante a wordpress
La cadena CURL que se envia es: {
"to": "5214181817609",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Maria_Gricelda_López_Avalos.png"
},
"template_values": ["Maria Gricelda López Avalos", "$100", "$3700 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"9e79595024594927aad08604eeafdd60","status":"enqueued"}}
Hay menos de 50 archivos en el directorio. No se eliminarán archivos.
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":510,"clientId":156,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:25:02-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}]
Nombre del cliente que se va a actualizar: Maria Gricelda López Avalos
UUID: 2038d2d99ae543f3b56f1ae54f4cc82b
JSON con los datos a actualizar: {"name":"Maria Gricelda L\u00f3pez Avalos","custom_fields":{"Cliente":156,"Domicilio":"\ud83d\udccd Yucat\u00e1n 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Maria Gricelda L\u00f3pez Avalos","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/156","Saldo Actual":"\ud83d\udcb23700 a favor","Monto Ultimo Pago":"\ud83d\udcb2 100","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"156\",\"Domicilio\": \"\ud83d\udccd Yucat\u00e1n 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Maria Gricelda L\u00f3pez Avalos\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/156\",\"Saldo Actual\": \"\ud83d\udcb23700 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 100\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 17\/01\/2025 14:25 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2025 14:25\",\"Clabe Transferencia Banamex\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2025 14:25 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2025 14:25","Clabe Transferencia Banamex":null}}
Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Maria Gricelda López Avalos","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-01-17T20:23:02Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Estado":"🟢 Activo ","Nombre":"👤 Maria Gricelda López Avalos","Cliente":"156","Domicilio":"📍 Yucatán 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://172.16.5.120/crm/client/156","Fecha Ultimo Pago":"📆💸 17/01/2025 14:25 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 100","Clabe Transferencia Banamex":"124180553522369174","Fecha Ultima Actualizacion":"📆🔄️ 17/01/2025 14:25","user entry point":"inbound_message","user name":"Grisel","Resumen":"{\"Cliente\": \"156\",\"Domicilio\": \"📍 Yucatán 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Maria Gricelda López Avalos\",\"URL\": \"🌐 https://172.16.5.120/crm/client/156\",\"Saldo Actual\": \"💲3700 a favor\",\"Monto Ultimo Pago\": \"💲 100\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 17/01/2025 14:25 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 17/01/2025 14:25\",\"Clabe Transferencia Banamex\": \"\"}","Saldo Actual":"💲3700 a favor"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-01-17 20:26:22.821536] [notice] Logging level set to:debug
[2025-01-17 20:26:22.938394] [debug] valor el evento recibido por webhook: payment.add
[2025-01-17 20:26:22.938456] [debug] Valor de JSON: {"uuid":"b094dc5b-90be-4548-83bd-0a29035d392e","changeType":"insert","entity":"payment","entityId":"511","eventName":"payment.add","extraData":{"entity":{"id":511,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:26:22-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-01-17 20:26:22.938822] [debug] datos del notification para el invoice add:{"uuid":"b094dc5b-90be-4548-83bd-0a29035d392e","changeType":"insert","entity":"payment","entityId":511,"message":null,"clientId":1,"eventName":"payment.add","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","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-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Transferencia Banamex","key":"clabeTransferenciaBanamex","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":1180,"accountCredit":1180,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":511,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:26:22-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}
[2025-01-17 20:26:22.938925] [debug] valor del payment data: {"id":511,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:26:22-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}
[2025-01-17 20:26:22.938986] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 1 con número: 5214181148554
El archivo se ha descargado correctamente y se ha guardado en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Don_Miguel_Ángel_Guerrero_González.png
El nombre del archivo PDF es: /home/unms/data/ucrm/ucrm/data/payment_receipts/3cd63dd4-71fa-4e97-81a4-732b459013a8.pdf
se creó la instancia de Imagick
Ancho original de la imagen:482 Altura original de la imagen: 1024
Terminó de crear la imagen del comprobante
Subiendo comprobante a worpdpress
Conexión FTP exitosa
El archivo ha sido cargado exitosamente.
La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Don_Miguel_Ángel_Guerrero_González.png
[2025-01-17 20:26:32.945863] [notice] Logging level set to:debug
[2025-01-17 20:26:33.058599] [debug] valor el evento recibido por webhook: payment.edit
[2025-01-17 20:26:33.058650] [debug] Valor de JSON: {"uuid":"33f42bbb-830b-4a9e-b7e7-fc9dd58efce2","changeType":"edit","entity":"payment","entityId":"511","eventName":"payment.edit","extraData":{"entity":{"id":511,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:26:22-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-01-17T14:26:23-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":511,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:26:22-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}}
Comprobante eliminado de Wordpress: Comprobante_LAURA_ARELY_CASTILLO_PADRON.png
Archivos eliminados
Se terminó de subir comprobante a wordpress
La cadena CURL que se envia es: {
"to": "5214181148554",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Don_Miguel_Ángel_Guerrero_González.png"
},
"template_values": ["Don Miguel Ángel Guerrero González", "$100", "$1180 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"19d50aad46564ac69ac67cfbfa0cabbd","status":"enqueued"}}
Hay menos de 50 archivos en el directorio. No se eliminarán archivos.
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":511,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:26:22-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-01-17T14:26:23-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}]
Nombre del cliente que se va a actualizar: Don Miguel Ángel Guerrero González
UUID: 0e53e926ce424db5b9284a75915d24fe
JSON con los datos a actualizar: {"name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","custom_fields":{"Cliente":1,"Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/1","Saldo Actual":"\ud83d\udcb21180 a favor","Monto Ultimo Pago":"\ud83d\udcb2 100","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/1\",\"Saldo Actual\": \"\ud83d\udcb21180 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 100\",\"Estado\": \"\ud83d\udd34 Suspendido\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 17\/01\/2025 14:26 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2025 14:26\",\"Clabe Transferencia Banamex\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2025 14:26 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2025 14:26","Clabe Transferencia Banamex":null}}
Response Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-01-10T22:57:09Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["NOBOT","SIIP"],"assignedUser":"avalos.mgla@gmail.com","customFields":{"URL":"🌐 https://172.16.5.120/crm/client/1","user entry point":"inbound_message","Clientes Relacionados":"oxxo","Cliente":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","Estado":"🔴 Suspendido","Clabe Transferencia Banamex":"124180650741039816","Nombre":"👤 Don Miguel Ángel Guerrero González","Fecha Ultima Actualizacion":"📆🔄️ 17/01/2025 14:26","Monto Ultimo Pago":"💲 100","user name":"Angel","Acciones":"NOBOT-SIIP","Fecha Ultimo Pago":"📆💸 17/01/2025 14:26 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"📍 Calle Morelos 34, Dolores Hidalgo, 37800\",\"Nombre\": \"👤 Don Miguel Ángel Guerrero González\",\"URL\": \"🌐 https://172.16.5.120/crm/client/1\",\"Saldo Actual\": \"💲1180 a favor\",\"Monto Ultimo Pago\": \"💲 100\",\"Estado\": \"🔴 Suspendido\",\"Fecha Ultimo Pago\": \"📆💰 17/01/2025 14:26 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 17/01/2025 14:26\",\"Clabe Transferencia Banamex\": \"\"}","Saldo Actual":"💲1180 a favor"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-01-17 20:31:25.887876] [notice] Logging level set to:debug
[2025-01-17 20:31:25.888045] [info] No UUID found in the webhook data
[2025-01-17 20:31:25.888081] [info] Evento de referencia de oxxo recibido
[2025-01-17 20:31:25.888103] [info] Referencia persnoalizada, Valor del monto: 100
[2025-01-17 20:31:25.888123] [info] Creando referencia del cliente para OXXO:
[2025-01-17 20:31:26.027580] [info] Monto proporcionado directamente: 100
[2025-01-17 20:31:26.027627] [info] Creando referencia en Stripe por: 10000 para el cliente cus_PetN1dhr4rx0kX
[2025-01-17 20:31:26.670897] [info] Creando payment methods del voucher
[2025-01-17 20:31:26.941698] [info] Confirmando el paymentIntent
[2025-01-17 20:31:27.651869] [info] Se terminó de confirmar el paymentIntent
[2025-01-17 20:31:27.652348] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-01-17 20:31:27.652476] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SYlpMUWREUFNTRUZEeWVHRjROMkluRno1Ykdtb2sy0100V3HTGOtb
[2025-01-17 20:31:27.653012] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SYlpMUWREUFNTRUZEeWVHRjROMkluRno1Ykdtb2sy0100V3HTGOtb"}
[2025-01-17 20:31:27.685148] [error] Error for request http://localhost/crm/api/v1.0/webhook-events/. HTTP error (404): {"code":404,"message":"Not Found"}
[2025-01-17 20:34:32.491942] [notice] Logging level set to:debug
[2025-01-17 20:34:32.610723] [debug] valor el evento recibido por webhook: payment.add
[2025-01-17 20:34:32.610776] [debug] Valor de JSON: {"uuid":"3613b68d-a559-4b2e-b040-5f50724eb15e","changeType":"insert","entity":"payment","entityId":"512","eventName":"payment.add","extraData":{"entity":{"id":512,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:34:32-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-01-17 20:34:32.611011] [debug] datos del notification para el invoice add:{"uuid":"3613b68d-a559-4b2e-b040-5f50724eb15e","changeType":"insert","entity":"payment","entityId":512,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, 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-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias 789","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Transferencia Banamex","key":"clabeTransferenciaBanamex","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":8930,"accountCredit":8930,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":512,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:34:32-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}
[2025-01-17 20:34:32.611044] [debug] valor del payment data: {"id":512,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:34:32-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}
[2025-01-17 20:34:32.611073] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181878106
El archivo se ha descargado correctamente y se ha guardado en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_Pollerias_789.png
El nombre del archivo PDF es: /home/unms/data/ucrm/ucrm/data/payment_receipts/3cbc6412-ff1a-4ec6-9810-7eba8c77052c.pdf
se creó la instancia de Imagick
Ancho original de la imagen:482 Altura original de la imagen: 1024
Terminó de crear la imagen del comprobante
Subiendo comprobante a worpdpress
Conexión FTP exitosa
El archivo ha sido cargado exitosamente.
La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_Pollerias_789.png
[2025-01-17 20:34:42.680747] [notice] Logging level set to:debug
[2025-01-17 20:34:42.813718] [debug] valor el evento recibido por webhook: payment.edit
[2025-01-17 20:34:42.813858] [debug] Valor de JSON: {"uuid":"2d8fe003-3c2d-496c-9810-faa5c1906c4d","changeType":"edit","entity":"payment","entityId":"512","eventName":"payment.edit","extraData":{"entity":{"id":512,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:34:32-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":512,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:34:32-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}}
Archivos eliminados
Se terminó de subir comprobante a wordpress
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_Pollerias_789.png"
},
"template_values": ["Daniel Humberto Soto Villegas Pollerias 789", "$100", "$8930 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"9bcb5b4663354b03b11165ac9d42a9f3","status":"enqueued"}}
Hay menos de 50 archivos en el directorio. No se eliminarán archivos.
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":512,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:34:32-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas Pollerias 789
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas Pollerias 789","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas Pollerias 789","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb28930 a favor","Monto Ultimo Pago":"\ud83d\udcb2 100","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas Pollerias 789\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb28930 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 100\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 17\/01\/2025 14:34 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2025 14:34\",\"Clabe Transferencia Banamex\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2025 14:34 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2025 14:34","Clabe Transferencia Banamex":null}}
Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas Pollerias 789","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-01-17T20:02:18Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Transferencia Banamex":"0021804341999569810","Cliente":"2","user entry point":"inbound_message","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 100","URL":"🌐 https://172.16.5.120/crm/client/2","Fecha Ultima Actualizacion":"📆🔄️ 17/01/2025 14:34","user name":"Daniel Humberto 🐁","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 17/01/2025 14:34 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲8930 a favor","Nombre":"👤 Daniel Humberto Soto Villegas Pollerias 789","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias 789\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲8930 a favor\",\"Monto Ultimo Pago\": \"💲 100\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 17/01/2025 14:34 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 17/01/2025 14:34\",\"Clabe Transferencia Banamex\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-01-17 20:46:20.982767] [notice] Logging level set to:debug
[2025-01-17 20:46:20.982891] [info] No UUID found in the webhook data
[2025-01-17 20:46:20.982912] [info] Evento de referencia de oxxo recibido
[2025-01-17 20:46:20.982924] [info] Referencia persnoalizada, Valor del monto: 100
[2025-01-17 20:46:20.982938] [info] Creando referencia del cliente para OXXO:
[2025-01-17 20:46:21.116018] [info] Monto proporcionado directamente: 100
[2025-01-17 20:46:21.116066] [info] Creando referencia en Stripe por: 10000 para el cliente cus_PetN1dhr4rx0kX
[2025-01-17 20:46:21.735250] [info] Creando payment methods del voucher
[2025-01-17 20:46:21.985485] [info] Confirmando el paymentIntent
[2025-01-17 20:46:22.634310] [info] Se terminó de confirmar el paymentIntent
[2025-01-17 20:46:22.634424] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-01-17 20:46:22.634454] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SYlphMkRGUjVwbmc5aWNyUlhKT0lzdmpaZTRKcm9i0100qbixRrvs
[2025-01-17 20:46:22.635399] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SYlphMkRGUjVwbmc5aWNyUlhKT0lzdmpaZTRKcm9i0100qbixRrvs"}
[2025-01-17 20:49:14.785238] [notice] Logging level set to:debug
[2025-01-17 20:49:14.785768] [info] No UUID found in the webhook data
[2025-01-17 20:49:14.785945] [info] Evento de referencia de oxxo recibido
[2025-01-17 20:49:14.786098] [info] Referencia persnoalizada, Valor del monto: 300
[2025-01-17 20:49:14.786248] [info] Creando referencia del cliente para OXXO:
[2025-01-17 20:49:14.922705] [info] Monto proporcionado directamente: 300
[2025-01-17 20:49:14.922755] [info] Creando referencia en Stripe por: 30000 para el cliente cus_RWj8SZIs9d3z41
[2025-01-17 20:49:15.490318] [info] Creando payment methods del voucher
[2025-01-17 20:49:15.737154] [info] Confirmando el paymentIntent
[2025-01-17 20:49:16.383804] [info] Se terminó de confirmar el paymentIntent
[2025-01-17 20:49:16.383867] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-01-17 20:49:16.383877] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SYlpjc3E1NVVjUXVTZU0xVlhYUUgxVldLMW4yc1BB0100v9xQZ1Xd
[2025-01-17 20:49:16.384150] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SYlpjc3E1NVVjUXVTZU0xVlhYUUgxVldLMW4yc1BB0100v9xQZ1Xd"}
[2025-01-17 20:49:24.934520] [notice] Logging level set to:debug
[2025-01-17 20:49:25.045125] [debug] valor el evento recibido por webhook: payment.add
[2025-01-17 20:49:25.045314] [debug] Valor de JSON: {"uuid":"9b5669de-5ff6-411b-a669-c80e3f0a2b3e","changeType":"insert","entity":"payment","entityId":"513","eventName":"payment.add","extraData":{"entity":{"id":513,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:49:24-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-01-17 20:49:25.045582] [debug] datos del notification para el invoice add:{"uuid":"9b5669de-5ff6-411b-a669-c80e3f0a2b3e","changeType":"insert","entity":"payment","entityId":513,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, 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-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias 789","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Transferencia Banamex","key":"clabeTransferenciaBanamex","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":9030,"accountCredit":9030,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":513,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:49:24-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}
[2025-01-17 20:49:25.045658] [debug] valor del payment data: {"id":513,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:49:24-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}
[2025-01-17 20:49:25.045722] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181878106
El archivo se ha descargado correctamente y se ha guardado en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_Pollerias_789.png
El nombre del archivo PDF es: /home/unms/data/ucrm/ucrm/data/payment_receipts/4dc96a6e-524c-4801-a4a5-57a2dead3aee.pdf
se creó la instancia de Imagick
Ancho original de la imagen:482 Altura original de la imagen: 1024
Terminó de crear la imagen del comprobante
Subiendo comprobante a worpdpress
Conexión FTP exitosa
El archivo ha sido cargado exitosamente.
La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_Pollerias_789.png
[2025-01-17 20:49:35.102914] [notice] Logging level set to:debug
[2025-01-17 20:49:35.225924] [debug] valor el evento recibido por webhook: payment.edit
[2025-01-17 20:49:35.225982] [debug] Valor de JSON: {"uuid":"f759ad95-22d9-416f-8b16-0ea7ac1377bf","changeType":"edit","entity":"payment","entityId":"513","eventName":"payment.edit","extraData":{"entity":{"id":513,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:49:24-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":513,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:49:24-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}}
Archivos eliminados
Se terminó de subir comprobante a wordpress
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_Pollerias_789.png"
},
"template_values": ["Daniel Humberto Soto Villegas Pollerias 789", "$100", "$9030 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"7e46f49c30cc48e5b2d549318518a49a","status":"enqueued"}}
Hay menos de 50 archivos en el directorio. No se eliminarán archivos.
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":513,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:49:24-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas Pollerias 789
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas Pollerias 789","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas Pollerias 789","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb29030 a favor","Monto Ultimo Pago":"\ud83d\udcb2 100","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas Pollerias 789\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb29030 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 100\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 17\/01\/2025 14:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2025 14:49\",\"Clabe Transferencia Banamex\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2025 14:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2025 14:49","Clabe Transferencia Banamex":null}}
Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas Pollerias 789","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-01-17T20:02:18Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Transferencia Banamex":"0021804341999569810","Cliente":"2","user entry point":"inbound_message","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 100","URL":"🌐 https://172.16.5.120/crm/client/2","Fecha Ultima Actualizacion":"📆🔄️ 17/01/2025 14:49","user name":"Daniel Humberto 🐁","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 17/01/2025 14:49 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲9030 a favor","Nombre":"👤 Daniel Humberto Soto Villegas Pollerias 789","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias 789\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲9030 a favor\",\"Monto Ultimo Pago\": \"💲 100\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 17/01/2025 14:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 17/01/2025 14:49\",\"Clabe Transferencia Banamex\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-01-17 20:52:20.248328] [notice] Logging level set to:debug
[2025-01-17 20:52:20.377552] [debug] valor el evento recibido por webhook: payment.add
[2025-01-17 20:52:20.377605] [debug] Valor de JSON: {"uuid":"294b2c22-f17c-4663-992a-4a9a9f085317","changeType":"insert","entity":"payment","entityId":"514","eventName":"payment.add","extraData":{"entity":{"id":514,"clientId":156,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:52:20-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-01-17 20:52:20.377846] [debug] datos del notification para el invoice add:{"uuid":"294b2c22-f17c-4663-992a-4a9a9f085317","changeType":"insert","entity":"payment","entityId":514,"message":null,"clientId":156,"eventName":"payment.add","clientData":{"id":156,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 34, Centro, 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":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Maria Gricelda","lastName":"L\u00f3pez Avalos","username":null,"contacts":[{"id":160,"clientId":156,"email":null,"phone":"4181817609","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":152,"clientId":156,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWj8SZIs9d3z41","clientZoneVisible":true},{"id":153,"clientId":156,"customAttributeId":11,"name":"Clabe Transferencia Banamex","key":"clabeTransferenciaBanamex","value":"124180553522369174","clientZoneVisible":true}],"accountBalance":4000,"accountCredit":4000,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.1562598,"addressGpsLon":-100.9370894,"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":514,"clientId":156,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:52:20-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}}
[2025-01-17 20:52:20.377891] [debug] valor del payment data: {"id":514,"clientId":156,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:52:20-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}
[2025-01-17 20:52:20.377917] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 156 con número: 5214181817609
El archivo se ha descargado correctamente y se ha guardado en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Maria_Gricelda_López_Avalos.png
El nombre del archivo PDF es: /home/unms/data/ucrm/ucrm/data/payment_receipts/b1d55c1b-03af-440c-9f29-090612945197.pdf
se creó la instancia de Imagick
Ancho original de la imagen:482 Altura original de la imagen: 1024
Terminó de crear la imagen del comprobante
Subiendo comprobante a worpdpress
Conexión FTP exitosa
El archivo ha sido cargado exitosamente.
La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Maria_Gricelda_López_Avalos.png
[2025-01-17 20:52:30.364306] [notice] Logging level set to:debug
[2025-01-17 20:52:30.510493] [debug] valor el evento recibido por webhook: payment.edit
[2025-01-17 20:52:30.510550] [debug] Valor de JSON: {"uuid":"895b2b71-462b-404e-b368-6eaf05a62a5d","changeType":"edit","entity":"payment","entityId":"514","eventName":"payment.edit","extraData":{"entity":{"id":514,"clientId":156,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:52:20-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":514,"clientId":156,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:52:20-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}}}
Archivos eliminados
Se terminó de subir comprobante a wordpress
La cadena CURL que se envia es: {
"to": "5214181817609",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Maria_Gricelda_López_Avalos.png"
},
"template_values": ["Maria Gricelda López Avalos", "$300", "$4000 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"2779d084949445faa91fafc1fb040c48","status":"enqueued"}}
Hay menos de 50 archivos en el directorio. No se eliminarán archivos.
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":514,"clientId":156,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T14:52:20-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}]
Nombre del cliente que se va a actualizar: Maria Gricelda López Avalos
UUID: 2038d2d99ae543f3b56f1ae54f4cc82b
JSON con los datos a actualizar: {"name":"Maria Gricelda L\u00f3pez Avalos","custom_fields":{"Cliente":156,"Domicilio":"\ud83d\udccd Yucat\u00e1n 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Maria Gricelda L\u00f3pez Avalos","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/156","Saldo Actual":"\ud83d\udcb24000 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"156\",\"Domicilio\": \"\ud83d\udccd Yucat\u00e1n 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Maria Gricelda L\u00f3pez Avalos\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/156\",\"Saldo Actual\": \"\ud83d\udcb24000 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 300\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 17\/01\/2025 14:52 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2025 14:52\",\"Clabe Transferencia Banamex\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2025 14:52 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2025 14:52","Clabe Transferencia Banamex":null}}
Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Maria Gricelda López Avalos","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2025-01-17T20:49:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":[],"assignedUser":null,"customFields":{"Estado":"🟢 Activo ","Nombre":"👤 Maria Gricelda López Avalos","Cliente":"156","Domicilio":"📍 Yucatán 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://172.16.5.120/crm/client/156","Fecha Ultimo Pago":"📆💸 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳","Monto Ultimo Pago":"💲 300","Clabe Transferencia Banamex":"124180553522369174","Fecha Ultima Actualizacion":"📆🔄️ 17/01/2025 14:52","user entry point":"inbound_message","user name":"Grisel","Saldo Actual":"💲4000 a favor","Resumen":"{\"Cliente\": \"156\",\"Domicilio\": \"📍 Yucatán 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Maria Gricelda López Avalos\",\"URL\": \"🌐 https://172.16.5.120/crm/client/156\",\"Saldo Actual\": \"💲4000 a favor\",\"Monto Ultimo Pago\": \"💲 300\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 17/01/2025 14:52 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 17/01/2025 14:52\",\"Clabe Transferencia Banamex\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-01-17 21:14:32.650773] [notice] Logging level set to:debug
[2025-01-17 21:14:32.650928] [info] No UUID found in the webhook data
[2025-01-17 21:14:32.650954] [info] Evento de referencia de oxxo recibido
[2025-01-17 21:14:32.650976] [info] Creando referencia del cliente para OXXO:
[2025-01-17 21:14:32.803354] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_RWj8SZIs9d3z41
[2025-01-17 21:14:32.803415] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-17 21:14:32.803914] [info] Creando referencia del cliente para OXXO:
[2025-01-17 21:14:32.909943] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_RWj8SZIs9d3z41
[2025-01-17 21:14:32.910073] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-17 21:14:32.910520] [info] Creando referencia del cliente para OXXO:
[2025-01-17 21:14:33.027280] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_RWj8SZIs9d3z41
[2025-01-17 21:14:33.027337] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-17 21:14:33.027625] [info] Creando referencia del cliente para OXXO:
[2025-01-17 21:14:33.136579] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_RWj8SZIs9d3z41
[2025-01-17 21:14:33.136622] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-17 21:14:33.136889] [info] Creando referencia del cliente para OXXO:
[2025-01-17 21:14:33.244143] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_RWj8SZIs9d3z41
[2025-01-17 21:14:33.244193] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-17 21:14:33.244643] [debug] Reponse que se envía a CallBell: {"url": "errorsinadeudo"}
[2025-01-17 21:17:28.754049] [notice] Logging level set to:debug
[2025-01-17 21:17:28.754298] [info] No UUID found in the webhook data
[2025-01-17 21:17:28.754400] [info] Evento de referencia de oxxo recibido
[2025-01-17 21:17:28.754468] [info] Creando referencia del cliente para OXXO:
[2025-01-17 21:17:28.870836] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_RWj8SZIs9d3z41
[2025-01-17 21:17:28.870970] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-17 21:17:28.871481] [info] Creando referencia del cliente para OXXO:
[2025-01-17 21:17:28.972219] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_RWj8SZIs9d3z41
[2025-01-17 21:17:28.972345] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-17 21:17:28.972635] [info] Creando referencia del cliente para OXXO:
[2025-01-17 21:17:29.071209] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_RWj8SZIs9d3z41
[2025-01-17 21:17:29.071250] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-17 21:17:29.071489] [info] Creando referencia del cliente para OXXO:
[2025-01-17 21:17:29.180877] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_RWj8SZIs9d3z41
[2025-01-17 21:17:29.180921] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-17 21:17:29.181356] [info] Creando referencia del cliente para OXXO:
[2025-01-17 21:17:29.288419] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_RWj8SZIs9d3z41
[2025-01-17 21:17:29.288464] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-17 21:17:29.288726] [debug] Reponse que se envía a CallBell: {"url": "errorsinadeudo"}
[2025-01-17 23:56:23.954437] [notice] Logging level set to:debug
[2025-01-17 23:56:23.954751] [info] No UUID found in the webhook data
[2025-01-17 23:56:23.954838] [info] Evento de referencia de oxxo recibido
[2025-01-17 23:56:23.954909] [info] Creando referencia del cliente para OXXO:
[2025-01-17 23:56:24.099539] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PetN1dhr4rx0kX
[2025-01-17 23:56:24.099584] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-17 23:56:24.099812] [info] Creando referencia del cliente para OXXO:
[2025-01-17 23:56:24.203810] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PetN1dhr4rx0kX
[2025-01-17 23:56:24.203931] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-17 23:56:24.204210] [info] Creando referencia del cliente para OXXO:
[2025-01-17 23:56:24.302634] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PetN1dhr4rx0kX
[2025-01-17 23:56:24.302761] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-17 23:56:24.303059] [info] Creando referencia del cliente para OXXO:
[2025-01-17 23:56:24.411746] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PetN1dhr4rx0kX
[2025-01-17 23:56:24.411801] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-17 23:56:24.412163] [info] Creando referencia del cliente para OXXO:
[2025-01-17 23:56:24.516341] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PetN1dhr4rx0kX
[2025-01-17 23:56:24.516407] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-17 23:56:24.517208] [debug] Reponse que se envía a CallBell: {"url": "errorsinadeudo"}
[2025-01-17 23:57:29.444081] [notice] Logging level set to:debug
[2025-01-17 23:57:29.444212] [info] No UUID found in the webhook data
[2025-01-17 23:57:29.444236] [info] Evento de referencia de oxxo recibido
[2025-01-17 23:57:29.444257] [info] Referencia persnoalizada, Valor del monto: 110
[2025-01-17 23:57:29.444272] [info] Creando referencia del cliente para OXXO:
[2025-01-17 23:57:29.567791] [info] Monto proporcionado directamente: 110
[2025-01-17 23:57:29.567915] [info] Creando referencia en Stripe por: 11000 para el cliente cus_PetN1dhr4rx0kX
[2025-01-17 23:57:30.197997] [info] Creando payment methods del voucher
[2025-01-17 23:57:30.446465] [info] Confirmando el paymentIntent
[2025-01-17 23:57:31.102494] [info] Se terminó de confirmar el paymentIntent
[2025-01-17 23:57:31.102628] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-01-17 23:57:31.102663] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SYmNmWE9FV3lKM2M5ODY1dE1OS3RFWDQweDFEck9P0100gpAc4Iqe
[2025-01-17 23:57:31.103602] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SYmNmWE9FV3lKM2M5ODY1dE1OS3RFWDQweDFEck9P0100gpAc4Iqe"}
[2025-01-17 23:57:47.113689] [notice] Logging level set to:debug
[2025-01-17 23:57:47.114293] [info] No UUID found in the webhook data
[2025-01-17 23:57:47.114479] [info] Evento de referencia de oxxo recibido
[2025-01-17 23:57:47.114615] [info] Creando referencia del cliente para OXXO:
[2025-01-17 23:57:47.248873] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PetN1dhr4rx0kX
[2025-01-17 23:57:47.249011] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-17 23:57:47.249311] [info] Creando referencia del cliente para OXXO:
[2025-01-17 23:57:47.358362] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PetN1dhr4rx0kX
[2025-01-17 23:57:47.358504] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-17 23:57:47.359072] [info] Creando referencia del cliente para OXXO:
[2025-01-17 23:57:47.464010] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PetN1dhr4rx0kX
[2025-01-17 23:57:47.464154] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-17 23:57:47.464442] [info] Creando referencia del cliente para OXXO:
[2025-01-17 23:57:47.564950] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PetN1dhr4rx0kX
[2025-01-17 23:57:47.565099] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-17 23:57:47.565383] [info] Creando referencia del cliente para OXXO:
[2025-01-17 23:57:47.663743] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PetN1dhr4rx0kX
[2025-01-17 23:57:47.663923] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-17 23:57:47.664216] [debug] Reponse que se envía a CallBell: {"url": "errorsinadeudo"}
[2025-01-17 23:58:06.485126] [notice] Logging level set to:debug
[2025-01-17 23:58:06.485584] [info] No UUID found in the webhook data
[2025-01-17 23:58:06.485769] [info] Evento de referencia de oxxo recibido
[2025-01-17 23:58:06.485929] [info] Referencia persnoalizada, Valor del monto: 170
[2025-01-17 23:58:06.486083] [info] Creando referencia del cliente para OXXO:
[2025-01-17 23:58:06.605401] [info] Monto proporcionado directamente: 170
[2025-01-17 23:58:06.605537] [info] Creando referencia en Stripe por: 17000 para el cliente cus_PetN1dhr4rx0kX
[2025-01-17 23:58:07.155786] [info] Creando payment methods del voucher
[2025-01-17 23:58:07.403100] [info] Confirmando el paymentIntent
[2025-01-17 23:58:08.057446] [info] Se terminó de confirmar el paymentIntent
[2025-01-17 23:58:08.057785] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-01-17 23:58:08.057954] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SYmNmeU5oazZxU296Rk85YnJ2d2duM1o0clZJSzZy0100oK1RNPVj
[2025-01-17 23:58:08.059422] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9SYmNmeU5oazZxU296Rk85YnJ2d2duM1o0clZJSzZy0100oK1RNPVj"}
[2025-01-18 0:00:02.640746] [notice] Logging level set to:debug
[2025-01-18 0:00:02.669190] [info] No UUID found in the webhook data
[2025-01-18 0:00:02.669342] [info] Evento de referencia de oxxo recibido
[2025-01-18 0:00:02.669401] [info] Creando referencia del cliente para OXXO:
[2025-01-18 0:00:04.181427] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PetN1dhr4rx0kX
[2025-01-18 0:00:04.181476] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-18 0:00:04.182811] [info] Creando referencia del cliente para OXXO:
[2025-01-18 0:00:04.805443] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PetN1dhr4rx0kX
[2025-01-18 0:00:04.805501] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-18 0:00:04.813225] [info] Creando referencia del cliente para OXXO:
[2025-01-18 0:00:05.566565] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PetN1dhr4rx0kX
[2025-01-18 0:00:05.566864] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-18 0:00:05.567183] [info] Creando referencia del cliente para OXXO:
[2025-01-18 0:00:06.053685] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PetN1dhr4rx0kX
[2025-01-18 0:00:06.053832] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-18 0:00:06.054153] [info] Creando referencia del cliente para OXXO:
[2025-01-18 0:00:06.609896] [info] Se obtuvieron los datos del cliente y Stripe Customer ID: cus_PetN1dhr4rx0kX
[2025-01-18 0:00:06.610236] [info] Este cliente no tiene adeudos por lo tanto no se puede generar su referencia de OXXO.
[2025-01-18 0:00:06.610661] [debug] Reponse que se envía a CallBell: {"url": "errorsinadeudo"}
[2025-01-18 0:00:34.444813] [notice] Logging level set to:debug
[2025-01-18 0:00:34.631594] [debug] valor el evento recibido por webhook: payment.add
[2025-01-18 0:00:34.631733] [debug] Valor de JSON: {"uuid":"67752209-fcbd-44d1-9f64-2cf753309a1c","changeType":"insert","entity":"payment","entityId":"515","eventName":"payment.add","extraData":{"entity":{"id":515,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T18:00:34-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-01-18 0:00:34.632010] [debug] datos del notification para el invoice add:{"uuid":"67752209-fcbd-44d1-9f64-2cf753309a1c","changeType":"insert","entity":"payment","entityId":515,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, 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-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias 789","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Transferencia Banamex","key":"clabeTransferenciaBanamex","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":9140,"accountCredit":9140,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":515,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T18:00:34-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}}
[2025-01-18 0:00:34.632087] [debug] valor del payment data: {"id":515,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T18:00:34-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}
[2025-01-18 0:00:34.632174] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181878106
El archivo se ha descargado correctamente y se ha guardado en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_Pollerias_789.png
El nombre del archivo PDF es: /home/unms/data/ucrm/ucrm/data/payment_receipts/56adaa8a-48f3-477c-87a7-9db00e24d233.pdf
se creó la instancia de Imagick
Ancho original de la imagen:482 Altura original de la imagen: 1024
Terminó de crear la imagen del comprobante
Subiendo comprobante a worpdpress
Conexión FTP exitosa
[2025-01-18 0:00:44.590440] [notice] Logging level set to:debug
[2025-01-18 0:00:44.721721] [debug] valor el evento recibido por webhook: payment.edit
[2025-01-18 0:00:44.721779] [debug] Valor de JSON: {"uuid":"90b75355-9f81-4ee6-bd77-6c21fdd40dd5","changeType":"edit","entity":"payment","entityId":"515","eventName":"payment.edit","extraData":{"entity":{"id":515,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T18:00:34-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":515,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T18:00:34-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}}}
El archivo ha sido cargado exitosamente.
La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_Pollerias_789.png
Archivos eliminados
Se terminó de subir comprobante a wordpress
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_Pollerias_789.png"
},
"template_values": ["Daniel Humberto Soto Villegas Pollerias 789", "$110", "$9140 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"091e18b53bfa4ab7ab5c1c6b182a2bba","status":"enqueued"}}
Hay menos de 50 archivos en el directorio. No se eliminarán archivos.
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":515,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T18:00:34-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":110,"userId":null,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas Pollerias 789
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas Pollerias 789","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas Pollerias 789","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb29140 a favor","Monto Ultimo Pago":"\ud83d\udcb2 110","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas Pollerias 789\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb29140 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 110\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 17\/01\/2025 18:00 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2025 18:00\",\"Clabe Transferencia Banamex\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2025 18:00 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2025 18:00","Clabe Transferencia Banamex":null}}
Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas Pollerias 789","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-01-18T00:00:11Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Transferencia Banamex":"0021804341999569810","Cliente":"2","user entry point":"inbound_message","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 110","URL":"🌐 https://172.16.5.120/crm/client/2","Fecha Ultima Actualizacion":"📆🔄️ 17/01/2025 18:00","user name":"Daniel Humberto 🐁","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 17/01/2025 18:00 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲9140 a favor","Nombre":"👤 Daniel Humberto Soto Villegas Pollerias 789","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias 789\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲9140 a favor\",\"Monto Ultimo Pago\": \"💲 110\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 17/01/2025 18:00 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 17/01/2025 18:00\",\"Clabe Transferencia Banamex\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-01-18 0:01:12.894787] [notice] Logging level set to:debug
[2025-01-18 0:01:13.023711] [debug] valor el evento recibido por webhook: payment.add
[2025-01-18 0:01:13.023875] [debug] Valor de JSON: {"uuid":"8f01905f-5301-4019-a9f5-d4ed5e45d820","changeType":"insert","entity":"payment","entityId":"516","eventName":"payment.add","extraData":{"entity":{"id":516,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T18:01:12-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-01-18 0:01:13.025352] [debug] datos del notification para el invoice add:{"uuid":"8f01905f-5301-4019-a9f5-d4ed5e45d820","changeType":"insert","entity":"payment","entityId":516,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, 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-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas Pollerias 789","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":"Personal","isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Transferencia Banamex","key":"clabeTransferenciaBanamex","value":"0021804341999569810","clientZoneVisible":true}],"accountBalance":9310,"accountCredit":9310,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":false,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":516,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T18:01:12-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}}
[2025-01-18 0:01:13.025474] [debug] valor del payment data: {"id":516,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T18:01:12-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}
[2025-01-18 0:01:13.025537] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181878106
El archivo se ha descargado correctamente y se ha guardado en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas_Pollerias_789.png
El nombre del archivo PDF es: /home/unms/data/ucrm/ucrm/data/payment_receipts/b5c2b353-2c10-4edd-a4b4-e32c1beb0f21.pdf
se creó la instancia de Imagick
Ancho original de la imagen:482 Altura original de la imagen: 1024
Terminó de crear la imagen del comprobante
Subiendo comprobante a worpdpress
Conexión FTP exitosa
[2025-01-18 0:01:23.014580] [notice] Logging level set to:debug
[2025-01-18 0:01:23.143523] [debug] valor el evento recibido por webhook: payment.edit
[2025-01-18 0:01:23.143697] [debug] Valor de JSON: {"uuid":"4f9687ed-f09e-4d06-9140-80c9f54cccd7","changeType":"edit","entity":"payment","entityId":"516","eventName":"payment.edit","extraData":{"entity":{"id":516,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T18:01:12-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":516,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T18:01:12-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}}}
El archivo ha sido cargado exitosamente.
La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_Pollerias_789.png
Archivos eliminados
Se terminó de subir comprobante a wordpress
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas_Pollerias_789.png"
},
"template_values": ["Daniel Humberto Soto Villegas Pollerias 789", "$170", "$9310 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"cdf3ec7f672b4e41918104a3eb44bc98","status":"enqueued"}}
Hay menos de 50 archivos en el directorio. No se eliminarán archivos.
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":516,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-01-17T18:01:12-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas Pollerias 789
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas Pollerias 789","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas Pollerias 789","URL":"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2","Saldo Actual":"\ud83d\udcb29310 a favor","Monto Ultimo Pago":"\ud83d\udcb2 170","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico\",\"Nombre\": \"\ud83d\udc64 Daniel Humberto Soto Villegas Pollerias 789\",\"URL\": \"\ud83c\udf10 https:\/\/172.16.5.120\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb29310 a favor\",\"Monto Ultimo Pago\": \"\ud83d\udcb2 170\",\"Estado\": \"\ud83d\udfe2 Activo\",\"Fecha Ultimo Pago\": \"\ud83d\udcc6\ud83d\udcb0 17\/01\/2025 18:01 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2025 18:01\",\"Clabe Transferencia Banamex\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2025 18:01 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2025 18:01","Clabe Transferencia Banamex":null}}
Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas Pollerias 789","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-01-18T00:00:11Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":[],"assignedUser":null,"customFields":{"Clabe Transferencia Banamex":"0021804341999569810","Cliente":"2","user entry point":"inbound_message","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 170","URL":"🌐 https://172.16.5.120/crm/client/2","Fecha Ultima Actualizacion":"📆🔄️ 17/01/2025 18:01","user name":"Daniel Humberto 🐁","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 17/01/2025 18:01 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲9310 a favor","Nombre":"👤 Daniel Humberto Soto Villegas Pollerias 789","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México\",\"Nombre\": \"👤 Daniel Humberto Soto Villegas Pollerias 789\",\"URL\": \"🌐 https://172.16.5.120/crm/client/2\",\"Saldo Actual\": \"💲9310 a favor\",\"Monto Ultimo Pago\": \"💲 170\",\"Estado\": \"🟢 Activo\",\"Fecha Ultimo Pago\": \"📆💰 17/01/2025 18:01 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"📆🔄️ 17/01/2025 18:01\",\"Clabe Transferencia Banamex\": \"\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":8,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}