diff --git a/data/plugin.log b/data/plugin.log index 52c4ab48..b65a306d 100755 --- a/data/plugin.log +++ b/data/plugin.log @@ -3228,3 +3228,3241 @@ DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo ' NO SE EJECUTA PATCH - No hay cambios que actualizar +[2026-02-12 4:34:02.949800] [notice] Logging level set to:debug +[2026-02-12 4:34:02.950130] [debug] Payload recibido: { + "id": "evt_3SzqfgEFY1WEUtgR1TUtKeje", + "object": "event", + "api_version": "2023-10-16", + "created": 1770870842, + "data": { + "object": { + "id": "pi_3SzqfgEFY1WEUtgR1w7E6MxJ", + "object": "payment_intent", + "amount": 10000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 0, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3SzqfgEFY1WEUtgR1w7E6MxJ_secret_v8yjA8zMiJ5w47VvQvKDTDZq2", + "confirmation_method": "automatic", + "created": 1770867268, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "135", + "paymentType": "card.one_time", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": { + "display_bank_transfer_instructions": { + "amount_remaining": 6000, + "currency": "mxn", + "financial_addresses": [ + { + "spei": { + "account_holder_address": { + "city": "Ciudad de México", + "country": "MX", + "line1": "Av Paseo de la Reforma 180 piso 29 col Juarez", + "line2": null, + "postal_code": "06600", + "state": "Ciudad de México" + }, + "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 MEXICO", + "clabe": "124180567617048545" + }, + "supported_networks": [ + "spei" + ], + "type": "spei" + } + ], + "hosted_instructions_url": "https://payments.stripe.com/bank_transfers/instructions/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UeG1FUGJ6VFVjYkxhZ1kxamtFZlp0T1R2cExRZ29o0100Bo8HB5Xr", + "reference": "393624", + "type": "mx_bank_transfer" + }, + "type": "display_bank_transfer_instructions" + }, + "on_behalf_of": null, + "payment_method": "pm_1SzqfgEFY1WEUtgRMZ5Hma6x", + "payment_method_configuration_details": null, + "payment_method_options": { + "customer_balance": { + "bank_transfer": { + "type": "mx_bank_transfer" + }, + "funding_type": "bank_transfer" + } + }, + "payment_method_types": [ + "customer_balance" + ], + "processing": null, + "receipt_email": null, + "review": null, + "setup_future_usage": null, + "shipping": null, + "source": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "requires_action", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_cLVh559yIbxNUm", + "idempotency_key": "3f24b18f-d781-45cd-9991-c47080213e78" + }, + "type": "payment_intent.partially_funded" +} + +[2026-02-12 4:34:02.950229] [info] No UUID found in the webhook data +[2026-02-12 4:34:02.950288] [info] Evento de pago parcialmente financiado encontrado: {"id":"evt_3SzqfgEFY1WEUtgR1TUtKeje","object":"event","api_version":"2023-10-16","created":1770870842,"data":{"object":{"id":"pi_3SzqfgEFY1WEUtgR1w7E6MxJ","object":"payment_intent","amount":10000,"amount_capturable":0,"amount_details":{"tip":[]},"amount_received":0,"application":null,"application_fee_amount":null,"automatic_payment_methods":null,"canceled_at":null,"cancellation_reason":null,"capture_method":"automatic_async","client_secret":"pi_3SzqfgEFY1WEUtgR1w7E6MxJ_secret_v8yjA8zMiJ5w47VvQvKDTDZq2","confirmation_method":"automatic","created":1770867268,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"description":null,"excluded_payment_method_types":null,"invoice":null,"last_payment_error":null,"latest_charge":null,"livemode":false,"metadata":{"signedInAdminId":"1180","createdBy":"UCRM","clientId":"135","paymentType":"card.one_time","tipoPago":"Transferencia Bancaria"},"next_action":{"display_bank_transfer_instructions":{"amount_remaining":6000,"currency":"mxn","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 MEXICO","clabe":"124180567617048545"},"supported_networks":["spei"],"type":"spei"}],"hosted_instructions_url":"https:\/\/payments.stripe.com\/bank_transfers\/instructions\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UeG1FUGJ6VFVjYkxhZ1kxamtFZlp0T1R2cExRZ29o0100Bo8HB5Xr","reference":"393624","type":"mx_bank_transfer"},"type":"display_bank_transfer_instructions"},"on_behalf_of":null,"payment_method":"pm_1SzqfgEFY1WEUtgRMZ5Hma6x","payment_method_configuration_details":null,"payment_method_options":{"customer_balance":{"bank_transfer":{"type":"mx_bank_transfer"},"funding_type":"bank_transfer"}},"payment_method_types":["customer_balance"],"processing":null,"receipt_email":null,"review":null,"setup_future_usage":null,"shipping":null,"source":null,"statement_descriptor":null,"statement_descriptor_suffix":null,"status":"requires_action","transfer_data":null,"transfer_group":null}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_cLVh559yIbxNUm","idempotency_key":"3f24b18f-d781-45cd-9991-c47080213e78"},"type":"payment_intent.partially_funded"} + +[2026-02-12 4:34:02.950335] [info] Detalles del evento: {"id":"evt_3SzqfgEFY1WEUtgR1TUtKeje","object":"event","api_version":"2023-10-16","created":1770870842,"data":{"object":{"id":"pi_3SzqfgEFY1WEUtgR1w7E6MxJ","object":"payment_intent","amount":10000,"amount_capturable":0,"amount_details":{"tip":[]},"amount_received":0,"application":null,"application_fee_amount":null,"automatic_payment_methods":null,"canceled_at":null,"cancellation_reason":null,"capture_method":"automatic_async","client_secret":"pi_3SzqfgEFY1WEUtgR1w7E6MxJ_secret_v8yjA8zMiJ5w47VvQvKDTDZq2","confirmation_method":"automatic","created":1770867268,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"description":null,"excluded_payment_method_types":null,"invoice":null,"last_payment_error":null,"latest_charge":null,"livemode":false,"metadata":{"signedInAdminId":"1180","createdBy":"UCRM","clientId":"135","paymentType":"card.one_time","tipoPago":"Transferencia Bancaria"},"next_action":{"display_bank_transfer_instructions":{"amount_remaining":6000,"currency":"mxn","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 MEXICO","clabe":"124180567617048545"},"supported_networks":["spei"],"type":"spei"}],"hosted_instructions_url":"https:\/\/payments.stripe.com\/bank_transfers\/instructions\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UeG1FUGJ6VFVjYkxhZ1kxamtFZlp0T1R2cExRZ29o0100Bo8HB5Xr","reference":"393624","type":"mx_bank_transfer"},"type":"display_bank_transfer_instructions"},"on_behalf_of":null,"payment_method":"pm_1SzqfgEFY1WEUtgRMZ5Hma6x","payment_method_configuration_details":null,"payment_method_options":{"customer_balance":{"bank_transfer":{"type":"mx_bank_transfer"},"funding_type":"bank_transfer"}},"payment_method_types":["customer_balance"],"processing":null,"receipt_email":null,"review":null,"setup_future_usage":null,"shipping":null,"source":null,"statement_descriptor":null,"statement_descriptor_suffix":null,"status":"requires_action","transfer_data":null,"transfer_group":null}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_cLVh559yIbxNUm","idempotency_key":"3f24b18f-d781-45cd-9991-c47080213e78"},"type":"payment_intent.partially_funded"} +[2026-02-12 4:34:03.192936] [notice] Logging level set to:debug +[2026-02-12 4:34:03.194711] [debug] Payload recibido: { + "id": "evt_1SzrbKEFY1WEUtgRsOwQx4qU", + "object": "event", + "api_version": "2023-10-16", + "created": 1770870841, + "data": { + "object": { + "id": "ccsbtxn_1SzrbJEFY1WEUtgRamqGcf4R", + "object": "customer_cash_balance_transaction", + "applied_to_payment": { + "payment_intent": "pi_3SwVQVEFY1WEUtgR1ZTbgoRH" + }, + "created": 1770870841, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "ending_balance": 4000, + "livemode": false, + "net_amount": -10000, + "type": "applied_to_payment" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_cLVh559yIbxNUm", + "idempotency_key": "3f24b18f-d781-45cd-9991-c47080213e78" + }, + "type": "customer_cash_balance_transaction.created" +} + +[2026-02-12 4:34:03.194900] [info] No UUID found in the webhook data +[2026-02-12 4:34:03.195048] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1SzrbKEFY1WEUtgRsOwQx4qU","object":"event","api_version":"2023-10-16","created":1770870841,"data":{"object":{"id":"ccsbtxn_1SzrbJEFY1WEUtgRamqGcf4R","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3SwVQVEFY1WEUtgR1ZTbgoRH"},"created":1770870841,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":4000,"livemode":false,"net_amount":-10000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_cLVh559yIbxNUm","idempotency_key":"3f24b18f-d781-45cd-9991-c47080213e78"},"type":"customer_cash_balance_transaction.created"} + +[2026-02-12 4:34:03.204720] [notice] Logging level set to:debug +[2026-02-12 4:34:03.204834] [debug] Payload recibido: { + "id": "evt_1SzrbKEFY1WEUtgRHCtYTQu5", + "object": "event", + "api_version": "2023-10-16", + "created": 1770870840, + "data": { + "object": { + "id": "ccsbtxn_1SzrbIEFY1WEUtgRTGExr1AN", + "object": "customer_cash_balance_transaction", + "created": 1770870840, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "ending_balance": 14000, + "funded": { + "bank_transfer": { + "reference": "", + "type": "mx_bank_transfer" + } + }, + "livemode": false, + "net_amount": 14000, + "type": "funded" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_cLVh559yIbxNUm", + "idempotency_key": "3f24b18f-d781-45cd-9991-c47080213e78" + }, + "type": "customer_cash_balance_transaction.created" +} + +[2026-02-12 4:34:03.204870] [info] No UUID found in the webhook data +[2026-02-12 4:34:03.204895] [info] Evento de transferencia de un cliente recibido: {"id":"evt_1SzrbKEFY1WEUtgRHCtYTQu5","object":"event","api_version":"2023-10-16","created":1770870840,"data":{"object":{"id":"ccsbtxn_1SzrbIEFY1WEUtgRTGExr1AN","object":"customer_cash_balance_transaction","created":1770870840,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":14000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":14000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_cLVh559yIbxNUm","idempotency_key":"3f24b18f-d781-45cd-9991-c47080213e78"},"type":"customer_cash_balance_transaction.created"} + +[2026-02-12 4:34:03.416701] [notice] Logging level set to:debug +[2026-02-12 4:34:03.416820] [debug] Payload recibido: { + "id": "evt_1SzrbKEFY1WEUtgRHXJowexQ", + "object": "event", + "api_version": "2023-10-16", + "created": 1770870842, + "data": { + "object": { + "id": "ccsbtxn_1SzrbKEFY1WEUtgRXYq5Vbnu", + "object": "customer_cash_balance_transaction", + "applied_to_payment": { + "payment_intent": "pi_3SzqfgEFY1WEUtgR1w7E6MxJ" + }, + "created": 1770870842, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "ending_balance": 0, + "livemode": false, + "net_amount": -4000, + "type": "applied_to_payment" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_cLVh559yIbxNUm", + "idempotency_key": "3f24b18f-d781-45cd-9991-c47080213e78" + }, + "type": "customer_cash_balance_transaction.created" +} + +[2026-02-12 4:34:03.416846] [info] No UUID found in the webhook data +[2026-02-12 4:34:03.416867] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1SzrbKEFY1WEUtgRHXJowexQ","object":"event","api_version":"2023-10-16","created":1770870842,"data":{"object":{"id":"ccsbtxn_1SzrbKEFY1WEUtgRXYq5Vbnu","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3SzqfgEFY1WEUtgR1w7E6MxJ"},"created":1770870842,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":0,"livemode":false,"net_amount":-4000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_cLVh559yIbxNUm","idempotency_key":"3f24b18f-d781-45cd-9991-c47080213e78"},"type":"customer_cash_balance_transaction.created"} + +[2026-02-12 4:34:03.507906] [notice] Logging level set to:debug +[2026-02-12 4:34:03.508043] [debug] Payload recibido: { + "id": "evt_3SwVQVEFY1WEUtgR1UBoXGDa", + "object": "event", + "api_version": "2023-10-16", + "created": 1770870841, + "data": { + "object": { + "id": "pi_3SwVQVEFY1WEUtgR1ZTbgoRH", + "object": "payment_intent", + "amount": 10000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 10000, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3SwVQVEFY1WEUtgR1ZTbgoRH_secret_iijvdCWy3Aa9rjrU79TyIrckH", + "confirmation_method": "automatic", + "created": 1770070619, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": "py_3SwVQVEFY1WEUtgR1lSQhh1l", + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "135", + "paymentType": "card.one_time", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": null, + "on_behalf_of": null, + "payment_method": "pm_1SwVQVEFY1WEUtgRonTjtPDC", + "payment_method_configuration_details": null, + "payment_method_options": { + "customer_balance": { + "bank_transfer": { + "type": "mx_bank_transfer" + }, + "funding_type": "bank_transfer" + } + }, + "payment_method_types": [ + "customer_balance" + ], + "processing": null, + "receipt_email": null, + "review": null, + "setup_future_usage": null, + "shipping": null, + "source": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "succeeded", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_cLVh559yIbxNUm", + "idempotency_key": "3f24b18f-d781-45cd-9991-c47080213e78" + }, + "type": "payment_intent.succeeded" +} + +[2026-02-12 4:34:03.508132] [info] No UUID found in the webhook data +[2026-02-12 4:34:03.508152] [info] Evento de pago exitoso (Stripe PI) recibido. +[2026-02-12 4:34:03.715631] [notice] Logging level set to:debug +[2026-02-12 4:34:03.715893] [debug] Payload recibido: { + "id": "evt_3SwVQVEFY1WEUtgR1jO58Mk6", + "object": "event", + "api_version": "2023-10-16", + "created": 1770870841, + "data": { + "object": { + "id": "py_3SwVQVEFY1WEUtgR1lSQhh1l", + "object": "charge", + "amount": 10000, + "amount_captured": 10000, + "amount_refunded": 0, + "application": null, + "application_fee": null, + "application_fee_amount": null, + "balance_transaction": null, + "billing_details": { + "address": { + "city": null, + "country": null, + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "email": null, + "name": null, + "phone": null, + "tax_id": null + }, + "calculated_statement_descriptor": null, + "captured": true, + "created": 1770870841, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "description": null, + "destination": null, + "dispute": null, + "disputed": false, + "failure_balance_transaction": null, + "failure_code": null, + "failure_message": null, + "fraud_details": {}, + "invoice": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "135", + "paymentType": "card.one_time", + "tipoPago": "Transferencia Bancaria" + }, + "on_behalf_of": null, + "order": null, + "outcome": { + "advice_code": null, + "network_advice_code": null, + "network_decline_code": null, + "network_status": "approved_by_network", + "reason": null, + "risk_level": "not_assessed", + "seller_message": "Payment complete.", + "type": "authorized" + }, + "paid": true, + "payment_intent": "pi_3SwVQVEFY1WEUtgR1ZTbgoRH", + "payment_method": "pm_1SwVQVEFY1WEUtgRonTjtPDC", + "payment_method_details": { + "customer_balance": {}, + "type": "customer_balance" + }, + "radar_options": {}, + "receipt_email": null, + "receipt_number": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKLuwtcwGMgYIsOTfxpk6LBa5BAAikcplnjm4Dr6_V3Tack0rKZLzIXjaz9REILvit_zULNhwdlYrKVbA", + "refunded": false, + "review": null, + "shipping": null, + "source": null, + "source_transfer": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "succeeded", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_cLVh559yIbxNUm", + "idempotency_key": "3f24b18f-d781-45cd-9991-c47080213e78" + }, + "type": "charge.succeeded" +} + +[2026-02-12 4:34:03.715980] [info] No UUID found in the webhook data +[2026-02-12 4:34:04.438517] [notice] Logging level set to:debug +[2026-02-12 4:34:04.438698] [debug] Payload recibido: {"uuid":"b9e5a4f2-4358-4f09-8231-643ea310ee2e","changeType":"insert","entity":"payment","entityId":"954","eventName":"payment.add","extraData":{"entity":{"id":954,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-02-11T22:34:03-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":null}} + +[2026-02-12 4:34:04.642554] [debug] Evento recibido: payment.add +[2026-02-12 4:34:04.642699] [debug] Notification encodificado en JSON:{"uuid":"b9e5a4f2-4358-4f09-8231-643ea310ee2e","changeType":"insert","entity":"payment","entityId":954,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false},{"id":310,"clientId":135,"customAttributeId":15,"name":"Site","key":"site","value":"El Lindero","clientZoneVisible":false},{"id":311,"clientId":135,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"San Vicente","clientZoneVisible":false},{"id":312,"clientId":135,"customAttributeId":22,"name":"ip","key":"ip","value":"172.16.86.64","clientZoneVisible":false},{"id":313,"clientId":135,"customAttributeId":24,"name":"adminpass","key":"adminpass","value":"admin1390","clientZoneVisible":true},{"id":314,"clientId":135,"customAttributeId":29,"name":"instalador","key":"instalador","value":"Chanclas","clientZoneVisible":true}],"accountBalance":9350,"accountCredit":9350,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":12,"name":"PAGO ELI","colorBackground":"#0050a1","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":954,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-02-11T22:34:03-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}} + +[2026-02-12 4:34:04.646692] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 954 +[2026-02-12 4:34:04.795258] [info] PaymentIntent creado: pi_3SzrbMEFY1WEUtgR1ec6QdGs +[2026-02-12 4:34:05.056015] [info] Microservice found metadata: tipoPago = 'Transferencia Bancaria' +[2026-02-12 4:34:05.077414] [notice] Logging level set to:debug +[2026-02-12 4:34:05.077513] [debug] Payload recibido: { + "id": "evt_3SzrbMEFY1WEUtgR1ixiv2hL", + "object": "event", + "api_version": "2023-10-16", + "created": 1770870844, + "data": { + "object": { + "id": "pi_3SzrbMEFY1WEUtgR1ec6QdGs", + "object": "payment_intent", + "amount": 14000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 0, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3SzrbMEFY1WEUtgR1ec6QdGs_secret_GfRFMmEfza2tLqKW0RUUlNwO0", + "confirmation_method": "automatic", + "created": 1770870844, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "135", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": { + "display_bank_transfer_instructions": { + "amount_remaining": 14000, + "currency": "mxn", + "financial_addresses": [ + { + "spei": { + "account_holder_address": { + "city": "Ciudad de México", + "country": "MX", + "line1": "Av Paseo de la Reforma 180 piso 29 col Juarez", + "line2": null, + "postal_code": "06600", + "state": "Ciudad de México" + }, + "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 MEXICO", + "clabe": "124180567617048545" + }, + "supported_networks": [ + "spei" + ], + "type": "spei" + } + ], + "hosted_instructions_url": "https://payments.stripe.com/bank_transfers/instructions/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UeG5CaTB2dlJZbnVzYXZmcFFuVU9GU0pJQ1did2150100vl7owMm0", + "reference": "163260", + "type": "mx_bank_transfer" + }, + "type": "display_bank_transfer_instructions" + }, + "on_behalf_of": null, + "payment_method": "pm_1SzrbMEFY1WEUtgRt0yU3SAh", + "payment_method_configuration_details": null, + "payment_method_options": { + "customer_balance": { + "bank_transfer": { + "type": "mx_bank_transfer" + }, + "funding_type": "bank_transfer" + } + }, + "payment_method_types": [ + "customer_balance" + ], + "processing": null, + "receipt_email": null, + "review": null, + "setup_future_usage": null, + "shipping": null, + "source": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "requires_action", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_YLRtpcItUSqncQ", + "idempotency_key": "evt_1SzrbKEFY1WEUtgRHCtYTQu5" + }, + "type": "payment_intent.requires_action" +} + +[2026-02-12 4:34:05.077568] [info] No UUID found in the webhook data +[2026-02-12 4:34:05.130021] [notice] Logging level set to:debug +[2026-02-12 4:34:05.130110] [debug] Payload recibido: { + "id": "evt_3SzrbMEFY1WEUtgR1VCLKEC0", + "object": "event", + "api_version": "2023-10-16", + "created": 1770870844, + "data": { + "object": { + "id": "pi_3SzrbMEFY1WEUtgR1ec6QdGs", + "object": "payment_intent", + "amount": 14000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 0, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3SzrbMEFY1WEUtgR1ec6QdGs_secret_GfRFMmEfza2tLqKW0RUUlNwO0", + "confirmation_method": "automatic", + "created": 1770870844, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "135", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": null, + "on_behalf_of": null, + "payment_method": null, + "payment_method_configuration_details": null, + "payment_method_options": { + "customer_balance": { + "bank_transfer": { + "type": "mx_bank_transfer" + }, + "funding_type": "bank_transfer" + } + }, + "payment_method_types": [ + "customer_balance" + ], + "processing": null, + "receipt_email": null, + "review": null, + "setup_future_usage": null, + "shipping": null, + "source": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "requires_payment_method", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_YLRtpcItUSqncQ", + "idempotency_key": "evt_1SzrbKEFY1WEUtgRHCtYTQu5" + }, + "type": "payment_intent.created" +} + +[2026-02-12 4:34:05.130146] [info] No UUID found in the webhook data +[2026-02-12 4:34:05.193300] [info] Payment 954 has no User ID. Assigning Stripe User ID: 1180 +[2026-02-12 4:34:05.458136] [info] Payment 954 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to 4145b5f5-3bbc-45e3-8fc5-9cda970c62fb via Microservice. +[2026-02-12 4:34:05.530304] [notice] Logging level set to:debug +[2026-02-12 4:34:05.530530] [debug] Payload recibido: { + "id": "evt_3SwVQVEFY1WEUtgR1ndaxbzN", + "object": "event", + "api_version": "2023-10-16", + "created": 1770870845, + "data": { + "object": { + "id": "py_3SwVQVEFY1WEUtgR1lSQhh1l", + "object": "charge", + "amount": 10000, + "amount_captured": 10000, + "amount_refunded": 0, + "application": null, + "application_fee": null, + "application_fee_amount": null, + "balance_transaction": "txn_3SwVQVEFY1WEUtgR1rVGuAlD", + "billing_details": { + "address": { + "city": null, + "country": null, + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "email": null, + "name": null, + "phone": null, + "tax_id": null + }, + "calculated_statement_descriptor": null, + "captured": true, + "created": 1770870841, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "description": null, + "destination": null, + "dispute": null, + "disputed": false, + "failure_balance_transaction": null, + "failure_code": null, + "failure_message": null, + "fraud_details": {}, + "invoice": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "135", + "paymentType": "card.one_time", + "tipoPago": "Transferencia Bancaria" + }, + "on_behalf_of": null, + "order": null, + "outcome": { + "advice_code": null, + "network_advice_code": null, + "network_decline_code": null, + "network_status": "approved_by_network", + "reason": null, + "risk_level": "not_assessed", + "seller_message": "Payment complete.", + "type": "authorized" + }, + "paid": true, + "payment_intent": "pi_3SwVQVEFY1WEUtgR1ZTbgoRH", + "payment_method": "pm_1SwVQVEFY1WEUtgRonTjtPDC", + "payment_method_details": { + "customer_balance": {}, + "type": "customer_balance" + }, + "radar_options": {}, + "receipt_email": null, + "receipt_number": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKL2wtcwGMgbfSL9UV206LBabdMArUE5i_ZMbbvOZJBC4qeyjzzd0_cDqAWcgZIg83qwrjpN3xpT5CwJr", + "refunded": false, + "review": null, + "shipping": null, + "source": null, + "source_transfer": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "succeeded", + "transfer_data": null, + "transfer_group": null + }, + "previous_attributes": { + "balance_transaction": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKL2wtcwGMgZzDqFpNaw6LBblyAWwi8Yf4eiekfX_voD0M0-CgROsKc_PWyyChXWvkToFEUqBJyPeTgZz" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "charge.updated" +} + +[2026-02-12 4:34:05.530613] [info] No UUID found in the webhook data +[2026-02-12 4:34:09.501899] [info] Payment Method ID patched successfully. +[2026-02-12 4:34:09.595391] [info] PATCHING Payment 954: Setting tipoPagoStripe = 'Transferencia Bancaria' +Eviando comprobante de pago al cliente: 135 con número: 524181878106 + +El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf + +El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf + +Procesando PDF con microservicio: http://172.16.5.134:8050/process + +Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg + +[2026-02-12 4:34:11.508435] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1770870851.jpg +Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1770870851.jpg + +Archivos temporales (PDF/JPG) eliminados tras subida exitosa. + +Proceso de obtención de imagen finalizado. + +La cadena CURL que se envia es: { + "to": "524181878106", + "from": "whatsapp", + "type": "document", + "content": { + "text": "S/M", + "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1770870851.jpg" + }, + "template_values": ["Juan Escutia", "$100", "$9350 a favor"], + "template_uuid": "57ead79cebd14902921477922403093b", + "optin_contact": true + } +Response del CallBell: {"message":{"uuid":"cdbc3c00188946d2ba59f7a8c2bdaffc","status":"enqueued"}} +Hay menos de 100 archivos en el directorio. No se eliminarán archivos. + +La notificación fue enviada correctamente con estado: enqueued + +Notificacion data: {"uuid":"b9e5a4f2-4358-4f09-8231-643ea310ee2e","changeType":"insert","entity":"payment","entityId":954,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false},{"id":310,"clientId":135,"customAttributeId":15,"name":"Site","key":"site","value":"El Lindero","clientZoneVisible":false},{"id":311,"clientId":135,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"San Vicente","clientZoneVisible":false},{"id":312,"clientId":135,"customAttributeId":22,"name":"ip","key":"ip","value":"172.16.86.64","clientZoneVisible":false},{"id":313,"clientId":135,"customAttributeId":24,"name":"adminpass","key":"adminpass","value":"admin1390","clientZoneVisible":true},{"id":314,"clientId":135,"customAttributeId":29,"name":"instalador","key":"instalador","value":"Chanclas","clientZoneVisible":true}],"accountBalance":9350,"accountCredit":9350,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":12,"name":"PAGO ELI","colorBackground":"#0050a1","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":954,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-02-11T22:34:03-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}} + +Dentro del proceso del patch: + +Datos traidos con payment api: [{"id":954,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-02-11T22:34:03-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":1180,"attributes":[{"id":"c20bfe3e-7538-4f2a-95fa-c14efad1c6db","paymentId":954,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]}] + +Nombre del cliente que se va a actualizar: Juan Escutia + +UUID: 74cc2bb45eb8409f92cd5dba99200d26 + +JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"El Lindero","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2026 22:34","Saldo Actual":"\ud83d\udcb29350 a favor","Monto Ultimo Pago":"\ud83d\udcb2 100","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/02\/2026 22:34 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6","Antena\/Sectorial":"San Vicente","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb29350 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11\/02\/2026 22:34 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6\",\"Fecha Ultima Actualizacion\": \"11\/02\/2026 22:34\",\"Clabe Interbancaria\": \"\",\"Site\": \"El Lindero\",\"Antena\/Sectorial\": \"San Vicente\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}} + +DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲9250 a favor' + +DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲9350 a favor' + +DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo ' + +DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo ' + +EJECUTANDO PATCH - Se detectaron cambios + +Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Juan Escutia","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-02-01T15:22:57Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS","PRUEBAS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650741646979","Estado":"🟢 Activo ","user name":"Daniel Humberto","Cliente":"135","URL":"🌐 https://sistema.siip.mx/crm/client/135","Domicilio":"📍 Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲9350 a favor","Monto Ultimo Pago":"💲 100","Fecha Ultima Actualizacion":"📆🔄️ 11/02/2026 22:34","Nombre":"👤 Juan Escutia","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https://sistema.siip.mx/crm/client/135\",\"Saldo Actual\": \"💲9350 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/02/2026 22:34 con Transferencia bancaria 📱🏦\",\"Fecha Ultima Actualizacion\": \"11/02/2026 22:34\",\"Clabe Interbancaria\": \"\",\"Site\": \"El Lindero\",\"Antena/Sectorial\": \"San Vicente\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}}","Site":"El Lindero","Fecha Ultimo Pago":"📆💸 11/02/2026 22:34 con Transferencia bancaria 📱🏦","Antena/Sectorial":"San Vicente"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}} + +[2026-02-12 4:34:14.016417] [notice] Logging level set to:debug +[2026-02-12 4:34:14.016539] [debug] Payload recibido: {"uuid":"0b07f2cd-965e-4391-aecd-56316f46b277","changeType":"edit","entity":"payment","entityId":"954","eventName":"payment.edit","extraData":{"entity":{"id":954,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-02-11T22:34:03-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":1180,"attributes":[]},"entityBeforeEdit":{"id":954,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-02-11T22:34:03-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}} + +[2026-02-12 4:34:14.225469] [debug] Evento recibido: payment.edit +[2026-02-12 4:39:49.783123] [notice] Logging level set to:debug +[2026-02-12 4:39:49.783401] [debug] Payload recibido: { + "id": "evt_1SzrgvEFY1WEUtgRaEFIHNe2", + "object": "event", + "api_version": "2023-10-16", + "created": 1770871188, + "data": { + "object": { + "id": "ccsbtxn_1SzrgtEFY1WEUtgRi47LGagS", + "object": "customer_cash_balance_transaction", + "created": 1770871187, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "ending_balance": 6000, + "funded": { + "bank_transfer": { + "reference": "393624", + "type": "mx_bank_transfer" + } + }, + "livemode": false, + "net_amount": 6000, + "type": "funded" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_BbS1A1XrXQothE", + "idempotency_key": "bddd3f39-b12e-40fb-ba26-3c4d676ce239" + }, + "type": "customer_cash_balance_transaction.created" +} + +[2026-02-12 4:39:49.783463] [info] No UUID found in the webhook data +[2026-02-12 4:39:49.783519] [info] Evento de transferencia de un cliente recibido: {"id":"evt_1SzrgvEFY1WEUtgRaEFIHNe2","object":"event","api_version":"2023-10-16","created":1770871188,"data":{"object":{"id":"ccsbtxn_1SzrgtEFY1WEUtgRi47LGagS","object":"customer_cash_balance_transaction","created":1770871187,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":6000,"funded":{"bank_transfer":{"reference":"393624","type":"mx_bank_transfer"}},"livemode":false,"net_amount":6000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_BbS1A1XrXQothE","idempotency_key":"bddd3f39-b12e-40fb-ba26-3c4d676ce239"},"type":"customer_cash_balance_transaction.created"} + +[2026-02-12 4:39:49.840212] [notice] Logging level set to:debug +[2026-02-12 4:39:49.840341] [debug] Payload recibido: { + "id": "evt_1SzrgvEFY1WEUtgRZ5DOmbN1", + "object": "event", + "api_version": "2023-10-16", + "created": 1770871188, + "data": { + "object": { + "id": "ccsbtxn_1SzrguEFY1WEUtgRi5ALyBiy", + "object": "customer_cash_balance_transaction", + "applied_to_payment": { + "payment_intent": "pi_3SzqfgEFY1WEUtgR1w7E6MxJ" + }, + "created": 1770871188, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "ending_balance": 0, + "livemode": false, + "net_amount": -6000, + "type": "applied_to_payment" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_BbS1A1XrXQothE", + "idempotency_key": "bddd3f39-b12e-40fb-ba26-3c4d676ce239" + }, + "type": "customer_cash_balance_transaction.created" +} + +[2026-02-12 4:39:49.840367] [info] No UUID found in the webhook data +[2026-02-12 4:39:49.840387] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1SzrgvEFY1WEUtgRZ5DOmbN1","object":"event","api_version":"2023-10-16","created":1770871188,"data":{"object":{"id":"ccsbtxn_1SzrguEFY1WEUtgRi5ALyBiy","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3SzqfgEFY1WEUtgR1w7E6MxJ"},"created":1770871188,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":0,"livemode":false,"net_amount":-6000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_BbS1A1XrXQothE","idempotency_key":"bddd3f39-b12e-40fb-ba26-3c4d676ce239"},"type":"customer_cash_balance_transaction.created"} + +[2026-02-12 4:39:49.948658] [notice] Logging level set to:debug +[2026-02-12 4:39:49.952403] [debug] Payload recibido: { + "id": "evt_3SzqfgEFY1WEUtgR1Hm4RSiA", + "object": "event", + "api_version": "2023-10-16", + "created": 1770871189, + "data": { + "object": { + "id": "pi_3SzqfgEFY1WEUtgR1w7E6MxJ", + "object": "payment_intent", + "amount": 10000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 10000, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3SzqfgEFY1WEUtgR1w7E6MxJ_secret_v8yjA8zMiJ5w47VvQvKDTDZq2", + "confirmation_method": "automatic", + "created": 1770867268, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": "py_3SzqfgEFY1WEUtgR1G6HrDTw", + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "135", + "paymentType": "card.one_time", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": null, + "on_behalf_of": null, + "payment_method": "pm_1SzqfgEFY1WEUtgRMZ5Hma6x", + "payment_method_configuration_details": null, + "payment_method_options": { + "customer_balance": { + "bank_transfer": { + "type": "mx_bank_transfer" + }, + "funding_type": "bank_transfer" + } + }, + "payment_method_types": [ + "customer_balance" + ], + "processing": null, + "receipt_email": null, + "review": null, + "setup_future_usage": null, + "shipping": null, + "source": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "succeeded", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_BbS1A1XrXQothE", + "idempotency_key": "bddd3f39-b12e-40fb-ba26-3c4d676ce239" + }, + "type": "payment_intent.succeeded" +} + +[2026-02-12 4:39:49.952503] [info] No UUID found in the webhook data +[2026-02-12 4:39:49.952544] [info] Evento de pago exitoso (Stripe PI) recibido. +[2026-02-12 4:39:50.081150] [notice] Logging level set to:debug +[2026-02-12 4:39:50.081429] [debug] Payload recibido: { + "id": "evt_3SzqfgEFY1WEUtgR1mCgQJyH", + "object": "event", + "api_version": "2023-10-16", + "created": 1770871189, + "data": { + "object": { + "id": "py_3SzqfgEFY1WEUtgR1G6HrDTw", + "object": "charge", + "amount": 10000, + "amount_captured": 10000, + "amount_refunded": 0, + "application": null, + "application_fee": null, + "application_fee_amount": null, + "balance_transaction": null, + "billing_details": { + "address": { + "city": null, + "country": null, + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "email": null, + "name": null, + "phone": null, + "tax_id": null + }, + "calculated_statement_descriptor": null, + "captured": true, + "created": 1770871188, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "description": null, + "destination": null, + "dispute": null, + "disputed": false, + "failure_balance_transaction": null, + "failure_code": null, + "failure_message": null, + "fraud_details": {}, + "invoice": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "135", + "paymentType": "card.one_time", + "tipoPago": "Transferencia Bancaria" + }, + "on_behalf_of": null, + "order": null, + "outcome": { + "advice_code": null, + "network_advice_code": null, + "network_decline_code": null, + "network_status": "approved_by_network", + "reason": null, + "risk_level": "not_assessed", + "seller_message": "Payment complete.", + "type": "authorized" + }, + "paid": true, + "payment_intent": "pi_3SzqfgEFY1WEUtgR1w7E6MxJ", + "payment_method": "pm_1SzqfgEFY1WEUtgRMZ5Hma6x", + "payment_method_details": { + "customer_balance": {}, + "type": "customer_balance" + }, + "radar_options": {}, + "receipt_email": null, + "receipt_number": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKJWztcwGMgbqTLNGrCk6LBaEmj9nENTHUC-OfqXWr8S6fNQzYZf2eP_UtVq3T3alvuGf6Q6iNwdP_tOx", + "refunded": false, + "review": null, + "shipping": null, + "source": null, + "source_transfer": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "succeeded", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_BbS1A1XrXQothE", + "idempotency_key": "bddd3f39-b12e-40fb-ba26-3c4d676ce239" + }, + "type": "charge.succeeded" +} + +[2026-02-12 4:39:50.081518] [info] No UUID found in the webhook data +[2026-02-12 4:39:50.923254] [notice] Logging level set to:debug +[2026-02-12 4:39:50.923437] [debug] Payload recibido: {"uuid":"13037e54-7a1c-4925-b506-ac1b4c29cf68","changeType":"insert","entity":"payment","entityId":"955","eventName":"payment.add","extraData":{"entity":{"id":955,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-02-11T22:39:50-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":null}} + +[2026-02-12 4:39:51.134877] [debug] Evento recibido: payment.add +[2026-02-12 4:39:51.135226] [debug] Notification encodificado en JSON:{"uuid":"13037e54-7a1c-4925-b506-ac1b4c29cf68","changeType":"insert","entity":"payment","entityId":955,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false},{"id":310,"clientId":135,"customAttributeId":15,"name":"Site","key":"site","value":"El Lindero","clientZoneVisible":false},{"id":311,"clientId":135,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"San Vicente","clientZoneVisible":false},{"id":312,"clientId":135,"customAttributeId":22,"name":"ip","key":"ip","value":"172.16.86.64","clientZoneVisible":false},{"id":313,"clientId":135,"customAttributeId":24,"name":"adminpass","key":"adminpass","value":"admin1390","clientZoneVisible":true},{"id":314,"clientId":135,"customAttributeId":29,"name":"instalador","key":"instalador","value":"Chanclas","clientZoneVisible":true}],"accountBalance":9450,"accountCredit":9450,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":12,"name":"PAGO ELI","colorBackground":"#0050a1","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":955,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-02-11T22:39:50-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}} + +[2026-02-12 4:39:51.135324] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 955 +[2026-02-12 4:39:51.167452] [info] Microservice found metadata: tipoPago = 'Transferencia Bancaria' +[2026-02-12 4:39:51.290306] [info] Payment 955 has no User ID. Assigning Stripe User ID: 1180 +[2026-02-12 4:39:51.353880] [info] PaymentIntent creado: pi_3SzrgwEFY1WEUtgR1JhnOkWq +[2026-02-12 4:39:51.401511] [info] Payment 955 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to 4145b5f5-3bbc-45e3-8fc5-9cda970c62fb via Microservice. +[2026-02-12 4:39:51.659230] [notice] Logging level set to:debug +[2026-02-12 4:39:51.659337] [debug] Payload recibido: { + "id": "evt_3SzrgwEFY1WEUtgR1uSdKXhN", + "object": "event", + "api_version": "2023-10-16", + "created": 1770871191, + "data": { + "object": { + "id": "pi_3SzrgwEFY1WEUtgR1JhnOkWq", + "object": "payment_intent", + "amount": 6000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 0, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3SzrgwEFY1WEUtgR1JhnOkWq_secret_RuHOhiEeQq2n8SgSH1sAlHPbI", + "confirmation_method": "automatic", + "created": 1770871190, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "135", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": { + "display_bank_transfer_instructions": { + "amount_remaining": 6000, + "currency": "mxn", + "financial_addresses": [ + { + "spei": { + "account_holder_address": { + "city": "Ciudad de México", + "country": "MX", + "line1": "Av Paseo de la Reforma 180 piso 29 col Juarez", + "line2": null, + "postal_code": "06600", + "state": "Ciudad de México" + }, + "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 MEXICO", + "clabe": "124180567617048545" + }, + "supported_networks": [ + "spei" + ], + "type": "spei" + } + ], + "hosted_instructions_url": "https://payments.stripe.com/bank_transfers/instructions/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UeG5IWmxpd2o1VEcyVVhsTnQ0WVlIRUNOUFZKc2w50100xypYTxYC", + "reference": "404772", + "type": "mx_bank_transfer" + }, + "type": "display_bank_transfer_instructions" + }, + "on_behalf_of": null, + "payment_method": "pm_1SzrgwEFY1WEUtgRlgLCw2To", + "payment_method_configuration_details": null, + "payment_method_options": { + "customer_balance": { + "bank_transfer": { + "type": "mx_bank_transfer" + }, + "funding_type": "bank_transfer" + } + }, + "payment_method_types": [ + "customer_balance" + ], + "processing": null, + "receipt_email": null, + "review": null, + "setup_future_usage": null, + "shipping": null, + "source": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "requires_action", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_wbj4kc6C7yyeiL", + "idempotency_key": "evt_1SzrgvEFY1WEUtgRaEFIHNe2" + }, + "type": "payment_intent.requires_action" +} + +[2026-02-12 4:39:51.659390] [info] No UUID found in the webhook data +[2026-02-12 4:39:51.685231] [notice] Logging level set to:debug +[2026-02-12 4:39:51.685532] [debug] Payload recibido: { + "id": "evt_3SzrgwEFY1WEUtgR1vDgX5yV", + "object": "event", + "api_version": "2023-10-16", + "created": 1770871190, + "data": { + "object": { + "id": "pi_3SzrgwEFY1WEUtgR1JhnOkWq", + "object": "payment_intent", + "amount": 6000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 0, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3SzrgwEFY1WEUtgR1JhnOkWq_secret_RuHOhiEeQq2n8SgSH1sAlHPbI", + "confirmation_method": "automatic", + "created": 1770871190, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "135", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": null, + "on_behalf_of": null, + "payment_method": null, + "payment_method_configuration_details": null, + "payment_method_options": { + "customer_balance": { + "bank_transfer": { + "type": "mx_bank_transfer" + }, + "funding_type": "bank_transfer" + } + }, + "payment_method_types": [ + "customer_balance" + ], + "processing": null, + "receipt_email": null, + "review": null, + "setup_future_usage": null, + "shipping": null, + "source": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "requires_payment_method", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_wbj4kc6C7yyeiL", + "idempotency_key": "evt_1SzrgvEFY1WEUtgRaEFIHNe2" + }, + "type": "payment_intent.created" +} + +[2026-02-12 4:39:51.685600] [info] No UUID found in the webhook data +[2026-02-12 4:39:52.413680] [info] Payment Method ID patched successfully. +[2026-02-12 4:39:52.515906] [info] PATCHING Payment 955: Setting tipoPagoStripe = 'Transferencia Bancaria' +Eviando comprobante de pago al cliente: 135 con número: 524181878106 + +[2026-02-12 4:39:53.000313] [notice] Logging level set to:debug +El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf + +El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf + +Procesando PDF con microservicio: http://172.16.5.134:8050/process + +[2026-02-12 4:39:53.005410] [debug] Payload recibido: { + "id": "evt_3SzqfgEFY1WEUtgR1HcwT3Fu", + "object": "event", + "api_version": "2023-10-16", + "created": 1770871192, + "data": { + "object": { + "id": "py_3SzqfgEFY1WEUtgR1G6HrDTw", + "object": "charge", + "amount": 10000, + "amount_captured": 10000, + "amount_refunded": 0, + "application": null, + "application_fee": null, + "application_fee_amount": null, + "balance_transaction": "txn_3SzqfgEFY1WEUtgR1loCoNqq", + "billing_details": { + "address": { + "city": null, + "country": null, + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "email": null, + "name": null, + "phone": null, + "tax_id": null + }, + "calculated_statement_descriptor": null, + "captured": true, + "created": 1770871188, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "description": null, + "destination": null, + "dispute": null, + "disputed": false, + "failure_balance_transaction": null, + "failure_code": null, + "failure_message": null, + "fraud_details": {}, + "invoice": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "135", + "paymentType": "card.one_time", + "tipoPago": "Transferencia Bancaria" + }, + "on_behalf_of": null, + "order": null, + "outcome": { + "advice_code": null, + "network_advice_code": null, + "network_decline_code": null, + "network_status": "approved_by_network", + "reason": null, + "risk_level": "not_assessed", + "seller_message": "Payment complete.", + "type": "authorized" + }, + "paid": true, + "payment_intent": "pi_3SzqfgEFY1WEUtgR1w7E6MxJ", + "payment_method": "pm_1SzqfgEFY1WEUtgRMZ5Hma6x", + "payment_method_details": { + "customer_balance": {}, + "type": "customer_balance" + }, + "radar_options": {}, + "receipt_email": null, + "receipt_number": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKJiztcwGMgYZaRwfEac6LBaJXEuU8W19XH-j7lRbcdoSJFQNXj8RIoklO5xSoa84swRfOgKOAeXTKaP3", + "refunded": false, + "review": null, + "shipping": null, + "source": null, + "source_transfer": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "succeeded", + "transfer_data": null, + "transfer_group": null + }, + "previous_attributes": { + "balance_transaction": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKJiztcwGMgYG7XzggYk6LBYa_zE-phUwzALCmmZvfA13DwgruCMV0K5iVNJzTlQAzPd0r6BNFTkG_BnJ" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "charge.updated" +} + +[2026-02-12 4:39:53.005646] [info] No UUID found in the webhook data +Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg + +[2026-02-12 4:39:53.261826] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1770871193.jpg +Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1770871193.jpg + +Archivos temporales (PDF/JPG) eliminados tras subida exitosa. + +Proceso de obtención de imagen finalizado. + +La cadena CURL que se envia es: { + "to": "524181878106", + "from": "whatsapp", + "type": "document", + "content": { + "text": "S/M", + "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1770871193.jpg" + }, + "template_values": ["Juan Escutia", "$100", "$9450 a favor"], + "template_uuid": "57ead79cebd14902921477922403093b", + "optin_contact": true + } +Response del CallBell: {"message":{"uuid":"910ecbc1b7ff415ca408ff487e8ee530","status":"enqueued"}} +Hay menos de 100 archivos en el directorio. No se eliminarán archivos. + +La notificación fue enviada correctamente con estado: enqueued + +Notificacion data: {"uuid":"13037e54-7a1c-4925-b506-ac1b4c29cf68","changeType":"insert","entity":"payment","entityId":955,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false},{"id":310,"clientId":135,"customAttributeId":15,"name":"Site","key":"site","value":"El Lindero","clientZoneVisible":false},{"id":311,"clientId":135,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"San Vicente","clientZoneVisible":false},{"id":312,"clientId":135,"customAttributeId":22,"name":"ip","key":"ip","value":"172.16.86.64","clientZoneVisible":false},{"id":313,"clientId":135,"customAttributeId":24,"name":"adminpass","key":"adminpass","value":"admin1390","clientZoneVisible":true},{"id":314,"clientId":135,"customAttributeId":29,"name":"instalador","key":"instalador","value":"Chanclas","clientZoneVisible":true}],"accountBalance":9450,"accountCredit":9450,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":12,"name":"PAGO ELI","colorBackground":"#0050a1","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":955,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-02-11T22:39:50-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}} + +Dentro del proceso del patch: + +Datos traidos con payment api: [{"id":955,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-02-11T22:39:50-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":1180,"attributes":[{"id":"49dbf1f3-99a9-494c-b093-c12f5187e07d","paymentId":955,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]}] + +Nombre del cliente que se va a actualizar: Juan Escutia + +UUID: 74cc2bb45eb8409f92cd5dba99200d26 + +JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"El Lindero","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 11\/02\/2026 22:39","Saldo Actual":"\ud83d\udcb29450 a favor","Monto Ultimo Pago":"\ud83d\udcb2 100","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 11\/02\/2026 22:39 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6","Antena\/Sectorial":"San Vicente","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb29450 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11\/02\/2026 22:39 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6\",\"Fecha Ultima Actualizacion\": \"11\/02\/2026 22:39\",\"Clabe Interbancaria\": \"\",\"Site\": \"El Lindero\",\"Antena\/Sectorial\": \"San Vicente\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}} + +DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲9350 a favor' + +DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲9450 a favor' + +DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo ' + +DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo ' + +EJECUTANDO PATCH - Se detectaron cambios + +Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Juan Escutia","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-02-01T15:22:57Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS","PRUEBAS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650741646979","Estado":"🟢 Activo ","user name":"Daniel Humberto","Cliente":"135","URL":"🌐 https://sistema.siip.mx/crm/client/135","Domicilio":"📍 Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲9450 a favor","Monto Ultimo Pago":"💲 100","Fecha Ultima Actualizacion":"📆🔄️ 11/02/2026 22:39","Nombre":"👤 Juan Escutia","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https://sistema.siip.mx/crm/client/135\",\"Saldo Actual\": \"💲9450 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 11/02/2026 22:39 con Transferencia bancaria 📱🏦\",\"Fecha Ultima Actualizacion\": \"11/02/2026 22:39\",\"Clabe Interbancaria\": \"\",\"Site\": \"El Lindero\",\"Antena/Sectorial\": \"San Vicente\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}}","Site":"El Lindero","Fecha Ultimo Pago":"📆💸 11/02/2026 22:39 con Transferencia bancaria 📱🏦","Antena/Sectorial":"San Vicente"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}} + +[2026-02-12 4:39:56.076231] [notice] Logging level set to:debug +[2026-02-12 4:39:56.076462] [debug] Payload recibido: {"uuid":"647d64c3-5bb4-42ca-95b8-9930e17c4806","changeType":"edit","entity":"payment","entityId":"955","eventName":"payment.edit","extraData":{"entity":{"id":955,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-02-11T22:39:50-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":1180,"attributes":[]},"entityBeforeEdit":{"id":955,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-02-11T22:39:50-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}} + +[2026-02-12 4:39:56.264537] [debug] Evento recibido: payment.edit +[2026-02-12 7:14:06.892327] [notice] Logging level set to:debug +[2026-02-12 7:14:06.892492] [debug] Payload recibido: { + "id": "evt_1Szu6EEFY1WEUtgRFyBnoi2w", + "object": "event", + "api_version": "2023-10-16", + "created": 1770880442, + "data": { + "object": { + "id": "ccsbtxn_1Szu6AEFY1WEUtgR1iNfHfDg", + "object": "customer_cash_balance_transaction", + "created": 1770880442, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "ending_balance": 70000, + "funded": { + "bank_transfer": { + "reference": "", + "type": "mx_bank_transfer" + } + }, + "livemode": false, + "net_amount": 70000, + "type": "funded" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_03EUaBsLKj7WBl", + "idempotency_key": "58a5f10d-4c30-4a4d-a130-2d181cb7eee6" + }, + "type": "customer_cash_balance_transaction.created" +} + +[2026-02-12 7:14:06.892549] [info] No UUID found in the webhook data +[2026-02-12 7:14:06.892612] [info] Evento de transferencia de un cliente recibido: {"id":"evt_1Szu6EEFY1WEUtgRFyBnoi2w","object":"event","api_version":"2023-10-16","created":1770880442,"data":{"object":{"id":"ccsbtxn_1Szu6AEFY1WEUtgR1iNfHfDg","object":"customer_cash_balance_transaction","created":1770880442,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":70000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":70000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_03EUaBsLKj7WBl","idempotency_key":"58a5f10d-4c30-4a4d-a130-2d181cb7eee6"},"type":"customer_cash_balance_transaction.created"} + +[2026-02-12 7:14:06.935170] [notice] Logging level set to:debug +[2026-02-12 7:14:06.935318] [debug] Payload recibido: { + "id": "evt_1Szu6EEFY1WEUtgR1AWZxjmp", + "object": "event", + "api_version": "2023-10-16", + "created": 1770880446, + "data": { + "object": { + "object": "cash_balance", + "available": { + "mxn": 37000 + }, + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "livemode": false, + "settings": { + "reconciliation_mode": "automatic", + "using_merchant_default": true + } + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_03EUaBsLKj7WBl", + "idempotency_key": "58a5f10d-4c30-4a4d-a130-2d181cb7eee6" + }, + "type": "cash_balance.funds_available" +} + +[2026-02-12 7:14:06.935374] [info] No UUID found in the webhook data +[2026-02-12 7:14:06.935434] [info] Evento de Pago de fondos disponibles recibido: {"id":"evt_1Szu6EEFY1WEUtgR1AWZxjmp","object":"event","api_version":"2023-10-16","created":1770880446,"data":{"object":{"object":"cash_balance","available":{"mxn":37000},"customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"livemode":false,"settings":{"reconciliation_mode":"automatic","using_merchant_default":true}}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_03EUaBsLKj7WBl","idempotency_key":"58a5f10d-4c30-4a4d-a130-2d181cb7eee6"},"type":"cash_balance.funds_available"} + +[2026-02-12 7:14:06.945579] [notice] Logging level set to:debug +[2026-02-12 7:14:06.946063] [debug] Payload recibido: { + "id": "evt_1Szu6EEFY1WEUtgRxmxbTf3j", + "object": "event", + "api_version": "2023-10-16", + "created": 1770880443, + "data": { + "object": { + "id": "ccsbtxn_1Szu6BEFY1WEUtgRw7KExlIr", + "object": "customer_cash_balance_transaction", + "applied_to_payment": { + "payment_intent": "pi_3Szqv5EFY1WEUtgR1yw943Su" + }, + "created": 1770880443, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "ending_balance": 57000, + "livemode": false, + "net_amount": -13000, + "type": "applied_to_payment" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_03EUaBsLKj7WBl", + "idempotency_key": "58a5f10d-4c30-4a4d-a130-2d181cb7eee6" + }, + "type": "customer_cash_balance_transaction.created" +} + +[2026-02-12 7:14:06.946170] [info] No UUID found in the webhook data +[2026-02-12 7:14:06.946219] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1Szu6EEFY1WEUtgRxmxbTf3j","object":"event","api_version":"2023-10-16","created":1770880443,"data":{"object":{"id":"ccsbtxn_1Szu6BEFY1WEUtgRw7KExlIr","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3Szqv5EFY1WEUtgR1yw943Su"},"created":1770880443,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":57000,"livemode":false,"net_amount":-13000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_03EUaBsLKj7WBl","idempotency_key":"58a5f10d-4c30-4a4d-a130-2d181cb7eee6"},"type":"customer_cash_balance_transaction.created"} + +[2026-02-12 7:14:07.085592] [notice] Logging level set to:debug +[2026-02-12 7:14:07.085733] [debug] Payload recibido: { + "id": "evt_1Szu6EEFY1WEUtgR1AypLv2j", + "object": "event", + "api_version": "2023-10-16", + "created": 1770880444, + "data": { + "object": { + "id": "ccsbtxn_1Szu6CEFY1WEUtgRJ2ehvcxE", + "object": "customer_cash_balance_transaction", + "applied_to_payment": { + "payment_intent": "pi_3SzrbMEFY1WEUtgR1ec6QdGs" + }, + "created": 1770880444, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "ending_balance": 43000, + "livemode": false, + "net_amount": -14000, + "type": "applied_to_payment" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_03EUaBsLKj7WBl", + "idempotency_key": "58a5f10d-4c30-4a4d-a130-2d181cb7eee6" + }, + "type": "customer_cash_balance_transaction.created" +} + +[2026-02-12 7:14:07.085789] [info] No UUID found in the webhook data +[2026-02-12 7:14:07.085838] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1Szu6EEFY1WEUtgR1AypLv2j","object":"event","api_version":"2023-10-16","created":1770880444,"data":{"object":{"id":"ccsbtxn_1Szu6CEFY1WEUtgRJ2ehvcxE","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3SzrbMEFY1WEUtgR1ec6QdGs"},"created":1770880444,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":43000,"livemode":false,"net_amount":-14000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_03EUaBsLKj7WBl","idempotency_key":"58a5f10d-4c30-4a4d-a130-2d181cb7eee6"},"type":"customer_cash_balance_transaction.created"} + +[2026-02-12 7:14:07.167299] [notice] Logging level set to:debug +[2026-02-12 7:14:07.167447] [debug] Payload recibido: { + "id": "evt_1Szu6EEFY1WEUtgRgjp6zhs6", + "object": "event", + "api_version": "2023-10-16", + "created": 1770880445, + "data": { + "object": { + "id": "ccsbtxn_1Szu6DEFY1WEUtgRer731P3c", + "object": "customer_cash_balance_transaction", + "applied_to_payment": { + "payment_intent": "pi_3SzrgwEFY1WEUtgR1JhnOkWq" + }, + "created": 1770880445, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "ending_balance": 37000, + "livemode": false, + "net_amount": -6000, + "type": "applied_to_payment" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_03EUaBsLKj7WBl", + "idempotency_key": "58a5f10d-4c30-4a4d-a130-2d181cb7eee6" + }, + "type": "customer_cash_balance_transaction.created" +} + +[2026-02-12 7:14:07.167515] [info] No UUID found in the webhook data +[2026-02-12 7:14:07.167562] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1Szu6EEFY1WEUtgRgjp6zhs6","object":"event","api_version":"2023-10-16","created":1770880445,"data":{"object":{"id":"ccsbtxn_1Szu6DEFY1WEUtgRer731P3c","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3SzrgwEFY1WEUtgR1JhnOkWq"},"created":1770880445,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":37000,"livemode":false,"net_amount":-6000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_03EUaBsLKj7WBl","idempotency_key":"58a5f10d-4c30-4a4d-a130-2d181cb7eee6"},"type":"customer_cash_balance_transaction.created"} + +[2026-02-12 7:14:07.253113] [notice] Logging level set to:debug +[2026-02-12 7:14:07.253192] [debug] Payload recibido: { + "id": "evt_3Szqv5EFY1WEUtgR1K4FN6OV", + "object": "event", + "api_version": "2023-10-16", + "created": 1770880444, + "data": { + "object": { + "id": "pi_3Szqv5EFY1WEUtgR1yw943Su", + "object": "payment_intent", + "amount": 13000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 13000, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3Szqv5EFY1WEUtgR1yw943Su_secret_kkLkwymns50ZMqEGBm4wZ1gSp", + "confirmation_method": "automatic", + "created": 1770868223, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": "py_3Szqv5EFY1WEUtgR1C9C5Zf5", + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "135", + "paymentType": "card.one_time", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": null, + "on_behalf_of": null, + "payment_method": "pm_1Szqv5EFY1WEUtgRm9hx8SPm", + "payment_method_configuration_details": null, + "payment_method_options": { + "customer_balance": { + "bank_transfer": { + "type": "mx_bank_transfer" + }, + "funding_type": "bank_transfer" + } + }, + "payment_method_types": [ + "customer_balance" + ], + "processing": null, + "receipt_email": null, + "review": null, + "setup_future_usage": null, + "shipping": null, + "source": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "succeeded", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_03EUaBsLKj7WBl", + "idempotency_key": "58a5f10d-4c30-4a4d-a130-2d181cb7eee6" + }, + "type": "payment_intent.succeeded" +} + +[2026-02-12 7:14:07.253242] [info] No UUID found in the webhook data +[2026-02-12 7:14:07.253258] [info] Evento de pago exitoso (Stripe PI) recibido. +[2026-02-12 7:14:07.368901] [notice] Logging level set to:debug +[2026-02-12 7:14:07.369046] [debug] Payload recibido: { + "id": "evt_3SzrbMEFY1WEUtgR17ioG4xy", + "object": "event", + "api_version": "2023-10-16", + "created": 1770880445, + "data": { + "object": { + "id": "pi_3SzrbMEFY1WEUtgR1ec6QdGs", + "object": "payment_intent", + "amount": 14000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 14000, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3SzrbMEFY1WEUtgR1ec6QdGs_secret_GfRFMmEfza2tLqKW0RUUlNwO0", + "confirmation_method": "automatic", + "created": 1770870844, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": "py_3SzrbMEFY1WEUtgR1cLy3B5V", + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "135", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": null, + "on_behalf_of": null, + "payment_method": "pm_1SzrbMEFY1WEUtgRt0yU3SAh", + "payment_method_configuration_details": null, + "payment_method_options": { + "customer_balance": { + "bank_transfer": { + "type": "mx_bank_transfer" + }, + "funding_type": "bank_transfer" + } + }, + "payment_method_types": [ + "customer_balance" + ], + "processing": null, + "receipt_email": null, + "review": null, + "setup_future_usage": null, + "shipping": null, + "source": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "succeeded", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_03EUaBsLKj7WBl", + "idempotency_key": "58a5f10d-4c30-4a4d-a130-2d181cb7eee6" + }, + "type": "payment_intent.succeeded" +} + +[2026-02-12 7:14:07.369127] [info] No UUID found in the webhook data +[2026-02-12 7:14:07.369168] [info] Evento de pago exitoso (Stripe PI) recibido. +[2026-02-12 7:14:07.594141] [notice] Logging level set to:debug +[2026-02-12 7:14:07.594201] [debug] Payload recibido: { + "id": "evt_3SzrgwEFY1WEUtgR1XSDWEt4", + "object": "event", + "api_version": "2023-10-16", + "created": 1770880446, + "data": { + "object": { + "id": "pi_3SzrgwEFY1WEUtgR1JhnOkWq", + "object": "payment_intent", + "amount": 6000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 6000, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3SzrgwEFY1WEUtgR1JhnOkWq_secret_RuHOhiEeQq2n8SgSH1sAlHPbI", + "confirmation_method": "automatic", + "created": 1770871190, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": "py_3SzrgwEFY1WEUtgR10Nma1iX", + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "135", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": null, + "on_behalf_of": null, + "payment_method": "pm_1SzrgwEFY1WEUtgRlgLCw2To", + "payment_method_configuration_details": null, + "payment_method_options": { + "customer_balance": { + "bank_transfer": { + "type": "mx_bank_transfer" + }, + "funding_type": "bank_transfer" + } + }, + "payment_method_types": [ + "customer_balance" + ], + "processing": null, + "receipt_email": null, + "review": null, + "setup_future_usage": null, + "shipping": null, + "source": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "succeeded", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_03EUaBsLKj7WBl", + "idempotency_key": "58a5f10d-4c30-4a4d-a130-2d181cb7eee6" + }, + "type": "payment_intent.succeeded" +} + +[2026-02-12 7:14:07.594247] [info] No UUID found in the webhook data +[2026-02-12 7:14:07.594258] [info] Evento de pago exitoso (Stripe PI) recibido. +[2026-02-12 7:14:07.689857] [notice] Logging level set to:debug +[2026-02-12 7:14:07.689990] [debug] Payload recibido: { + "id": "evt_3Szqv5EFY1WEUtgR1GYr4pXl", + "object": "event", + "api_version": "2023-10-16", + "created": 1770880444, + "data": { + "object": { + "id": "py_3Szqv5EFY1WEUtgR1C9C5Zf5", + "object": "charge", + "amount": 13000, + "amount_captured": 13000, + "amount_refunded": 0, + "application": null, + "application_fee": null, + "application_fee_amount": null, + "balance_transaction": null, + "billing_details": { + "address": { + "city": null, + "country": null, + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "email": null, + "name": null, + "phone": null, + "tax_id": null + }, + "calculated_statement_descriptor": null, + "captured": true, + "created": 1770880443, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "description": null, + "destination": null, + "dispute": null, + "disputed": false, + "failure_balance_transaction": null, + "failure_code": null, + "failure_message": null, + "fraud_details": {}, + "invoice": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "135", + "paymentType": "card.one_time", + "tipoPago": "Transferencia Bancaria" + }, + "on_behalf_of": null, + "order": null, + "outcome": { + "advice_code": null, + "network_advice_code": null, + "network_decline_code": null, + "network_status": "approved_by_network", + "reason": null, + "risk_level": "not_assessed", + "seller_message": "Payment complete.", + "type": "authorized" + }, + "paid": true, + "payment_intent": "pi_3Szqv5EFY1WEUtgR1yw943Su", + "payment_method": "pm_1Szqv5EFY1WEUtgRm9hx8SPm", + "payment_method_details": { + "customer_balance": {}, + "type": "customer_balance" + }, + "radar_options": {}, + "receipt_email": null, + "receipt_number": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKL_7tcwGMgbJ8qke5pw6LBZD-XrsLz-3J2QWp5JhS-Z8cVsfX1yNRx90cGBagBTDOJ4_8IqHJgZIOUzU", + "refunded": false, + "review": null, + "shipping": null, + "source": null, + "source_transfer": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "succeeded", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_03EUaBsLKj7WBl", + "idempotency_key": "58a5f10d-4c30-4a4d-a130-2d181cb7eee6" + }, + "type": "charge.succeeded" +} + +[2026-02-12 7:14:07.690063] [info] No UUID found in the webhook data +[2026-02-12 7:14:07.705310] [notice] Logging level set to:debug +[2026-02-12 7:14:07.709489] [debug] Payload recibido: { + "id": "evt_3SzrbMEFY1WEUtgR1X7vXksM", + "object": "event", + "api_version": "2023-10-16", + "created": 1770880445, + "data": { + "object": { + "id": "py_3SzrbMEFY1WEUtgR1cLy3B5V", + "object": "charge", + "amount": 14000, + "amount_captured": 14000, + "amount_refunded": 0, + "application": null, + "application_fee": null, + "application_fee_amount": null, + "balance_transaction": null, + "billing_details": { + "address": { + "city": null, + "country": null, + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "email": null, + "name": null, + "phone": null, + "tax_id": null + }, + "calculated_statement_descriptor": null, + "captured": true, + "created": 1770880444, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "description": null, + "destination": null, + "dispute": null, + "disputed": false, + "failure_balance_transaction": null, + "failure_code": null, + "failure_message": null, + "fraud_details": {}, + "invoice": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "135", + "tipoPago": "Transferencia Bancaria" + }, + "on_behalf_of": null, + "order": null, + "outcome": { + "advice_code": null, + "network_advice_code": null, + "network_decline_code": null, + "network_status": "approved_by_network", + "reason": null, + "risk_level": "not_assessed", + "seller_message": "Payment complete.", + "type": "authorized" + }, + "paid": true, + "payment_intent": "pi_3SzrbMEFY1WEUtgR1ec6QdGs", + "payment_method": "pm_1SzrbMEFY1WEUtgRt0yU3SAh", + "payment_method_details": { + "customer_balance": {}, + "type": "customer_balance" + }, + "radar_options": {}, + "receipt_email": null, + "receipt_number": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKL_7tcwGMgYADVwAo286LBZgto62LFbqRwTRKh1XysI8WVIxTNZTD8Om6ff-W6o1LWOLnf4xAIvu3Avs", + "refunded": false, + "review": null, + "shipping": null, + "source": null, + "source_transfer": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "succeeded", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_03EUaBsLKj7WBl", + "idempotency_key": "58a5f10d-4c30-4a4d-a130-2d181cb7eee6" + }, + "type": "charge.succeeded" +} + +[2026-02-12 7:14:07.709656] [info] No UUID found in the webhook data +[2026-02-12 7:14:07.732559] [notice] Logging level set to:debug +[2026-02-12 7:14:07.732691] [debug] Payload recibido: { + "id": "evt_3SzrgwEFY1WEUtgR1oVOlGVE", + "object": "event", + "api_version": "2023-10-16", + "created": 1770880446, + "data": { + "object": { + "id": "py_3SzrgwEFY1WEUtgR10Nma1iX", + "object": "charge", + "amount": 6000, + "amount_captured": 6000, + "amount_refunded": 0, + "application": null, + "application_fee": null, + "application_fee_amount": null, + "balance_transaction": null, + "billing_details": { + "address": { + "city": null, + "country": null, + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "email": null, + "name": null, + "phone": null, + "tax_id": null + }, + "calculated_statement_descriptor": null, + "captured": true, + "created": 1770880445, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "description": null, + "destination": null, + "dispute": null, + "disputed": false, + "failure_balance_transaction": null, + "failure_code": null, + "failure_message": null, + "fraud_details": {}, + "invoice": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "135", + "tipoPago": "Transferencia Bancaria" + }, + "on_behalf_of": null, + "order": null, + "outcome": { + "advice_code": null, + "network_advice_code": null, + "network_decline_code": null, + "network_status": "approved_by_network", + "reason": null, + "risk_level": "not_assessed", + "seller_message": "Payment complete.", + "type": "authorized" + }, + "paid": true, + "payment_intent": "pi_3SzrgwEFY1WEUtgR1JhnOkWq", + "payment_method": "pm_1SzrgwEFY1WEUtgRlgLCw2To", + "payment_method_details": { + "customer_balance": {}, + "type": "customer_balance" + }, + "radar_options": {}, + "receipt_email": null, + "receipt_number": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKL_7tcwGMgahEcZklrU6LBZMaLp0CiSor3KlYAghP-uyl3BsOBaGQdj6ZIU0XlKV_bMLNtjHf_tUl2Jt", + "refunded": false, + "review": null, + "shipping": null, + "source": null, + "source_transfer": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "succeeded", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_03EUaBsLKj7WBl", + "idempotency_key": "58a5f10d-4c30-4a4d-a130-2d181cb7eee6" + }, + "type": "charge.succeeded" +} + +[2026-02-12 7:14:07.732777] [info] No UUID found in the webhook data +[2026-02-12 7:14:08.837455] [info] PaymentIntent creado: pi_3Szu6GEFY1WEUtgR13UnyWcV +[2026-02-12 7:14:08.954389] [notice] Logging level set to:debug +[2026-02-12 7:14:08.954448] [debug] Payload recibido: { + "id": "evt_3Szqv5EFY1WEUtgR1eNBlGXh", + "object": "event", + "api_version": "2023-10-16", + "created": 1770880448, + "data": { + "object": { + "id": "py_3Szqv5EFY1WEUtgR1C9C5Zf5", + "object": "charge", + "amount": 13000, + "amount_captured": 13000, + "amount_refunded": 0, + "application": null, + "application_fee": null, + "application_fee_amount": null, + "balance_transaction": "txn_3Szqv5EFY1WEUtgR1CuPItkZ", + "billing_details": { + "address": { + "city": null, + "country": null, + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "email": null, + "name": null, + "phone": null, + "tax_id": null + }, + "calculated_statement_descriptor": null, + "captured": true, + "created": 1770880443, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "description": null, + "destination": null, + "dispute": null, + "disputed": false, + "failure_balance_transaction": null, + "failure_code": null, + "failure_message": null, + "fraud_details": {}, + "invoice": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "135", + "paymentType": "card.one_time", + "tipoPago": "Transferencia Bancaria" + }, + "on_behalf_of": null, + "order": null, + "outcome": { + "advice_code": null, + "network_advice_code": null, + "network_decline_code": null, + "network_status": "approved_by_network", + "reason": null, + "risk_level": "not_assessed", + "seller_message": "Payment complete.", + "type": "authorized" + }, + "paid": true, + "payment_intent": "pi_3Szqv5EFY1WEUtgR1yw943Su", + "payment_method": "pm_1Szqv5EFY1WEUtgRm9hx8SPm", + "payment_method_details": { + "customer_balance": {}, + "type": "customer_balance" + }, + "radar_options": {}, + "receipt_email": null, + "receipt_number": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKMD7tcwGMgb_agrDVAk6LBZuGPHAq7FP67klkNieXEmZoMeAY8w8F9FzKRyfSxBfIhoTJyyFh77bntQS", + "refunded": false, + "review": null, + "shipping": null, + "source": null, + "source_transfer": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "succeeded", + "transfer_data": null, + "transfer_group": null + }, + "previous_attributes": { + "balance_transaction": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKMD7tcwGMgaqBSDXzNE6LBbKrlw7UwJrOprXp2ZPxyw5bKg0R2RPSE3vIMNvuQK4YSpIlDXYo-bsl0J4" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "charge.updated" +} + +[2026-02-12 7:14:08.954490] [info] No UUID found in the webhook data +[2026-02-12 7:14:09.179197] [notice] Logging level set to:debug +[2026-02-12 7:14:09.179256] [debug] Payload recibido: { + "id": "evt_1Szu6GEFY1WEUtgRuPAK16MP", + "object": "event", + "api_version": "2023-10-16", + "created": 1770880448, + "data": { + "object": { + "id": "ccsbtxn_1Szu6GEFY1WEUtgR91miZCvo", + "object": "customer_cash_balance_transaction", + "applied_to_payment": { + "payment_intent": "pi_3Szu6GEFY1WEUtgR13UnyWcV" + }, + "created": 1770880448, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "ending_balance": 0, + "livemode": false, + "net_amount": -37000, + "type": "applied_to_payment" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_dOyUtvKfDqDO6e", + "idempotency_key": "evt_1Szu6EEFY1WEUtgRFyBnoi2w" + }, + "type": "customer_cash_balance_transaction.created" +} + +[2026-02-12 7:14:09.179280] [info] No UUID found in the webhook data +[2026-02-12 7:14:09.179297] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1Szu6GEFY1WEUtgRuPAK16MP","object":"event","api_version":"2023-10-16","created":1770880448,"data":{"object":{"id":"ccsbtxn_1Szu6GEFY1WEUtgR91miZCvo","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3Szu6GEFY1WEUtgR13UnyWcV"},"created":1770880448,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":0,"livemode":false,"net_amount":-37000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_dOyUtvKfDqDO6e","idempotency_key":"evt_1Szu6EEFY1WEUtgRFyBnoi2w"},"type":"customer_cash_balance_transaction.created"} + +[2026-02-12 7:14:09.187702] [notice] Logging level set to:debug +[2026-02-12 7:14:09.191270] [debug] Payload recibido: { + "id": "evt_3Szu6GEFY1WEUtgR1Iachi14", + "object": "event", + "api_version": "2023-10-16", + "created": 1770880448, + "data": { + "object": { + "id": "pi_3Szu6GEFY1WEUtgR13UnyWcV", + "object": "payment_intent", + "amount": 70000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 0, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3Szu6GEFY1WEUtgR13UnyWcV_secret_DKEZe3z2UdOKdAMVblkqZCWxr", + "confirmation_method": "automatic", + "created": 1770880448, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "135", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": { + "display_bank_transfer_instructions": { + "amount_remaining": 33000, + "currency": "mxn", + "financial_addresses": [ + { + "spei": { + "account_holder_address": { + "city": "Ciudad de México", + "country": "MX", + "line1": "Av Paseo de la Reforma 180 piso 29 col Juarez", + "line2": null, + "postal_code": "06600", + "state": "Ciudad de México" + }, + "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 MEXICO", + "clabe": "124180567617048545" + }, + "supported_networks": [ + "spei" + ], + "type": "spei" + } + ], + "hosted_instructions_url": "https://payments.stripe.com/bank_transfers/instructions/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UeHBsNVRQVkNIMjNvZ0RSZDhlUzdOc0hQWWsxMDA20100KheTyTmk", + "reference": "972120", + "type": "mx_bank_transfer" + }, + "type": "display_bank_transfer_instructions" + }, + "on_behalf_of": null, + "payment_method": "pm_1Szu6GEFY1WEUtgR5tGtJDnM", + "payment_method_configuration_details": null, + "payment_method_options": { + "customer_balance": { + "bank_transfer": { + "type": "mx_bank_transfer" + }, + "funding_type": "bank_transfer" + } + }, + "payment_method_types": [ + "customer_balance" + ], + "processing": null, + "receipt_email": null, + "review": null, + "setup_future_usage": null, + "shipping": null, + "source": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "requires_action", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_dOyUtvKfDqDO6e", + "idempotency_key": "evt_1Szu6EEFY1WEUtgRFyBnoi2w" + }, + "type": "payment_intent.requires_action" +} + +[2026-02-12 7:14:09.191550] [info] No UUID found in the webhook data +[2026-02-12 7:14:09.224318] [notice] Logging level set to:debug +[2026-02-12 7:14:09.224474] [debug] Payload recibido: { + "id": "evt_3Szu6GEFY1WEUtgR1eazjfA8", + "object": "event", + "api_version": "2023-10-16", + "created": 1770880448, + "data": { + "object": { + "id": "pi_3Szu6GEFY1WEUtgR13UnyWcV", + "object": "payment_intent", + "amount": 70000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 0, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3Szu6GEFY1WEUtgR13UnyWcV_secret_DKEZe3z2UdOKdAMVblkqZCWxr", + "confirmation_method": "automatic", + "created": 1770880448, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "135", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": null, + "on_behalf_of": null, + "payment_method": null, + "payment_method_configuration_details": null, + "payment_method_options": { + "customer_balance": { + "bank_transfer": { + "type": "mx_bank_transfer" + }, + "funding_type": "bank_transfer" + } + }, + "payment_method_types": [ + "customer_balance" + ], + "processing": null, + "receipt_email": null, + "review": null, + "setup_future_usage": null, + "shipping": null, + "source": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "requires_payment_method", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_dOyUtvKfDqDO6e", + "idempotency_key": "evt_1Szu6EEFY1WEUtgRFyBnoi2w" + }, + "type": "payment_intent.created" +} + +[2026-02-12 7:14:09.224581] [info] No UUID found in the webhook data +[2026-02-12 7:14:09.411113] [notice] Logging level set to:debug +[2026-02-12 7:14:09.415747] [debug] Payload recibido: { + "id": "evt_3SzrbMEFY1WEUtgR1VD2pzZG", + "object": "event", + "api_version": "2023-10-16", + "created": 1770880449, + "data": { + "object": { + "id": "py_3SzrbMEFY1WEUtgR1cLy3B5V", + "object": "charge", + "amount": 14000, + "amount_captured": 14000, + "amount_refunded": 0, + "application": null, + "application_fee": null, + "application_fee_amount": null, + "balance_transaction": "txn_3SzrbMEFY1WEUtgR1a999XEv", + "billing_details": { + "address": { + "city": null, + "country": null, + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "email": null, + "name": null, + "phone": null, + "tax_id": null + }, + "calculated_statement_descriptor": null, + "captured": true, + "created": 1770880444, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "description": null, + "destination": null, + "dispute": null, + "disputed": false, + "failure_balance_transaction": null, + "failure_code": null, + "failure_message": null, + "fraud_details": {}, + "invoice": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "135", + "tipoPago": "Transferencia Bancaria" + }, + "on_behalf_of": null, + "order": null, + "outcome": { + "advice_code": null, + "network_advice_code": null, + "network_decline_code": null, + "network_status": "approved_by_network", + "reason": null, + "risk_level": "not_assessed", + "seller_message": "Payment complete.", + "type": "authorized" + }, + "paid": true, + "payment_intent": "pi_3SzrbMEFY1WEUtgR1ec6QdGs", + "payment_method": "pm_1SzrbMEFY1WEUtgRt0yU3SAh", + "payment_method_details": { + "customer_balance": {}, + "type": "customer_balance" + }, + "radar_options": {}, + "receipt_email": null, + "receipt_number": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKMH7tcwGMgaYLdg0FMs6LBb6lxl0boNh9X6FyO6H1iSOjRHJYFW2YRPO1HTmIogpbmu6iu8bGj5sMIeq", + "refunded": false, + "review": null, + "shipping": null, + "source": null, + "source_transfer": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "succeeded", + "transfer_data": null, + "transfer_group": null + }, + "previous_attributes": { + "balance_transaction": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKMH7tcwGMgaI2IOYfwg6LBY_2eeTESpae_hx-jj2NWfWffEzSznCrCw81u84uzwb_5M9PaM3aaUcEIWy" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "charge.updated" +} + +[2026-02-12 7:14:09.415894] [info] No UUID found in the webhook data +[2026-02-12 7:14:10.671695] [notice] Logging level set to:debug +[2026-02-12 7:14:10.671837] [debug] Payload recibido: { + "id": "evt_3SzrgwEFY1WEUtgR1ZYACRej", + "object": "event", + "api_version": "2023-10-16", + "created": 1770880450, + "data": { + "object": { + "id": "py_3SzrgwEFY1WEUtgR10Nma1iX", + "object": "charge", + "amount": 6000, + "amount_captured": 6000, + "amount_refunded": 0, + "application": null, + "application_fee": null, + "application_fee_amount": null, + "balance_transaction": "txn_3SzrgwEFY1WEUtgR11gJkBxc", + "billing_details": { + "address": { + "city": null, + "country": null, + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "email": null, + "name": null, + "phone": null, + "tax_id": null + }, + "calculated_statement_descriptor": null, + "captured": true, + "created": 1770880445, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "description": null, + "destination": null, + "dispute": null, + "disputed": false, + "failure_balance_transaction": null, + "failure_code": null, + "failure_message": null, + "fraud_details": {}, + "invoice": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "135", + "tipoPago": "Transferencia Bancaria" + }, + "on_behalf_of": null, + "order": null, + "outcome": { + "advice_code": null, + "network_advice_code": null, + "network_decline_code": null, + "network_status": "approved_by_network", + "reason": null, + "risk_level": "not_assessed", + "seller_message": "Payment complete.", + "type": "authorized" + }, + "paid": true, + "payment_intent": "pi_3SzrgwEFY1WEUtgR1JhnOkWq", + "payment_method": "pm_1SzrgwEFY1WEUtgRlgLCw2To", + "payment_method_details": { + "customer_balance": {}, + "type": "customer_balance" + }, + "radar_options": {}, + "receipt_email": null, + "receipt_number": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKML7tcwGMgZ9ph5dEE06LBajg10iWxF7dXuMOPeN3sRX5Eccn_KBdutkmwZ0KnrOmvVBC5ALCMJumP4z", + "refunded": false, + "review": null, + "shipping": null, + "source": null, + "source_transfer": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "succeeded", + "transfer_data": null, + "transfer_group": null + }, + "previous_attributes": { + "balance_transaction": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKML7tcwGMgbKbM2SmzI6LBYz7_1zYrGAR-ZpY2c9Ewx-QWUAjqrKEKcBCTra6FVjdzFvOnLoyYR1gUHn" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "charge.updated" +} + +[2026-02-12 7:14:10.671922] [info] No UUID found in the webhook data +[2026-02-12 7:16:18.503603] [notice] Logging level set to:debug +[2026-02-12 7:16:18.503765] [debug] Payload recibido: { + "id": "evt_3Szu6GEFY1WEUtgR1aD2E3Tp", + "object": "event", + "api_version": "2023-10-16", + "created": 1770880578, + "data": { + "object": { + "id": "pi_3Szu6GEFY1WEUtgR13UnyWcV", + "object": "payment_intent", + "amount": 70000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 0, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": 1770880578, + "cancellation_reason": "duplicate", + "capture_method": "automatic_async", + "client_secret": "pi_3Szu6GEFY1WEUtgR13UnyWcV_secret_DKEZe3z2UdOKdAMVblkqZCWxr", + "confirmation_method": "automatic", + "created": 1770880448, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "135", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": null, + "on_behalf_of": null, + "payment_method": "pm_1Szu6GEFY1WEUtgR5tGtJDnM", + "payment_method_configuration_details": null, + "payment_method_options": { + "customer_balance": { + "bank_transfer": { + "type": "mx_bank_transfer" + }, + "funding_type": "bank_transfer" + } + }, + "payment_method_types": [ + "customer_balance" + ], + "processing": null, + "receipt_email": null, + "review": null, + "setup_future_usage": null, + "shipping": null, + "source": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "canceled", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_tEMaeglSBKt0VB", + "idempotency_key": "2a267b20-3f9f-48d4-8b39-86c534d319d0" + }, + "type": "payment_intent.canceled" +} + +[2026-02-12 7:16:18.503854] [info] No UUID found in the webhook data +[2026-02-12 7:16:18.569974] [notice] Logging level set to:debug +[2026-02-12 7:16:18.570130] [debug] Payload recibido: { + "id": "evt_1Szu8MEFY1WEUtgRuLLbQ44d", + "object": "event", + "api_version": "2023-10-16", + "created": 1770880577, + "data": { + "object": { + "id": "ccsbtxn_1Szu8LEFY1WEUtgR4aQSoNSp", + "object": "customer_cash_balance_transaction", + "created": 1770880577, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "ending_balance": 37000, + "livemode": false, + "net_amount": 37000, + "type": "unapplied_from_payment", + "unapplied_from_payment": { + "payment_intent": "pi_3Szu6GEFY1WEUtgR13UnyWcV" + } + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_tEMaeglSBKt0VB", + "idempotency_key": "2a267b20-3f9f-48d4-8b39-86c534d319d0" + }, + "type": "customer_cash_balance_transaction.created" +} + +[2026-02-12 7:16:18.570189] [info] No UUID found in the webhook data +[2026-02-12 7:16:18.570242] [warning] Evento de transferencia cancelada para el pago: pi_3Szu6GEFY1WEUtgR13UnyWcV + +[2026-02-12 7:16:18.570280] [warning] Monto neto de la transferencia cancelada: 37000 + +[2026-02-12 7:16:19.169862] [notice] Logging level set to:debug +[2026-02-12 7:16:19.169997] [debug] Payload recibido: { + "id": "evt_1Szu8MEFY1WEUtgRQ5V7Riqi", + "object": "event", + "api_version": "2023-10-16", + "created": 1770880578, + "data": { + "object": { + "object": "cash_balance", + "available": { + "mxn": 37000 + }, + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "livemode": false, + "settings": { + "reconciliation_mode": "automatic", + "using_merchant_default": true + } + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "cash_balance.funds_available" +} + +[2026-02-12 7:16:19.170053] [info] No UUID found in the webhook data +[2026-02-12 7:16:19.170098] [info] Evento de Pago de fondos disponibles recibido: {"id":"evt_1Szu8MEFY1WEUtgRQ5V7Riqi","object":"event","api_version":"2023-10-16","created":1770880578,"data":{"object":{"object":"cash_balance","available":{"mxn":37000},"customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"livemode":false,"settings":{"reconciliation_mode":"automatic","using_merchant_default":true}}},"livemode":false,"pending_webhooks":2,"request":{"id":null,"idempotency_key":null},"type":"cash_balance.funds_available"} + +[2026-02-12 14:06:23.199790] [notice] Logging level set to:debug +[2026-02-12 14:06:23.199868] [debug] Payload recibido: { + "id": "evt_3T00XCEFY1WEUtgR0YOBAK4x", + "object": "event", + "api_version": "2023-10-16", + "created": 1770905182, + "data": { + "object": { + "id": "pi_3T00XCEFY1WEUtgR0KGwJVGj", + "object": "payment_intent", + "amount": 20000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 0, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic", + "client_secret": "pi_3T00XCEFY1WEUtgR0KGwJVGj_secret_m585OcY5ugxDk8xJREMi9L9JH", + "confirmation_method": "automatic", + "created": 1770905182, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "ucrm_client_id": "135", + "clientId": "135", + "paymentType": "card.one_time", + "tipoPago": "OXXO" + }, + "next_action": null, + "on_behalf_of": null, + "payment_method": null, + "payment_method_configuration_details": null, + "payment_method_options": { + "card": { + "installments": null, + "mandate_options": null, + "network": null, + "request_three_d_secure": "automatic" + }, + "customer_balance": { + "funding_type": null + }, + "oxxo": { + "expires_after_days": 3 + } + }, + "payment_method_types": [ + "customer_balance", + "card", + "oxxo" + ], + "processing": null, + "receipt_email": null, + "review": null, + "setup_future_usage": null, + "shipping": null, + "source": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "requires_payment_method", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_iKuHGYJoGC9ARi", + "idempotency_key": "7bc734bf-e233-4183-b76b-118befcaa574" + }, + "type": "payment_intent.created" +} + +[2026-02-12 14:06:23.199917] [info] No UUID found in the webhook data +[2026-02-12 14:06:23.962621] [notice] Logging level set to:debug +[2026-02-12 14:06:23.962805] [debug] Payload recibido: { + "id": "evt_3T00XCEFY1WEUtgR0uQEZrYe", + "object": "event", + "api_version": "2023-10-16", + "created": 1770905183, + "data": { + "object": { + "id": "pi_3T00XCEFY1WEUtgR0KGwJVGj", + "object": "payment_intent", + "amount": 20000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 0, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic", + "client_secret": "pi_3T00XCEFY1WEUtgR0KGwJVGj_secret_m585OcY5ugxDk8xJREMi9L9JH", + "confirmation_method": "automatic", + "created": 1770905182, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "ucrm_client_id": "135", + "clientId": "135", + "paymentType": "card.one_time", + "tipoPago": "OXXO" + }, + "next_action": { + "oxxo_display_details": { + "expires_after": 1771221599, + "hosted_voucher_url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UeHdRaHA3V1VrOFVsR2lST042M1dXVzNnYnBReTh50100tDbww4T8", + "number": "12345678901234657890123456789012" + }, + "type": "oxxo_display_details" + }, + "on_behalf_of": null, + "payment_method": "pm_1T00XCEFY1WEUtgRJNgaK5iw", + "payment_method_configuration_details": null, + "payment_method_options": { + "card": { + "installments": null, + "mandate_options": null, + "network": null, + "request_three_d_secure": "automatic" + }, + "customer_balance": { + "funding_type": null + }, + "oxxo": { + "expires_after_days": 3 + } + }, + "payment_method_types": [ + "customer_balance", + "card", + "oxxo" + ], + "processing": null, + "receipt_email": null, + "review": null, + "setup_future_usage": null, + "shipping": null, + "source": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "requires_action", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_ZoRz473dCSmsUJ", + "idempotency_key": "526b4529-5484-4504-a888-fa8793060d84" + }, + "type": "payment_intent.requires_action" +} + +[2026-02-12 14:06:23.962896] [info] No UUID found in the webhook data +[2026-02-12 14:09:27.465620] [notice] Logging level set to:debug +[2026-02-12 14:09:27.465711] [debug] Payload recibido: { + "id": "evt_3T00XCEFY1WEUtgR0iD3DuEE", + "object": "event", + "api_version": "2023-10-16", + "created": 1770905367, + "data": { + "object": { + "id": "pi_3T00XCEFY1WEUtgR0KGwJVGj", + "object": "payment_intent", + "amount": 20000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 20000, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic", + "client_secret": "pi_3T00XCEFY1WEUtgR0KGwJVGj_secret_m585OcY5ugxDk8xJREMi9L9JH", + "confirmation_method": "automatic", + "created": 1770905182, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": "py_3T00XCEFY1WEUtgR0i5jyzk1", + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "ucrm_client_id": "135", + "clientId": "135", + "paymentType": "card.one_time", + "tipoPago": "OXXO" + }, + "next_action": null, + "on_behalf_of": null, + "payment_method": "pm_1T00XCEFY1WEUtgRJNgaK5iw", + "payment_method_configuration_details": null, + "payment_method_options": { + "card": { + "installments": null, + "mandate_options": null, + "network": null, + "request_three_d_secure": "automatic" + }, + "customer_balance": { + "funding_type": null + }, + "oxxo": { + "expires_after_days": 3 + } + }, + "payment_method_types": [ + "customer_balance", + "card", + "oxxo" + ], + "processing": null, + "receipt_email": null, + "review": null, + "setup_future_usage": null, + "shipping": null, + "source": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "succeeded", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "payment_intent.succeeded" +} + +[2026-02-12 14:09:27.465749] [info] No UUID found in the webhook data +[2026-02-12 14:09:27.465758] [info] Evento de pago exitoso (Stripe PI) recibido. +[2026-02-12 14:09:27.703654] [notice] Logging level set to:debug +[2026-02-12 14:09:27.709460] [debug] Payload recibido: { + "id": "evt_3T00XCEFY1WEUtgR0O2ufsfB", + "object": "event", + "api_version": "2023-10-16", + "created": 1770905367, + "data": { + "object": { + "id": "py_3T00XCEFY1WEUtgR0i5jyzk1", + "object": "charge", + "amount": 20000, + "amount_captured": 20000, + "amount_refunded": 0, + "application": null, + "application_fee": null, + "application_fee_amount": null, + "balance_transaction": "txn_3T00XCEFY1WEUtgR0gaCC8nl", + "billing_details": { + "address": { + "city": null, + "country": null, + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "email": "juanvaliente@gmail.com", + "name": "Juan Escutia", + "phone": null, + "tax_id": null + }, + "calculated_statement_descriptor": null, + "captured": true, + "created": 1770905366, + "currency": "mxn", + "customer": "cus_QJk0PDx5ClqJ4w", + "description": null, + "destination": null, + "dispute": null, + "disputed": false, + "failure_balance_transaction": null, + "failure_code": null, + "failure_message": null, + "fraud_details": {}, + "invoice": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "ucrm_client_id": "135", + "clientId": "135", + "paymentType": "card.one_time", + "tipoPago": "OXXO" + }, + "on_behalf_of": null, + "order": null, + "outcome": { + "advice_code": null, + "network_advice_code": null, + "network_decline_code": null, + "network_status": "approved_by_network", + "reason": null, + "risk_level": "not_assessed", + "seller_message": "Payment complete.", + "type": "authorized" + }, + "paid": true, + "payment_intent": "pi_3T00XCEFY1WEUtgR0KGwJVGj", + "payment_method": "pm_1T00XCEFY1WEUtgRJNgaK5iw", + "payment_method_details": { + "oxxo": { + "number": "12345678901234657890123456789012" + }, + "type": "oxxo" + }, + "radar_options": {}, + "receipt_email": null, + "receipt_number": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKJe-t8wGMgYLp12UHXE6LBZE4WFbhA7E2KhGW6idxfP3f1O_vvI5dpgwTyZgd2Dle9YiP8zr9uIOL8-f", + "refunded": false, + "review": null, + "shipping": null, + "source": null, + "source_transfer": null, + "statement_descriptor": null, + "statement_descriptor_suffix": null, + "status": "succeeded", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "charge.succeeded" +} + +[2026-02-12 14:09:27.709547] [info] No UUID found in the webhook data +[2026-02-12 14:09:28.490628] [notice] Logging level set to:debug +[2026-02-12 14:09:28.490694] [debug] Payload recibido: {"uuid":"ecdf3442-5737-464d-8212-3bb54d91e0c8","changeType":"insert","entity":"payment","entityId":"959","eventName":"payment.add","extraData":{"entity":{"id":959,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-02-12T08:09:28-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]},"entityBeforeEdit":null}} + +[2026-02-12 14:09:28.731249] [debug] Evento recibido: payment.add +[2026-02-12 14:09:28.731395] [debug] Notification encodificado en JSON:{"uuid":"ecdf3442-5737-464d-8212-3bb54d91e0c8","changeType":"insert","entity":"payment","entityId":959,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false},{"id":310,"clientId":135,"customAttributeId":15,"name":"Site","key":"site","value":"El Lindero","clientZoneVisible":false},{"id":311,"clientId":135,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"San Vicente","clientZoneVisible":false},{"id":312,"clientId":135,"customAttributeId":22,"name":"ip","key":"ip","value":"172.16.86.64","clientZoneVisible":false},{"id":313,"clientId":135,"customAttributeId":24,"name":"adminpass","key":"adminpass","value":"admin1390","clientZoneVisible":true},{"id":314,"clientId":135,"customAttributeId":29,"name":"instalador","key":"instalador","value":"Chanclas","clientZoneVisible":true}],"accountBalance":9980,"accountCredit":9980,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":12,"name":"PAGO ELI","colorBackground":"#0050a1","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":959,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-02-12T08:09:28-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}} + +[2026-02-12 14:09:28.731432] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 959 +[2026-02-12 14:09:28.751075] [info] Microservice found metadata: tipoPago = 'OXXO' +[2026-02-12 14:09:28.837482] [info] Payment 959 has no User ID. Assigning Stripe User ID: 1180 +[2026-02-12 14:09:28.913670] [info] Payment 959 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to b01c0b35-b42c-48d9-9ad9-ea6591adfbbb via Microservice. +[2026-02-12 14:09:29.922518] [info] Payment Method ID patched successfully. +[2026-02-12 14:09:30.006711] [info] PATCHING Payment 959: Setting tipoPagoStripe = 'OXXO Pay' +Eviando comprobante de pago al cliente: 135 con número: 524181878106 + +El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf + +El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf + +Procesando PDF con microservicio: http://172.16.5.134:8050/process + +Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg + +[2026-02-12 14:09:31.036629] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1770905370.jpg +Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1770905370.jpg + +Archivos temporales (PDF/JPG) eliminados tras subida exitosa. + +Proceso de obtención de imagen finalizado. + +La cadena CURL que se envia es: { + "to": "524181878106", + "from": "whatsapp", + "type": "document", + "content": { + "text": "S/M", + "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1770905370.jpg" + }, + "template_values": ["Juan Escutia", "$200", "$9980 a favor"], + "template_uuid": "57ead79cebd14902921477922403093b", + "optin_contact": true + } +Response del CallBell: {"message":{"uuid":"9b1a71998b37408fbd6dc1d32958b8cf","status":"enqueued"}} +Hay menos de 100 archivos en el directorio. No se eliminarán archivos. + +La notificación fue enviada correctamente con estado: enqueued + +Notificacion data: {"uuid":"ecdf3442-5737-464d-8212-3bb54d91e0c8","changeType":"insert","entity":"payment","entityId":959,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false},{"id":310,"clientId":135,"customAttributeId":15,"name":"Site","key":"site","value":"El Lindero","clientZoneVisible":false},{"id":311,"clientId":135,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"San Vicente","clientZoneVisible":false},{"id":312,"clientId":135,"customAttributeId":22,"name":"ip","key":"ip","value":"172.16.86.64","clientZoneVisible":false},{"id":313,"clientId":135,"customAttributeId":24,"name":"adminpass","key":"adminpass","value":"admin1390","clientZoneVisible":true},{"id":314,"clientId":135,"customAttributeId":29,"name":"instalador","key":"instalador","value":"Chanclas","clientZoneVisible":true}],"accountBalance":9980,"accountCredit":9980,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":12,"name":"PAGO ELI","colorBackground":"#0050a1","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":959,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-02-12T08:09:28-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}} + +Dentro del proceso del patch: + +Datos traidos con payment api: [{"id":959,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-02-12T08:09:28-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":1180,"attributes":[{"id":"3ba472e9-0e22-4e84-acb0-02ef166b5186","paymentId":959,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}] + +Nombre del cliente que se va a actualizar: Juan Escutia + +UUID: 74cc2bb45eb8409f92cd5dba99200d26 + +JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"El Lindero","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 12\/02\/2026 08:09","Saldo Actual":"\ud83d\udcb29980 a favor","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 12\/02\/2026 08:09 con Desconocido, revisar metodos de pago no contemplados","Antena\/Sectorial":"San Vicente","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb29980 a favor\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 12\/02\/2026 08:09 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"12\/02\/2026 08:09\",\"Clabe Interbancaria\": \"\",\"Site\": \"El Lindero\",\"Antena\/Sectorial\": \"San Vicente\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}} + +DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲9450 a favor' + +DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲9980 a favor' + +DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo ' + +DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo ' + +EJECUTANDO PATCH - Se detectaron cambios + +Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Juan Escutia","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-02-01T15:22:57Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS","PRUEBAS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650741646979","Estado":"🟢 Activo ","user name":"Daniel Humberto","Cliente":"135","URL":"🌐 https://sistema.siip.mx/crm/client/135","Domicilio":"📍 Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Saldo Actual":"💲9980 a favor","Monto Ultimo Pago":"💲 200","Fecha Ultima Actualizacion":"📆🔄️ 12/02/2026 08:09","Nombre":"👤 Juan Escutia","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https://sistema.siip.mx/crm/client/135\",\"Saldo Actual\": \"💲9980 a favor\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 12/02/2026 08:09 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"12/02/2026 08:09\",\"Clabe Interbancaria\": \"\",\"Site\": \"El Lindero\",\"Antena/Sectorial\": \"San Vicente\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}}","Site":"El Lindero","Fecha Ultimo Pago":"📆💸 12/02/2026 08:09 con Desconocido, revisar metodos de pago no contemplados","Antena/Sectorial":"San Vicente"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}} + +[2026-02-12 14:09:34.551498] [notice] Logging level set to:debug +[2026-02-12 14:09:34.552617] [debug] Payload recibido: {"uuid":"3aa571f2-735c-415e-b930-65384c44b2fd","changeType":"edit","entity":"payment","entityId":"959","eventName":"payment.edit","extraData":{"entity":{"id":959,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-02-12T08:09:28-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":1180,"attributes":[]},"entityBeforeEdit":{"id":959,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-02-12T08:09:28-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}}} + +[2026-02-12 14:09:34.765480] [debug] Evento recibido: payment.edit diff --git a/img/webp/account-balance.webp b/img/webp/account-balance.webp new file mode 100644 index 00000000..5bf5634f Binary files /dev/null and b/img/webp/account-balance.webp differ diff --git a/img/webp/delete.webp b/img/webp/delete.webp new file mode 100755 index 00000000..c30fae24 Binary files /dev/null and b/img/webp/delete.webp differ diff --git a/img/webp/edit.webp b/img/webp/edit.webp new file mode 100644 index 00000000..92932874 Binary files /dev/null and b/img/webp/edit.webp differ diff --git a/public.php b/public.php index db160009..815abf70 100755 --- a/public.php +++ b/public.php @@ -157,6 +157,30 @@ if (isset($_GET['action'])) { exit; } + if ($_GET['action'] === 'get_stripe_history') { + if (ob_get_level()) ob_end_clean(); + header('Content-Type: application/json'); + + $stripeCustomerId = $_GET['stripeCustomerId'] ?? ''; + if (!$stripeCustomerId) { + echo json_encode(['error' => 'Missing stripeCustomerId']); + exit; + } + + try { + $history = $stripeService->getLastPayments($stripeCustomerId); + $balance = $stripeService->getCustomerCashBalance($stripeCustomerId); + + echo json_encode([ + 'history' => $history, + 'cashBalance' => $balance + ]); + } catch (Exception $e) { + echo json_encode(['error' => $e->getMessage()]); + } + exit; + } + if ($_GET['action'] === 'search_stripe') { $q = $_GET['q'] ?? ''; echo json_encode($stripeService->searchClients($q)); @@ -172,7 +196,7 @@ if (isset($_GET['action'])) { // Image Handler if (ob_get_level()) ob_end_clean(); $filename = basename($_GET['file'] ?? $_GET['name'] ?? ''); - $paths = [__DIR__ . '/img/' . $filename, __DIR__ . '/vouchers_oxxo/' . $filename]; + $paths = [__DIR__ . '/img/' . $filename, __DIR__ . '/img/webp/' . $filename, __DIR__ . '/vouchers_oxxo/' . $filename]; $finalPath = null; foreach ($paths as $p) { if (file_exists($p)) { @@ -622,6 +646,58 @@ $installersData = json_decode($config['installersDataWhatsApp'] ?? '{"instalador z-index: 4000; } + /* UNIFORM BUTTONS */ + .btn-uniform { + background-color: var(--primary) !important; + color: white !important; + border: none; + border-radius: 8px; + padding: 8px 16px; + font-weight: 600; + display: inline-flex; + align-items: center; + gap: 8px; + transition: all 0.2s; + text-decoration: none; + } + + .btn-uniform:hover { + opacity: 0.9; + transform: translateY(-1px); + } + + /* ICONS */ + .icon-btn { + width: 20px; + height: 20px; + object-fit: contain; + } + + .icon-crm { + width: 18px; + height: 18px; + object-fit: contain; + } + + .icon-action { + width: 20px; + height: 20px; + cursor: pointer; + transition: transform 0.2s; + } + + .icon-action:hover { + transform: scale(1.2); + } + + .client-header-icon { + width: 32px; + height: 32px; + object-fit: contain; + margin-right: 10px; + vertical-align: middle; + } + #toast.show { transform: translate(-50%, 0); } @@ -894,9 +970,13 @@ $installersData = json_decode($config['installersDataWhatsApp'] ?? '{"instalador