[2025-06-27 04:21:59] 📥 Dados recebidos do PayHubr
Dados: {
    "raw": "{\"orderId\":10470498,\"platform\":\"BlackCat\",\"paymentMethod\":\"pix\",\"status\":\"waiting_payment\",\"createdAt\":\"2025-06-27 01:21:59\",\"approvedDate\":null,\"refundedAt\":null,\"customer\":{\"name\":\"Clara Almeida Gomes\",\"email\":\"claraalmeidagomes401@outlook.com\",\"phone\":null,\"document\":\"43736276907\",\"country\":\"BR\",\"ip\":\"138.99.147.212\"},\"products\":[{\"id\":\"PROD_4251\",\"name\":\"produto\",\"planId\":null,\"planName\":null,\"quantity\":1,\"priceInCents\":5856}],\"trackingParameters\":{\"utm_source\":\"organicjLj6858c6279982778507868db1\"},\"commission\":{\"totalPriceInCents\":5856,\"gatewayFeeInCents\":0,\"userCommissionInCents\":5856},\"isTest\":false}"
}
----------------------------------------
[2025-06-27 04:21:59] 🔄 Processando dados recebidos
Dados: {
    "orderId": 10470498,
    "platform": "BlackCat",
    "paymentMethod": "pix",
    "status": "waiting_payment",
    "createdAt": "2025-06-27 01:21:59",
    "approvedDate": null,
    "refundedAt": null,
    "customer": {
        "name": "Clara Almeida Gomes",
        "email": "claraalmeidagomes401@outlook.com",
        "phone": null,
        "document": "43736276907",
        "country": "BR",
        "ip": "138.99.147.212"
    },
    "products": [
        {
            "id": "PROD_4251",
            "name": "produto",
            "planId": null,
            "planName": null,
            "quantity": 1,
            "priceInCents": 5856
        }
    ],
    "trackingParameters": {
        "utm_source": "organicjLj6858c6279982778507868db1"
    },
    "commission": {
        "totalPriceInCents": 5856,
        "gatewayFeeInCents": 0,
        "userCommissionInCents": 5856
    },
    "isTest": false
}
----------------------------------------
[2025-06-27 04:21:59] 📤 Dados formatados para Utmify
Dados: {
    "orderId": 10470498,
    "platform": "PayHubr",
    "paymentMethod": "pix",
    "status": "waiting_payment",
    "createdAt": "2025-06-27 04:21:59",
    "approvedDate": null,
    "refundedAt": null,
    "customer": {
        "name": "Clara Almeida Gomes",
        "email": "claraalmeidagomes401@outlook.com",
        "phone": null,
        "document": "43736276907",
        "country": "BR",
        "ip": "186.209.113.102"
    },
    "products": [
        {
            "id": "PROD_4251",
            "name": "produto",
            "planId": null,
            "planName": null,
            "quantity": 1,
            "priceInCents": 5856
        }
    ],
    "trackingParameters": {
        "src": null,
        "sck": null,
        "utm_source": "organicjLj6858c6279982778507868db1",
        "utm_campaign": null,
        "utm_medium": null,
        "utm_content": null,
        "utm_term": null,
        "xcod": null,
        "fbclid": null,
        "gclid": null,
        "ttclid": null
    },
    "commission": {
        "totalPriceInCents": 5856,
        "gatewayFeeInCents": 0,
        "userCommissionInCents": 5856
    },
    "isTest": false
}
----------------------------------------
[2025-06-27 04:21:59] 📡 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-27 04:21:59] ✅ Resposta da API Utmify
Dados: {
    "http_code": 200,
    "response": {
        "OK": true,
        "data": [],
        "result": "SUCCESS"
    }
}
----------------------------------------
[2025-06-27 04:28:43] 📥 Dados recebidos do PayHubr
Dados: {
    "raw": "{\"orderId\":10470556,\"platform\":\"BlackCat\",\"paymentMethod\":\"pix\",\"status\":\"waiting_payment\",\"createdAt\":\"2025-06-27 01:28:43\",\"approvedDate\":null,\"refundedAt\":null,\"customer\":{\"name\":\"Alice Souza Santos\",\"email\":\"alicesouzasantos976@hotmail.com\",\"phone\":null,\"document\":\"33661383868\",\"country\":\"BR\",\"ip\":\"138.99.147.212\"},\"products\":[{\"id\":\"PROD_9644\",\"name\":\"produto\",\"planId\":null,\"planName\":null,\"quantity\":1,\"priceInCents\":5856}],\"trackingParameters\":[],\"commission\":{\"totalPriceInCents\":5856,\"gatewayFeeInCents\":0,\"userCommissionInCents\":5856},\"isTest\":false}"
}
----------------------------------------
[2025-06-27 04:28:43] 🔄 Processando dados recebidos
Dados: {
    "orderId": 10470556,
    "platform": "BlackCat",
    "paymentMethod": "pix",
    "status": "waiting_payment",
    "createdAt": "2025-06-27 01:28:43",
    "approvedDate": null,
    "refundedAt": null,
    "customer": {
        "name": "Alice Souza Santos",
        "email": "alicesouzasantos976@hotmail.com",
        "phone": null,
        "document": "33661383868",
        "country": "BR",
        "ip": "138.99.147.212"
    },
    "products": [
        {
            "id": "PROD_9644",
            "name": "produto",
            "planId": null,
            "planName": null,
            "quantity": 1,
            "priceInCents": 5856
        }
    ],
    "trackingParameters": [],
    "commission": {
        "totalPriceInCents": 5856,
        "gatewayFeeInCents": 0,
        "userCommissionInCents": 5856
    },
    "isTest": false
}
----------------------------------------
[2025-06-27 04:28:43] 📤 Dados formatados para Utmify
Dados: {
    "orderId": 10470556,
    "platform": "PayHubr",
    "paymentMethod": "pix",
    "status": "waiting_payment",
    "createdAt": "2025-06-27 04:28:43",
    "approvedDate": null,
    "refundedAt": null,
    "customer": {
        "name": "Alice Souza Santos",
        "email": "alicesouzasantos976@hotmail.com",
        "phone": null,
        "document": "33661383868",
        "country": "BR",
        "ip": "186.209.113.102"
    },
    "products": [
        {
            "id": "PROD_9644",
            "name": "produto",
            "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": 0,
        "userCommissionInCents": 5856
    },
    "isTest": false
}
----------------------------------------
[2025-06-27 04:28:43] 📡 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-27 04:28:43] ✅ Resposta da API Utmify
Dados: {
    "http_code": 200,
    "response": {
        "OK": true,
        "data": [],
        "result": "SUCCESS"
    }
}
----------------------------------------
