[2025-05-29 22:36:57] 📥 Dados recebidos do PayHubr
Dados: {
    "raw": "{\"orderId\":8268943,\"platform\":\"BlackCat\",\"paymentMethod\":\"pix\",\"status\":\"waiting_payment\",\"createdAt\":\"2025-05-29 19:36:57\",\"approvedDate\":null,\"refundedAt\":null,\"customer\":{\"name\":\"Felipe Silva Vieira\",\"email\":\"felipesilvavieira276@gmail.com\",\"phone\":null,\"document\":\"48268155574\",\"country\":\"BR\",\"ip\":\"186.233.112.7\"},\"products\":[{\"id\":\"PROD_8038\",\"name\":\"produto\",\"planId\":null,\"planName\":null,\"quantity\":1,\"priceInCents\":6784}],\"trackingParameters\":{\"utm_source\":\"organic\"},\"commission\":{\"totalPriceInCents\":6784,\"gatewayFeeInCents\":0,\"userCommissionInCents\":6784},\"isTest\":false}"
}
----------------------------------------
[2025-05-29 22:36:57] 🔄 Processando dados recebidos
Dados: {
    "orderId": 8268943,
    "platform": "BlackCat",
    "paymentMethod": "pix",
    "status": "waiting_payment",
    "createdAt": "2025-05-29 19:36:57",
    "approvedDate": null,
    "refundedAt": null,
    "customer": {
        "name": "Felipe Silva Vieira",
        "email": "felipesilvavieira276@gmail.com",
        "phone": null,
        "document": "48268155574",
        "country": "BR",
        "ip": "186.233.112.7"
    },
    "products": [
        {
            "id": "PROD_8038",
            "name": "produto",
            "planId": null,
            "planName": null,
            "quantity": 1,
            "priceInCents": 6784
        }
    ],
    "trackingParameters": {
        "utm_source": "organic"
    },
    "commission": {
        "totalPriceInCents": 6784,
        "gatewayFeeInCents": 0,
        "userCommissionInCents": 6784
    },
    "isTest": false
}
----------------------------------------
[2025-05-29 22:36:57] 📤 Dados formatados para Utmify
Dados: {
    "orderId": 8268943,
    "platform": "PayHubr",
    "paymentMethod": "pix",
    "status": "waiting_payment",
    "createdAt": "2025-05-29 22:36:57",
    "approvedDate": null,
    "refundedAt": null,
    "customer": {
        "name": "Felipe Silva Vieira",
        "email": "felipesilvavieira276@gmail.com",
        "phone": null,
        "document": "48268155574",
        "country": "BR",
        "ip": "186.209.113.102"
    },
    "products": [
        {
            "id": "PROD_8038",
            "name": "produto",
            "planId": null,
            "planName": null,
            "quantity": 1,
            "priceInCents": 6784
        }
    ],
    "trackingParameters": {
        "src": null,
        "sck": null,
        "utm_source": "organic",
        "utm_campaign": null,
        "utm_medium": null,
        "utm_content": null,
        "utm_term": null,
        "xcod": null,
        "fbclid": null,
        "gclid": null,
        "ttclid": null
    },
    "commission": {
        "totalPriceInCents": 6784,
        "gatewayFeeInCents": 0,
        "userCommissionInCents": 6784
    },
    "isTest": false
}
----------------------------------------
[2025-05-29 22:36: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-05-29 22:36:57] ✅ Resposta da API Utmify
Dados: {
    "http_code": 200,
    "response": {
        "OK": true,
        "data": [],
        "result": "SUCCESS"
    }
}
----------------------------------------
