[2025-11-11 22:23:51] 📥 Dados recebidos do PayHubr
Dados: {
    "raw": "{\"orderId\":28389648,\"platform\":\"BlackCat\",\"paymentMethod\":\"pix\",\"status\":\"waiting_payment\",\"createdAt\":\"2025-11-11 22:23:51\",\"approvedDate\":null,\"refundedAt\":null,\"customer\":{\"name\":\"Maria Soares Ferreira\",\"email\":\"mariasoaresferreira454@yahoo.com.br\",\"phone\":null,\"document\":\"48889902558\",\"country\":\"BR\",\"ip\":\"187.87.98.160\"},\"products\":[{\"id\":\"PROD_4191\",\"name\":\"Segredo por tr\\u00e1s da MENTE MILION\\u00c1RIA\",\"planId\":null,\"planName\":null,\"quantity\":1,\"priceInCents\":5790}],\"trackingParameters\":{\"utm_source\":\"organic\"},\"commission\":{\"totalPriceInCents\":5790,\"gatewayFeeInCents\":0,\"userCommissionInCents\":5790},\"isTest\":false}"
}
----------------------------------------
[2025-11-11 22:23:51] 🔄 Processando dados recebidos
Dados: {
    "orderId": 28389648,
    "platform": "BlackCat",
    "paymentMethod": "pix",
    "status": "waiting_payment",
    "createdAt": "2025-11-11 22:23:51",
    "approvedDate": null,
    "refundedAt": null,
    "customer": {
        "name": "Maria Soares Ferreira",
        "email": "mariasoaresferreira454@yahoo.com.br",
        "phone": null,
        "document": "48889902558",
        "country": "BR",
        "ip": "187.87.98.160"
    },
    "products": [
        {
            "id": "PROD_4191",
            "name": "Segredo por tr\u00e1s da MENTE MILION\u00c1RIA",
            "planId": null,
            "planName": null,
            "quantity": 1,
            "priceInCents": 5790
        }
    ],
    "trackingParameters": {
        "utm_source": "organic"
    },
    "commission": {
        "totalPriceInCents": 5790,
        "gatewayFeeInCents": 0,
        "userCommissionInCents": 5790
    },
    "isTest": false
}
----------------------------------------
[2025-11-11 22:23:51] 📤 Dados formatados para Utmify
Dados: {
    "orderId": 28389648,
    "platform": "PayHubr",
    "paymentMethod": "pix",
    "status": "waiting_payment",
    "createdAt": "2025-11-11 22:23:51",
    "approvedDate": null,
    "refundedAt": null,
    "customer": {
        "name": "Maria Soares Ferreira",
        "email": "mariasoaresferreira454@yahoo.com.br",
        "phone": null,
        "document": "48889902558",
        "country": "BR",
        "ip": "88.80.17.182"
    },
    "products": [
        {
            "id": "PROD_4191",
            "name": "Segredo por tr\u00e1s da MENTE MILION\u00c1RIA",
            "planId": null,
            "planName": null,
            "quantity": 1,
            "priceInCents": 5790
        }
    ],
    "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": 5790,
        "gatewayFeeInCents": 0,
        "userCommissionInCents": 5790
    },
    "isTest": false
}
----------------------------------------
[2025-11-11 22:23:51] 📡 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-11-11 22:23:52] ✅ Resposta da API Utmify
Dados: {
    "http_code": 200,
    "response": {
        "OK": true,
        "data": [],
        "result": "SUCCESS"
    }
}
----------------------------------------
