[2025-06-04 12:59:11] 📥 Dados recebidos do PayHubr
Dados: {
    "raw": "{\"orderId\":8722947,\"platform\":\"BlackCat\",\"paymentMethod\":\"pix\",\"status\":\"waiting_payment\",\"createdAt\":\"2025-06-04 09:59:11\",\"approvedDate\":null,\"refundedAt\":null,\"customer\":{\"name\":\"Jo\\u00e3o Souza Souza\",\"email\":\"joosouzasouza549@uol.com.br\",\"phone\":null,\"document\":\"85550452316\",\"country\":\"BR\",\"ip\":\"143.255.220.210\"},\"products\":[{\"id\":\"PROD_6506\",\"name\":\"produto\",\"planId\":null,\"planName\":null,\"quantity\":1,\"priceInCents\":1753}],\"trackingParameters\":{\"utm_source\":\"organicjLj682fceaf6301e556982fd47e\",\"xcod\":\"organicjLj682fceaf6301e556982fd47ehQwK21wXxRhQwK21wXxRhQwK21wXxRhQwK21wXxR\"},\"commission\":{\"totalPriceInCents\":1753,\"gatewayFeeInCents\":0,\"userCommissionInCents\":1753},\"isTest\":false}"
}
----------------------------------------
[2025-06-04 12:59:11] 🔄 Processando dados recebidos
Dados: {
    "orderId": 8722947,
    "platform": "BlackCat",
    "paymentMethod": "pix",
    "status": "waiting_payment",
    "createdAt": "2025-06-04 09:59:11",
    "approvedDate": null,
    "refundedAt": null,
    "customer": {
        "name": "Jo\u00e3o Souza Souza",
        "email": "joosouzasouza549@uol.com.br",
        "phone": null,
        "document": "85550452316",
        "country": "BR",
        "ip": "143.255.220.210"
    },
    "products": [
        {
            "id": "PROD_6506",
            "name": "produto",
            "planId": null,
            "planName": null,
            "quantity": 1,
            "priceInCents": 1753
        }
    ],
    "trackingParameters": {
        "utm_source": "organicjLj682fceaf6301e556982fd47e",
        "xcod": "organicjLj682fceaf6301e556982fd47ehQwK21wXxRhQwK21wXxRhQwK21wXxRhQwK21wXxR"
    },
    "commission": {
        "totalPriceInCents": 1753,
        "gatewayFeeInCents": 0,
        "userCommissionInCents": 1753
    },
    "isTest": false
}
----------------------------------------
[2025-06-04 12:59:11] 📤 Dados formatados para Utmify
Dados: {
    "orderId": 8722947,
    "platform": "PayHubr",
    "paymentMethod": "pix",
    "status": "waiting_payment",
    "createdAt": "2025-06-04 12:59:11",
    "approvedDate": null,
    "refundedAt": null,
    "customer": {
        "name": "Jo\u00e3o Souza Souza",
        "email": "joosouzasouza549@uol.com.br",
        "phone": null,
        "document": "85550452316",
        "country": "BR",
        "ip": "186.209.113.102"
    },
    "products": [
        {
            "id": "PROD_6506",
            "name": "produto",
            "planId": null,
            "planName": null,
            "quantity": 1,
            "priceInCents": 1753
        }
    ],
    "trackingParameters": {
        "src": null,
        "sck": null,
        "utm_source": "organicjLj682fceaf6301e556982fd47e",
        "utm_campaign": null,
        "utm_medium": null,
        "utm_content": null,
        "utm_term": null,
        "xcod": "organicjLj682fceaf6301e556982fd47ehQwK21wXxRhQwK21wXxRhQwK21wXxRhQwK21wXxR",
        "fbclid": null,
        "gclid": null,
        "ttclid": null
    },
    "commission": {
        "totalPriceInCents": 1753,
        "gatewayFeeInCents": 0,
        "userCommissionInCents": 1753
    },
    "isTest": false
}
----------------------------------------
[2025-06-04 12:59:11] 📡 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-04 12:59:11] ✅ Resposta da API Utmify
Dados: {
    "http_code": 200,
    "response": {
        "OK": true,
        "data": [],
        "result": "SUCCESS"
    }
}
----------------------------------------
