[2025-06-15 17:11:57] 📥 Dados recebidos do PayHubr
Dados: {
    "raw": "{\"orderId\":\"12a9a5e1-1c60-4d92-94bf-f1c95c669f5a\",\"platform\":\"PayHub\",\"paymentMethod\":\"pix\",\"status\":\"waiting_payment\",\"createdAt\":\"2025-06-15 14:11:57\",\"approvedDate\":null,\"refundedAt\":null,\"customer\":{\"name\":\"Carlos Almeida Rodrigues\",\"email\":\"carlos.almeida.rodrigues@email.com\",\"phone\":\"(39) 67500-8968\",\"document\":\"57809842552\",\"country\":\"BR\",\"ip\":\"177.174.243.141\"},\"products\":[{\"id\":\"PROD_684efedd562bd\",\"name\":\"taxa\",\"planId\":null,\"planName\":null,\"quantity\":1,\"priceInCents\":5856}],\"trackingParameters\":[],\"commission\":{\"totalPriceInCents\":5856,\"gatewayFeeInCents\":150,\"userCommissionInCents\":5856},\"isTest\":false}"
}
----------------------------------------
[2025-06-15 17:11:57] 🔄 Processando dados recebidos
Dados: {
    "orderId": "12a9a5e1-1c60-4d92-94bf-f1c95c669f5a",
    "platform": "PayHub",
    "paymentMethod": "pix",
    "status": "waiting_payment",
    "createdAt": "2025-06-15 14:11:57",
    "approvedDate": null,
    "refundedAt": null,
    "customer": {
        "name": "Carlos Almeida Rodrigues",
        "email": "carlos.almeida.rodrigues@email.com",
        "phone": "(39) 67500-8968",
        "document": "57809842552",
        "country": "BR",
        "ip": "177.174.243.141"
    },
    "products": [
        {
            "id": "PROD_684efedd562bd",
            "name": "taxa",
            "planId": null,
            "planName": null,
            "quantity": 1,
            "priceInCents": 5856
        }
    ],
    "trackingParameters": [],
    "commission": {
        "totalPriceInCents": 5856,
        "gatewayFeeInCents": 150,
        "userCommissionInCents": 5856
    },
    "isTest": false
}
----------------------------------------
[2025-06-15 17:11:57] 📤 Dados formatados para Utmify
Dados: {
    "orderId": "12a9a5e1-1c60-4d92-94bf-f1c95c669f5a",
    "platform": "PayHubr",
    "paymentMethod": "pix",
    "status": "waiting_payment",
    "createdAt": "2025-06-15 17:11:57",
    "approvedDate": null,
    "refundedAt": null,
    "customer": {
        "name": "Carlos Almeida Rodrigues",
        "email": "carlos.almeida.rodrigues@email.com",
        "phone": null,
        "document": "57809842552",
        "country": "BR",
        "ip": "186.209.113.102"
    },
    "products": [
        {
            "id": "PROD_684efedd562bd",
            "name": "taxa",
            "planId": null,
            "planName": null,
            "quantity": 1,
            "priceInCents": 5856
        }
    ],
    "trackingParameters": {
        "src": null,
        "sck": null,
        "utm_source": null,
        "utm_campaign": null,
        "utm_medium": null,
        "utm_content": null,
        "utm_term": null,
        "xcod": null,
        "fbclid": null,
        "gclid": null,
        "ttclid": null
    },
    "commission": {
        "totalPriceInCents": 5856,
        "gatewayFeeInCents": 150,
        "userCommissionInCents": 5856
    },
    "isTest": false
}
----------------------------------------
[2025-06-15 17:11:57] 📡 Enviando requisição para Utmify
Dados: {
    "url": "https:\/\/api.utmify.com.br\/api-credentials\/orders",
    "headers": [
        "Content-Type: application\/json",
        "x-api-token: [REDACTED]"
    ]
}
----------------------------------------
[2025-06-15 17:11:57] ✅ Resposta da API Utmify
Dados: {
    "http_code": 200,
    "response": {
        "OK": true,
        "data": [],
        "result": "SUCCESS"
    }
}
----------------------------------------
