From aa42284cc54cf917b4ed434e106dba93e6552f8e Mon Sep 17 00:00:00 2001 From: DANYDHSV Date: Thu, 12 Feb 2026 08:13:26 -0600 Subject: [PATCH] saldo stripe conseguido --- data/plugin.log | 3238 ++++++++++++++++++++++++++ img/webp/account-balance.webp | Bin 0 -> 12330 bytes img/webp/delete.webp | Bin 0 -> 1792 bytes img/webp/edit.webp | Bin 0 -> 6314 bytes public.php | 286 ++- src/Plugin.php | 3 + src/Service/PaymentIntentService.php | 50 + 7 files changed, 3541 insertions(+), 36 deletions(-) create mode 100644 img/webp/account-balance.webp create mode 100755 img/webp/delete.webp create mode 100644 img/webp/edit.webp 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 0000000000000000000000000000000000000000..5bf5634f6525bfb1bd3df7b6682db5b0d65b7bbf GIT binary patch literal 12330 zcmV+_FxAgeNk&E@FaQ8oMM6+kP&il$0000G000300093006|PpNID1r00E$e{kLg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XTNPHtD$6<2vHZ{Q77$0gujDVvMsdZ6FVwYL%^t`#s4N8_q5Z9kq8nXtQ%Jh-O^ zK>|^sj)mynM?@tfPqaPrK1F^lWhYgL*kg24F@&O?1_~bE zNumcY7ziE+!O)v0ml-mGg6|MPX?jd|#4oXLYmu6jeGHC85HNz)EheKsF>R56wZKXQ^{-_psMY4`m$43OVS2Z` z;0uS$Ki((x*B%p3=?+l@AcGp1C*hx4GaVF&)sJ!!8r0Sb)xQQtnu7!3(JSHwtZl~( z$#H;RUoO`dzCLRQ>{1&x!T%)9P*CJG_bu_eT6@@(@5{Ha9J;;wSA|0CSv_Ysi*{=F zNVly9rpHQe8_{GM(&P&3B-C{+IV`u`s=o6s$S@UrMJhHzoq0RPP-kvgKZ0En=0te8 za!<=08mI~c=L~Xw0x?Sn7OqY^^#h(eM0Sz`2gi)u7edk@n+$azJy)Ao`CH6^0n%T= zIG1>8!@5$F4gc@?`x~uVZ$_q+R?2J%VTEJVt2wU(kYSjIhaIz4wD=Dwl`A-B5i4w- z0h6r`8Sy5Zo64 z31{8o4isNz)lVHGRJ;t8FRVEJFDokz0Swdv6{mxCy>imxw8fS zCuKCg-&lhct6b+*-Xv#J692br7yA# zsdz#~$FL<5FZQ*Ocv0; '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 - - -
-
-
-

- Pagos OXXO -

-

🏪 Genera fichas de pago OXXO para que tus clientes paguen en tiendas de conveniencia

+ +
- @@ -1252,6 +1362,8 @@ $installersData = json_decode($config['installersDataWhatsApp'] ?? '{"instalador
+
+ ${highlightMatch(name, query)} ${isSuspended ? 'SUSPENDIDO' : ''}
@@ -1339,7 +1451,12 @@ $installersData = json_decode($config['installersDataWhatsApp'] ?? '{"instalador ${new Date(p.createdDate).toLocaleString()} $${p.amount} ${p.currencyCode} ${p.methodName} - + ${p.methodName} + + + `).join(''); } @@ -1381,6 +1498,8 @@ $installersData = json_decode($config['installersDataWhatsApp'] ?? '{"instalador document.getElementById('stripeAmount').value = data.accountOutstanding > 0 ? data.accountOutstanding : ''; document.getElementById('btnVerEnCrm').href = `${store.publicUrl}/client/${data.id}`; document.getElementById('stripeDetailContainer').style.display = 'block'; + if (data.stripeCustomerId) loadStripeHistory(data.stripeCustomerId); + else document.getElementById('stripeHistoryContainer').style.display = 'none'; }); document.getElementById('btnCreateIntent').onclick = async () => { @@ -1476,7 +1595,15 @@ $installersData = json_decode($config['installersDataWhatsApp'] ?? '{"instalador // --- INSTALLER MODAL LOGIC --- function renderTable() { const tbody = document.querySelector('#installersTable tbody'); - tbody.innerHTML = store.installers.map((inst, i) => `#${inst.id}${inst.nombre}${inst.whatsapp} `).join(''); + tbody.innerHTML = store.installers.map((inst, i) => ` + #${inst.id} + ${inst.nombre} + ${inst.whatsapp} + + + + + `).join(''); } renderTable(); @@ -1519,6 +1646,93 @@ $installersData = json_decode($config['installersDataWhatsApp'] ?? '{"instalador renderTable(); document.getElementById('modalOverlay').style.display = 'none'; }; + + async function loadStripeHistory(customerId) { + const container = document.getElementById('stripeHistoryContainer'); + const tbody = document.querySelector('#stripeHistoryTable tbody'); + const balanceBadge = document.getElementById('stripeCashBalanceBadge'); + + container.style.display = 'block'; + tbody.innerHTML = 'Cargando historial...'; + balanceBadge.style.display = 'none'; + + try { + const response = await fetch(`?action=get_stripe_history&stripeCustomerId=${customerId}`); + const dataRaw = await response.json(); + + // Compatibility handling (array vs object) + const data = Array.isArray(dataRaw) ? dataRaw : (dataRaw.history || []); + const cashBalance = (dataRaw.cashBalance !== undefined && dataRaw.cashBalance !== null) ? parseFloat(dataRaw.cashBalance) : null; + + // Display Cash Balance + if (cashBalance !== null) { + balanceBadge.style.display = 'inline-flex'; + const balanceText = document.getElementById('stripeCashBalanceText'); + if (balanceText) { + balanceText.textContent = 'Saldo Stripe: $' + cashBalance.toFixed(2) + ' MXN'; + } + + if (cashBalance > 0) { + balanceBadge.style.backgroundColor = '#dcfce7'; // Green + balanceBadge.style.color = '#15803d'; + balanceBadge.style.border = '1px solid #bbf7d0'; + } else { + balanceBadge.style.backgroundColor = '#f1f5f9'; // Gray + balanceBadge.style.color = 'var(--text-main)'; + balanceBadge.style.border = '1px solid transparent'; + } + } + + if (dataRaw.error) { + tbody.innerHTML = `Error: ${dataRaw.error}`; + return; + } + + if (data.length === 0) { + tbody.innerHTML = 'No hay pagos recientes.'; + return; + } + + tbody.innerHTML = data.map(payment => { + const date = new Date(payment.created * 1000).toLocaleString(); + const statusBadge = getStatusBadge(payment.status); + return ` + + ${statusBadge} + $${payment.amount.toFixed(2)} ${payment.currency} + ${payment.description} + ${date} + ${payment.id} + + `; + }).join(''); + + } catch (e) { + tbody.innerHTML = `Error de conexión`; + } + } + + function getStatusBadge(status) { + let color = 'var(--text-muted)'; + let bg = '#f1f5f9'; + let label = status; + + if (status === 'succeeded') { + color = '#15803d'; + bg = '#dcfce7'; + label = 'Exitoso'; + } else if (status === 'requires_payment_method' || status === 'requires_action') { + color = '#b45309'; + bg = '#fef3c7'; + label = 'Pendiente'; + } else if (status === 'canceled') { + color = '#b91c1c'; + bg = '#fee2e2'; + label = 'Cancelado'; + } + + return `${label}`; + } diff --git a/src/Plugin.php b/src/Plugin.php index 6d592a52..0f31632b 100755 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -109,6 +109,9 @@ class Plugin } $userInput = file_get_contents('php://input'); + + // DEBUG TEMPORAL + $this->logger->debug('Payload recibido: ' . $userInput . PHP_EOL); if (! $userInput) { diff --git a/src/Service/PaymentIntentService.php b/src/Service/PaymentIntentService.php index 84eb007e..c67c0d8a 100755 --- a/src/Service/PaymentIntentService.php +++ b/src/Service/PaymentIntentService.php @@ -141,6 +141,56 @@ class PaymentIntentService } } + public function getLastPayments($stripeCustomerId, $limit = 10) + { + try { + $collection = $this->stripeClient->paymentIntents->all([ + 'customer' => $stripeCustomerId, + 'limit' => $limit, + ]); + + $result = []; + foreach ($collection->data as $payment) { + $description = $payment->description ?? $payment->metadata['description'] ?? 'Pago Stripe'; + $result[] = [ + 'id' => $payment->id, + 'amount' => $payment->amount / 100, + 'currency' => strtoupper($payment->currency), + 'status' => $payment->status, + 'created' => $payment->created, + 'description' => $description + ]; + } + return $result; + } catch (\Exception $e) { + $this->log("Error fetching last payments: " . $e->getMessage()); + return ['error' => $e->getMessage()]; + } + } + + public function getCustomerCashBalance($stripeCustomerId) + { + try { + $balanceObj = $this->stripeClient->customers->retrieveCashBalance( + $stripeCustomerId, + [] + ); + $amount = $balanceObj->available['mxn'] ?? 0; + return $amount / 100; + } catch (\Exception $e) { + // Fallback or old api version check + try { + $customer = $this->stripeClient->customers->retrieve( + $stripeCustomerId, + ['expand' => ['cash_balance']] + ); + return ($customer->cash_balance->available['mxn'] ?? 0) / 100; + } catch (\Exception $ex) { + return 0; + } + } + } + private function log($message) { if ($this->logger) {