
[18:11:19] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512221XBCEJPQ
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[18:11:19] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512221XBCEJPQ
    [shop_id] => 504113848
)

============================================================

[18:11:19] INFO: 🔗 URL da API construída
Array
(
    [url] => https://partner.shopeemobile.com/api/v2/order/get_order_detail?partner_id=2011429&timestamp=1767118279&access_token=eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc&shop_id=504113848&sign=9ec755321f8f4d4abe1074f778e99ffd83b91e91ebe45f37acab4487a0ebf88b&order_sn_list=2512221XBCEJPQ&response_optional_fields=buyer_user_id%2Cbuyer_username%2Cestimated_shipping_fee%2Crecipient_address%2Cactual_shipping_fee%2Cgoods_to_declare%2Cnote%2Cnote_update_time%2Citem_list%2Cpay_time%2Cdropshipper%2Ccredit_card_number%2Cdropshipper_phone%2Csplit_up%2Cbuyer_cancel_reason%2Ccancel_by%2Ccancel_reason%2Cactual_shipping_fee_confirmed%2Cbuyer_cpf_id%2Cfulfillment_flag%2Cpickup_done_time%2Cpackage_list%2Cshipping_carrier%2Cpayment_method%2Ctotal_amount%2Cbuyer_username%2Cinvoice_data%2Ccheckout_shipping_carrier%2Creverse_shipping_fee
    [base_string] => 2011429/api/v2/order/get_order_detail1767118279eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
)

============================================================

[18:24:50] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251218M8X5HE6U
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[18:24:50] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251218M8X5HE6U
    [shop_id] => 504113848
)

============================================================

[18:24:50] INFO: 🔗 URL da API construída
Array
(
    [url] => https://partner.shopeemobile.com/api/v2/order/get_order_detail?partner_id=2011429&timestamp=1767119090&access_token=eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc&shop_id=504113848&sign=34fb74222b9b7c206bf400ce7bbb4477de5f7f9d7ecc9e6e295a025cd6237cd4&order_sn_list=251218M8X5HE6U&response_optional_fields=buyer_user_id%2Cbuyer_username%2Cestimated_shipping_fee%2Crecipient_address%2Cactual_shipping_fee%2Cgoods_to_declare%2Cnote%2Cnote_update_time%2Citem_list%2Cpay_time%2Cdropshipper%2Ccredit_card_number%2Cdropshipper_phone%2Csplit_up%2Cbuyer_cancel_reason%2Ccancel_by%2Ccancel_reason%2Cactual_shipping_fee_confirmed%2Cbuyer_cpf_id%2Cfulfillment_flag%2Cpickup_done_time%2Cpackage_list%2Cshipping_carrier%2Cpayment_method%2Ctotal_amount%2Cbuyer_username%2Cinvoice_data%2Ccheckout_shipping_carrier%2Creverse_shipping_fee
    [base_string] => 2011429/api/v2/order/get_order_detail1767119090eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
)

============================================================

[18:24:50] INFO: ⏳ Executando cURL...
============================================================

[18:24:51] INFO: ✅ cURL executado
============================================================

[18:24:51] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"error_sign","message":"Wrong sign.","request_id":"e3e3e7f3472f79be6b463458ff849600"}
    [curl_error] => 
)

============================================================

[18:24:51] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251218M8X5HE6U
    [error] => API retornou HTTP 403: {"error":"error_sign","message":"Wrong sign.","request_id":"e3e3e7f3472f79be6b463458ff849600"}
)

============================================================

[18:24:51] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251218M8X5HE6U
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[18:45:28] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251226BNVUJYEK
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[18:45:28] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251226BNVUJYEK
    [shop_id] => 504113848
)

============================================================

[18:45:28] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767120328
    [base_string] => 2009491/api/v2/order/get_order_detail1767120328eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => ead3be3830e53f8c...
    [url_length] => 858
)

============================================================

[18:45:28] INFO: ⏳ Executando cURL...
============================================================

[18:45:29] INFO: ✅ cURL executado
============================================================

[18:45:29] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3472fc38516243e3fc42d1300"}
    [curl_error] => 
)

============================================================

[18:45:29] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251226BNVUJYEK
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3472fc38516243e3fc42d1300"}
)

============================================================

[18:45:29] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251226BNVUJYEK
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[18:46:10] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512221XBCEJPQ
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[18:46:10] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512221XBCEJPQ
    [shop_id] => 504113848
)

============================================================

[18:46:10] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767120370
    [base_string] => 2009491/api/v2/order/get_order_detail1767120370eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 23f3763743654b01...
    [url_length] => 858
)

============================================================

[18:46:10] INFO: ⏳ Executando cURL...
============================================================

[18:46:11] INFO: ✅ cURL executado
============================================================

[18:46:11] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3472fc6084eb5eb8e7afa2800"}
    [curl_error] => 
)

============================================================

[18:46:11] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 2512221XBCEJPQ
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3472fc6084eb5eb8e7afa2800"}
)

============================================================

[18:46:11] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 2512221XBCEJPQ
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[18:46:12] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251218M8X5HE6U
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[18:46:12] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251218M8X5HE6U
    [shop_id] => 504113848
)

============================================================

[18:46:12] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767120372
    [base_string] => 2009491/api/v2/order/get_order_detail1767120372eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => cdd1eb83a33ead79...
    [url_length] => 858
)

============================================================

[18:46:12] INFO: ⏳ Executando cURL...
============================================================

[18:46:12] INFO: ✅ cURL executado
============================================================

[18:46:12] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3472fc618d79cbd91dd96a600"}
    [curl_error] => 
)

============================================================

[18:46:12] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251218M8X5HE6U
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3472fc618d79cbd91dd96a600"}
)

============================================================

[18:46:12] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251218M8X5HE6U
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[18:46:13] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512126Y2PFFAW
    [seller_id] => 1408943514
    [user_id] => 1110
    [status] => COMPLETED
)

============================================================

[18:46:13] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512126Y2PFFAW
    [shop_id] => 1408943514
)

============================================================

[18:46:13] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 1408943514
    [timestamp] => 1767120373
    [base_string] => 2009491/api/v2/order/get_order_detail1767120373eyJhbGciOiJIUzI1NiJ9.CJPTehABGJqL658FIAEoyZHQygYwxvqnygo4AUAB.pMZDflg48ENPpkJ3DGOp6SZsTc0-zHDRtbWUPHZ9E-I1408943514
    [signature] => 1256aedf7a912ebd...
    [url_length] => 859
)

============================================================

[18:46:13] INFO: ⏳ Executando cURL...
============================================================

[18:46:14] INFO: ✅ cURL executado
============================================================

[18:46:14] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":25.07,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":654443574,"buyer_username":"tacianamorais","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1765540335,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":25.07,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"35251247638789000174550020000010141132512593","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rd5t-m7v3v8mrovgtf5_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":20998103575,"item_name":"Gel Solido Alongamento de Tips Transparente 1 Real Love 15ml","item_sku":"80542","main_item":false,"model_discounted_price":21.84,"model_id":0,"model_name":"","model_original_price":22.99,"model_quantity_purchased":2,"model_sku":"","order_item_id":20998103575,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":771101123067904,"promotion_list":[{"promotion_type":"platform_sale","promotion_id":771101123067904}],"promotion_type":"product_promotion_BR","weight":0.1,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"2512126Y2PFFAW","order_status":"COMPLETED","package_list":[{"package_number":"OFG219239535171120","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":20998103575,"model_id":0,"model_quantity":2,"order_item_id":20998103575,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":200,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1765540371,"payment_method":"Pix","pickup_done_time":1765547791,"recipient_address":{"name":"T******s","phone":"******42","town":"","district":"Rural","city":"Esperantina","state":"Piauí","region":"BR","zipcode":"64180000","full_address":"Ma******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1765594799,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":48.75,"update_time":1767119397}]},"request_id":"e3e3e7f3472fc62987437284fbfd0600:0100028dadf45aee:000000663b11c894"}
    [curl_error] => 
)

============================================================

[18:46:14] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 2512126Y2PFFAW
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[18:46:14] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 2512126Y2PFFAW
)

============================================================

[18:46:14] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PJ4KDNMY
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[18:46:14] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PJ4KDNMY
    [shop_id] => 504113848
)

============================================================

[18:46:14] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767120374
    [base_string] => 2009491/api/v2/order/get_order_detail1767120374eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 53cef750ca3388c1...
    [url_length] => 858
)

============================================================

[18:46:14] INFO: ⏳ Executando cURL...
============================================================

[18:46:15] INFO: ✅ cURL executado
============================================================

[18:46:15] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3472fc6421dcc09633091ea00"}
    [curl_error] => 
)

============================================================

[18:46:15] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251219PJ4KDNMY
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3472fc6421dcc09633091ea00"}
)

============================================================

[18:46:15] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251219PJ4KDNMY
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[18:55:41] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251218M8X5HE6U
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[18:55:41] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251218M8X5HE6U
    [shop_id] => 504113848
)

============================================================

[18:55:41] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767120941
    [base_string] => 2009491/api/v2/order/get_order_detail1767120941eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => f37f2cda16e24058...
    [url_length] => 858
)

============================================================

[18:55:41] INFO: ⏳ Executando cURL...
============================================================

[18:55:50] INFO: ✅ cURL executado
============================================================

[18:55:50] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3472fe880a49a491573770900"}
    [curl_error] => 
)

============================================================

[18:55:50] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251218M8X5HE6U
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3472fe880a49a491573770900"}
)

============================================================

[18:55:50] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251218M8X5HE6U
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[18:55:50] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512126Y2PFFAW
    [seller_id] => 1408943514
    [user_id] => 1110
    [status] => COMPLETED
)

============================================================

[18:55:50] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512126Y2PFFAW
    [shop_id] => 1408943514
)

============================================================

[18:55:50] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 1408943514
    [timestamp] => 1767120950
    [base_string] => 2009491/api/v2/order/get_order_detail1767120950eyJhbGciOiJIUzI1NiJ9.CJPTehABGJqL658FIAEoyZHQygYwxvqnygo4AUAB.pMZDflg48ENPpkJ3DGOp6SZsTc0-zHDRtbWUPHZ9E-I1408943514
    [signature] => 1a1958b68915a055...
    [url_length] => 859
)

============================================================

[18:55:50] INFO: ⏳ Executando cURL...
============================================================

[18:55:51] INFO: ✅ cURL executado
============================================================

[18:55:51] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":25.07,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":654443574,"buyer_username":"tacianamorais","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1765540335,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":25.07,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"35251247638789000174550020000010141132512593","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rd5t-m7v3v8mrovgtf5_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":20998103575,"item_name":"Gel Solido Alongamento de Tips Transparente 1 Real Love 15ml","item_sku":"80542","main_item":false,"model_discounted_price":21.84,"model_id":0,"model_name":"","model_original_price":22.99,"model_quantity_purchased":2,"model_sku":"","order_item_id":20998103575,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":771101123067904,"promotion_list":[{"promotion_type":"platform_sale","promotion_id":771101123067904}],"promotion_type":"product_promotion_BR","weight":0.1,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"2512126Y2PFFAW","order_status":"COMPLETED","package_list":[{"package_number":"OFG219239535171120","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":20998103575,"model_id":0,"model_quantity":2,"order_item_id":20998103575,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":200,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1765540371,"payment_method":"Pix","pickup_done_time":1765547791,"recipient_address":{"name":"T******s","phone":"******42","town":"","district":"Rural","city":"Esperantina","state":"Piauí","region":"BR","zipcode":"64180000","full_address":"Ma******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1765594799,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":48.75,"update_time":1767119397}]},"request_id":"e3e3e7f3472fe89195ac0fcb0261d600:010002a42f2902ed:000000d80ad3ccc2"}
    [curl_error] => 
)

============================================================

[18:55:51] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 2512126Y2PFFAW
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[18:55:51] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 2512126Y2PFFAW
)

============================================================

[18:55:51] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251217JHKTCX72
    [seller_id] => 675930217
    [user_id] => 27
    [status] => COMPLETED
)

============================================================

[18:55:51] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251217JHKTCX72
    [shop_id] => 675930217
)

============================================================

[18:55:51] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 675930217
    [timestamp] => 1767120951
    [base_string] => 2009491/api/v2/order/get_order_detail1767120951eyJhbGciOiJIUzI1NiJ9.CJPTehABGOnAp8ICIAEo7OzPygYwtNyyug84AUAB.PXTztfKUjXXm2ZFTOKIzFege3NxPmt21MYjyBBr3sUA675930217
    [signature] => 7ced8a0080452b9e...
    [url_length] => 858
)

============================================================

[18:55:51] INFO: ⏳ Executando cURL...
============================================================

[18:56:00] INFO: ✅ cURL executado
============================================================

[18:56:00] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":10.83,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":401524391,"buyer_username":"daysamarcattodesousa","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress CPF","cod":false,"create_time":1765938195,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":10.83,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/br-11134207-81z1k-mi5dqwgb63uqa8_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":22994677017,"item_name":"Kit de Esmaltes Infantil Magical Phantasy Unicórnio Gliter Brilho e Magia Hipoalergenico","item_sku":"DPX6438278502","main_item":false,"model_discounted_price":36,"model_id":0,"model_name":"","model_original_price":45.9,"model_quantity_purchased":1,"model_sku":"","order_item_id":22994677017,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":801602756083712}],"promotion_type":"","weight":0.2,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251217JHKTCX72","order_status":"COMPLETED","package_list":[{"package_number":"OFG219637395115114","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress CPF","item_list":[{"item_id":22994677017,"model_id":0,"model_quantity":1,"order_item_id":22994677017,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":434,"allow_self_design_awb":true,"logistics_channel_id":90016,"sorting_group":""}],"pay_time":1765938201,"payment_method":"Credit Card","pickup_done_time":1765997742,"recipient_address":{"name":"D****** ","phone":"******91","town":"","district":"Zona III","city":"Umuarama","state":"Paraná","region":"BR","zipcode":"87502180","full_address":"R ******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766026799,"shipping_carrier":"Shopee Xpress CPF","split_up":false,"total_amount":35.28,"update_time":1767119597}]},"request_id":"e3e3e7f3472fe91582ec103215f6a500:0100024345ff5dba:000000e7bb0c4d55"}
    [curl_error] => 
)

============================================================

[18:56:00] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251217JHKTCX72
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[18:56:00] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251217JHKTCX72
)

============================================================

[18:56:00] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219RJRGVTYA
    [seller_id] => 1603130895
    [user_id] => 156
    [status] => COMPLETED
)

============================================================

[18:56:00] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219RJRGVTYA
    [shop_id] => 1603130895
)

============================================================

[18:56:00] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 1603130895
    [timestamp] => 1767120960
    [base_string] => 2009491/api/v2/order/get_order_detail1767120960eyJhbGciOiJIUzI1NiJ9.CJPTehABGI-st_wFIAEo4ejPygYw3pyzqgo4AUAB.kxXNrCSyWUgTIOXzElySNKchvsYkz9vwcjizeIGylPw1603130895
    [signature] => 334764de1dd9a61b...
    [url_length] => 859
)

============================================================

[18:56:00] INFO: ⏳ Executando cURL...
============================================================

[18:56:01] INFO: ✅ cURL executado
============================================================

[18:56:01] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":9.62,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":501749504,"buyer_username":"laiscristinamakeup","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress CPF","cod":false,"create_time":1766145584,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":9.62,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/br-11134207-81z1k-mhuvrmvjwf7mc6_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23499187237,"item_name":"Kit de Esmaltes Infantil Glitter Magical Phantasy  Brilho e Magia","item_sku":"DPX6438278502","main_item":false,"model_discounted_price":34,"model_id":0,"model_name":"","model_original_price":39.5,"model_quantity_purchased":1,"model_sku":"","order_item_id":23499187237,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":790815173952512}],"promotion_type":"","weight":0.2,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251219RJRGVTYA","order_status":"COMPLETED","package_list":[{"package_number":"OFG219844784182098","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress CPF","item_list":[{"item_id":23499187237,"model_id":0,"model_quantity":1,"order_item_id":23499187237,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":434,"allow_self_design_awb":true,"logistics_channel_id":90016,"sorting_group":""}],"pay_time":1766145594,"payment_method":"Credit Card","pickup_done_time":1766163440,"recipient_address":{"name":"L******o","phone":"******15","town":"","district":"Jardim Mercedes","city":"São Carlos","state":"São Paulo","region":"BR","zipcode":"13570501","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766199599,"shipping_carrier":"Shopee Xpress CPF","split_up":false,"total_amount":34,"update_time":1767119635}]},"request_id":"e3e3e7f3472fe92bacc0f828ed3c7c00:0100028539fcb448:000000d47a1d3ef0"}
    [curl_error] => 
)

============================================================

[18:56:01] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251219RJRGVTYA
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[18:56:01] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251219RJRGVTYA
)

============================================================

[18:56:01] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251226C2C31JCN
    [seller_id] => 861037471
    [user_id] => 41
    [status] => COMPLETED
)

============================================================

[18:56:01] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251226C2C31JCN
    [shop_id] => 861037471
)

============================================================

[18:56:01] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 861037471
    [timestamp] => 1767120961
    [base_string] => 2009491/api/v2/order/get_order_detail1767120961eyJhbGciOiJIUzI1NiJ9.CJPTehABGJ_HyZoDIAEopN6qygYwnJX-nQ04AUAB.0grNiX5R8DRvPJT21ZJCdTH4D7c1JSUWRtC_6lcvOKk861037471
    [signature] => 9e4900754878a436...
    [url_length] => 858
)

============================================================

[18:56:01] INFO: ⏳ Executando cURL...
============================================================

[18:56:02] INFO: ✅ cURL executado
============================================================

[18:56:02] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3472fe940cd216b028ed32c00"}
    [curl_error] => 
)

============================================================

[18:56:02] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251226C2C31JCN
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3472fe940cd216b028ed32c00"}
)

============================================================

[18:56:02] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251226C2C31JCN
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[18:56:02] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PJ4KDNMY
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[18:56:02] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PJ4KDNMY
    [shop_id] => 504113848
)

============================================================

[18:56:02] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767120962
    [base_string] => 2009491/api/v2/order/get_order_detail1767120962eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 9c5393a6a2807732...
    [url_length] => 858
)

============================================================

[18:56:02] INFO: ⏳ Executando cURL...
============================================================

[18:56:03] INFO: ✅ cURL executado
============================================================

[18:56:03] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3472fe951f7a45be533c8f600"}
    [curl_error] => 
)

============================================================

[18:56:03] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251219PJ4KDNMY
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3472fe951f7a45be533c8f600"}
)

============================================================

[18:56:03] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251219PJ4KDNMY
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[18:56:04] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251226BNVUJYEK
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[18:56:04] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251226BNVUJYEK
    [shop_id] => 504113848
)

============================================================

[18:56:04] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767120964
    [base_string] => 2009491/api/v2/order/get_order_detail1767120964eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 7c992e63b0df7a42...
    [url_length] => 858
)

============================================================

[18:56:04] INFO: ⏳ Executando cURL...
============================================================

[18:56:05] INFO: ✅ cURL executado
============================================================

[18:56:05] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3472fe962b8a8594606f75700"}
    [curl_error] => 
)

============================================================

[18:56:05] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251226BNVUJYEK
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3472fe962b8a8594606f75700"}
)

============================================================

[18:56:05] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251226BNVUJYEK
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[18:56:05] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512246NEAVJFD
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[18:56:05] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512246NEAVJFD
    [shop_id] => 504113848
)

============================================================

[18:56:05] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767120965
    [base_string] => 2009491/api/v2/order/get_order_detail1767120965eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 9cb36329ca50d3d9...
    [url_length] => 858
)

============================================================

[18:56:05] INFO: ⏳ Executando cURL...
============================================================

[18:56:06] INFO: ✅ cURL executado
============================================================

[18:56:06] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3472fe973e205c5bd21296e00"}
    [curl_error] => 
)

============================================================

[18:56:06] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 2512246NEAVJFD
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3472fe973e205c5bd21296e00"}
)

============================================================

[18:56:06] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 2512246NEAVJFD
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:04:11] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PW8RS3FP
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:04:11] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PW8RS3FP
    [shop_id] => 504113848
)

============================================================

[19:04:11] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767121451
    [base_string] => 2009491/api/v2/order/get_order_detail1767121451eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 78707fdc47a3ddd9...
    [url_length] => 858
)

============================================================

[19:04:11] INFO: ⏳ Executando cURL...
============================================================

[19:04:12] INFO: ✅ cURL executado
============================================================

[19:04:12] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730066d8e965c1fbe2c9800"}
    [curl_error] => 
)

============================================================

[19:04:12] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251219PW8RS3FP
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730066d8e965c1fbe2c9800"}
)

============================================================

[19:04:12] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251219PW8RS3FP
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:04:12] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251215CREKQUTN
    [seller_id] => 861037471
    [user_id] => 41
    [status] => COMPLETED
)

============================================================

[19:04:12] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251215CREKQUTN
    [shop_id] => 861037471
)

============================================================

[19:04:12] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 861037471
    [timestamp] => 1767121452
    [base_string] => 2009491/api/v2/order/get_order_detail1767121452eyJhbGciOiJIUzI1NiJ9.CJPTehABGJ_HyZoDIAEopN6qygYwnJX-nQ04AUAB.0grNiX5R8DRvPJT21ZJCdTH4D7c1JSUWRtC_6lcvOKk861037471
    [signature] => 0e013c85650cc890...
    [url_length] => 858
)

============================================================

[19:04:12] INFO: ⏳ Executando cURL...
============================================================

[19:04:13] INFO: ✅ cURL executado
============================================================

[19:04:13] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730067e6d2c08ff34e76a00"}
    [curl_error] => 
)

============================================================

[19:04:13] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251215CREKQUTN
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730067e6d2c08ff34e76a00"}
)

============================================================

[19:04:13] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251215CREKQUTN
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:04:13] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PM0UQEEM
    [seller_id] => 314867163
    [user_id] => 75
    [status] => COMPLETED
)

============================================================

[19:04:13] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PM0UQEEM
    [shop_id] => 314867163
)

============================================================

[19:04:13] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 314867163
    [timestamp] => 1767121453
    [base_string] => 2009491/api/v2/order/get_order_detail1767121453eyJhbGciOiJIUzI1NiJ9.CJPTehABGNv7kZYBIAEo88fJygYwi4WT7A44AUAB.hbIqZrgSbaj9Jrh1TsqCdo3iiAA7DQuFUNR9MqROYb4314867163
    [signature] => 17c407c892b75938...
    [url_length] => 858
)

============================================================

[19:04:13] INFO: ⏳ Executando cURL...
============================================================

[19:04:14] INFO: ✅ cURL executado
============================================================

[19:04:14] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730068f7cffdcaa3dc73500"}
    [curl_error] => 
)

============================================================

[19:04:14] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251219PM0UQEEM
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730068f7cffdcaa3dc73500"}
)

============================================================

[19:04:14] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251219PM0UQEEM
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:04:14] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PPYBSWM8
    [seller_id] => 392561929
    [user_id] => 554
    [status] => COMPLETED
)

============================================================

[19:04:14] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PPYBSWM8
    [shop_id] => 392561929
)

============================================================

[19:04:14] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 392561929
    [timestamp] => 1767121454
    [base_string] => 2009491/api/v2/order/get_order_detail1767121454eyJhbGciOiJIUzI1NiJ9.CJPTehABGImKmLsBIAEoieOXygYw3MeFhAk4AUAB.L8W21NJNua_briVHRX-PrIWjSRxhrfNgVrKljxSSQF8392561929
    [signature] => 70c229fdc64a8c36...
    [url_length] => 858
)

============================================================

[19:04:14] INFO: ⏳ Executando cURL...
============================================================

[19:04:15] INFO: ✅ cURL executado
============================================================

[19:04:15] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473006a08f542032fd123000"}
    [curl_error] => 
)

============================================================

[19:04:15] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251219PPYBSWM8
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473006a08f542032fd123000"}
)

============================================================

[19:04:15] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251219PPYBSWM8
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:04:15] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PTFEJYD8
    [seller_id] => 675930217
    [user_id] => 27
    [status] => COMPLETED
)

============================================================

[19:04:15] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PTFEJYD8
    [shop_id] => 675930217
)

============================================================

[19:04:15] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 675930217
    [timestamp] => 1767121455
    [base_string] => 2009491/api/v2/order/get_order_detail1767121455eyJhbGciOiJIUzI1NiJ9.CJPTehABGOnAp8ICIAEo7OzPygYwtNyyug84AUAB.PXTztfKUjXXm2ZFTOKIzFege3NxPmt21MYjyBBr3sUA675930217
    [signature] => 7afe68f53f5182c8...
    [url_length] => 858
)

============================================================

[19:04:15] INFO: ⏳ Executando cURL...
============================================================

[19:04:17] INFO: ✅ cURL executado
============================================================

[19:04:17] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":12.04,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":639492191,"buyer_username":"talitacintra531","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress CPF","cod":false,"create_time":1766085150,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":12.04,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/br-11134207-81z1k-mi5dqwgb63uqa8_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":22994677017,"item_name":"Kit de Esmaltes Infantil Magical Phantasy Unicórnio Gliter Brilho e Magia Hipoalergenico","item_sku":"DPX6438278502","main_item":false,"model_discounted_price":36,"model_id":0,"model_name":"","model_original_price":45.9,"model_quantity_purchased":1,"model_sku":"","order_item_id":22994677017,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":801602756083712}],"promotion_type":"","weight":0.2,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251219PTFEJYD8","order_status":"COMPLETED","package_list":[{"package_number":"OFG219784350134248","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress CPF","item_list":[{"item_id":22994677017,"model_id":0,"model_quantity":1,"order_item_id":22994677017,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":434,"allow_self_design_awb":true,"logistics_channel_id":90016,"sorting_group":""}],"pay_time":1766085294,"payment_method":"Pix","pickup_done_time":1766163440,"recipient_address":{"name":"T******a","phone":"******35","town":"","district":"Paraíso","city":"Uberaba","state":"Minas Gerais","region":"BR","zipcode":"38082350","full_address":"Av******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766199599,"shipping_carrier":"Shopee Xpress CPF","split_up":false,"total_amount":41.3,"update_time":1767115783}]},"request_id":"e3e3e7f3473006b1febd6bf634119200:010002606a0e2c69:00000073642c5016"}
    [curl_error] => 
)

============================================================

[19:04:17] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251219PTFEJYD8
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[19:04:17] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251219PTFEJYD8
)

============================================================

[19:04:17] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251220UGDTU7D3
    [seller_id] => 1383494453
    [user_id] => 72
    [status] => COMPLETED
)

============================================================

[19:04:17] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251220UGDTU7D3
    [shop_id] => 1383494453
)

============================================================

[19:04:17] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 1383494453
    [timestamp] => 1767121457
    [base_string] => 2009491/api/v2/order/get_order_detail1767121457eyJhbGciOiJIUzI1NiJ9.CJPTehABGLXm2ZMFIAEoj9emygYwqNKewQs4AUAB.3u-psO3gVCnOcUaqbtvxXB0P71p13-xxcBKTwoqI5ZE1383494453
    [signature] => 37de35e2c586e0dc...
    [url_length] => 859
)

============================================================

[19:04:17] INFO: ⏳ Executando cURL...
============================================================

[19:04:18] INFO: ✅ cURL executado
============================================================

[19:04:18] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473006c74a8a018c0456c900"}
    [curl_error] => 
)

============================================================

[19:04:18] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251220UGDTU7D3
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473006c74a8a018c0456c900"}
)

============================================================

[19:04:18] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251220UGDTU7D3
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:04:18] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512259F6BG77W
    [seller_id] => 861037471
    [user_id] => 41
    [status] => COMPLETED
)

============================================================

[19:04:18] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512259F6BG77W
    [shop_id] => 861037471
)

============================================================

[19:04:18] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 861037471
    [timestamp] => 1767121458
    [base_string] => 2009491/api/v2/order/get_order_detail1767121458eyJhbGciOiJIUzI1NiJ9.CJPTehABGJ_HyZoDIAEopN6qygYwnJX-nQ04AUAB.0grNiX5R8DRvPJT21ZJCdTH4D7c1JSUWRtC_6lcvOKk861037471
    [signature] => 935899a6a7520fc1...
    [url_length] => 858
)

============================================================

[19:04:18] INFO: ⏳ Executando cURL...
============================================================

[19:04:19] INFO: ✅ cURL executado
============================================================

[19:04:19] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473006d80948c7211b900e00"}
    [curl_error] => 
)

============================================================

[19:04:19] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 2512259F6BG77W
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473006d80948c7211b900e00"}
)

============================================================

[19:04:19] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 2512259F6BG77W
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:04:19] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251226BHUU578H
    [seller_id] => 544960064
    [user_id] => 144
    [status] => COMPLETED
)

============================================================

[19:04:19] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251226BHUU578H
    [shop_id] => 544960064
)

============================================================

[19:04:19] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 544960064
    [timestamp] => 1767121459
    [base_string] => 2009491/api/v2/order/get_order_detail1767121459eyJhbGciOiJIUzI1NiJ9.CJPTehABGMDc7YMCIAEotevPygYww-rDqQI4AUAB.6myWPLGj7vcNZ9osqdJJXLWRDISbDC9DqrXvqVs7Hq4544960064
    [signature] => df8aebe8a3a7bb84...
    [url_length] => 858
)

============================================================

[19:04:19] INFO: ⏳ Executando cURL...
============================================================

[19:04:20] INFO: ✅ cURL executado
============================================================

[19:04:20] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":12.04,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":586466951,"buyer_username":"jairdesouza106","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress CPF","cod":false,"create_time":1766697945,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":12.04,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-822x4-mhwenyw2snib7d_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":58251560932,"item_name":"Kit 4 Banquetas Dobráveis Retrátil PRETA Metal Reforçado | Banco Portátil 32cm Pesca Camping Show | Leve","item_sku":"DPX5667338693","main_item":false,"model_discounted_price":43.92,"model_id":0,"model_name":"","model_original_price":62.75,"model_quantity_purchased":1,"model_sku":"","order_item_id":58251560932,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":221118439047168,"promotion_list":[{"promotion_type":"in_shop_flash_sale","promotion_id":221118439047168}],"promotion_type":"flash_sale","weight":0.2,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251226BHUU578H","order_status":"COMPLETED","package_list":[{"package_number":"OFG220397146112946","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress CPF","item_list":[{"item_id":58251560932,"model_id":0,"model_quantity":1,"order_item_id":58251560932,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":834,"allow_self_design_awb":true,"logistics_channel_id":90016,"sorting_group":""}],"pay_time":1766697954,"payment_method":"Credit Card","pickup_done_time":1766773640,"recipient_address":{"name":"J**r","phone":"******69","town":"","district":"Santa rita","city":"Três de Maio","state":"Rio Grande do Sul","region":"BR","zipcode":"98910000","full_address":"Mo******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766804399,"shipping_carrier":"Shopee Xpress CPF","split_up":false,"total_amount":46.33,"update_time":1767118722}]},"request_id":"e3e3e7f3473006e92332eedee95a6300:0100026888b7503a:0000009f979b0002"}
    [curl_error] => 
)

============================================================

[19:04:20] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251226BHUU578H
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[19:04:20] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251226BHUU578H
)

============================================================

[19:04:21] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251217KTKU04PJ
    [seller_id] => 852006270
    [user_id] => 132
    [status] => COMPLETED
)

============================================================

[19:04:21] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251217KTKU04PJ
    [shop_id] => 852006270
)

============================================================

[19:04:21] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 852006270
    [timestamp] => 1767121461
    [base_string] => 2009491/api/v2/order/get_order_detail1767121461eyJhbGciOiJIUzI1NiJ9.CJPTehABGP6qopYDIAEohsPQygYwvLn2lww4AUAB.oI2Al_9RQ5H3x0MawjJRmwHp8dz0KuI9gnI3mlPKCvY852006270
    [signature] => 9d264ae69479a82c...
    [url_length] => 858
)

============================================================

[19:04:21] INFO: ⏳ Executando cURL...
============================================================

[19:04:22] INFO: ✅ cURL executado
============================================================

[19:04:22] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":22.65,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1675744866,"buyer_username":"09sl54dhp1","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress CPF","cod":false,"create_time":1765982219,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":22.65,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-824ik-meqcetb2bthi67_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":22994410121,"item_name":"Kit De Beleza Infantil  Mechas Coloridas Para O Cabelo","item_sku":"DPX1739881853","main_item":false,"model_discounted_price":38.54,"model_id":0,"model_name":"","model_original_price":41,"model_quantity_purchased":1,"model_sku":"","order_item_id":22994410121,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":800261988089856}],"promotion_type":"","weight":1,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251217KTKU04PJ","order_status":"COMPLETED","package_list":[{"package_number":"OFG219681419146027","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress CPF","item_list":[{"item_id":22994410121,"model_id":0,"model_quantity":1,"order_item_id":22994410121,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":1000,"allow_self_design_awb":true,"logistics_channel_id":90016,"sorting_group":""}],"pay_time":1765982417,"payment_method":"Pix","pickup_done_time":1765997742,"recipient_address":{"name":"W******a","phone":"******10","town":"","district":"Tapanã (Icoaraci)","city":"Belém","state":"Pará","region":"BR","zipcode":"66833000","full_address":"Ro******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766113199,"shipping_carrier":"Shopee Xpress CPF","split_up":false,"total_amount":39.69,"update_time":1767118989}]},"request_id":"e3e3e7f3473007024691393603f4b400:0100029f5a22633b:000000e4189f1a1b"}
    [curl_error] => 
)

============================================================

[19:04:22] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251217KTKU04PJ
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[19:04:22] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251217KTKU04PJ
)

============================================================

[19:04:22] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251218M8X5HE6U
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:04:22] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251218M8X5HE6U
    [shop_id] => 504113848
)

============================================================

[19:04:22] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767121462
    [base_string] => 2009491/api/v2/order/get_order_detail1767121462eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => cf38c4b31bd80a15...
    [url_length] => 858
)

============================================================

[19:04:22] INFO: ⏳ Executando cURL...
============================================================

[19:04:23] INFO: ✅ cURL executado
============================================================

[19:04:23] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347300717be3578a3db211a00"}
    [curl_error] => 
)

============================================================

[19:04:23] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251218M8X5HE6U
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347300717be3578a3db211a00"}
)

============================================================

[19:04:23] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251218M8X5HE6U
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:05:28] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512235XEHM7XQ
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:05:28] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512235XEHM7XQ
    [shop_id] => 504113848
)

============================================================

[19:05:28] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767121528
    [base_string] => 2009491/api/v2/order/get_order_detail1767121528eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => ba8f7e0d4a1f6fdb...
    [url_length] => 858
)

============================================================

[19:05:28] INFO: ⏳ Executando cURL...
============================================================

[19:05:29] INFO: ✅ cURL executado
============================================================

[19:05:29] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347300b08981a44185f1c4300"}
    [curl_error] => 
)

============================================================

[19:05:29] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 2512235XEHM7XQ
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347300b08981a44185f1c4300"}
)

============================================================

[19:05:29] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 2512235XEHM7XQ
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:06:04] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251207PBV8TRSJ
    [seller_id] => 526192906
    [user_id] => 46
    [status] => COMPLETED
)

============================================================

[19:06:04] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251207PBV8TRSJ
    [shop_id] => 526192906
)

============================================================

[19:06:04] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 526192906
    [timestamp] => 1767121564
    [base_string] => 2009491/api/v2/order/get_order_detail1767121564eyJhbGciOiJIUzI1NiJ9.CJPTehABGIqi9PoBIAEohMXQygYwpuDL-wI4AUAB.c_XLnaWJYfDobUI4pDzJNihHhFYM4y1AYAA1cXzE1EE526192906
    [signature] => c2208ed372645de0...
    [url_length] => 858
)

============================================================

[19:06:04] INFO: ⏳ Executando cURL...
============================================================

[19:06:05] INFO: ✅ cURL executado
============================================================

[19:06:05] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":23.87,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1594863974,"buyer_username":"c0y4grgdp8","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress CPF","cod":false,"create_time":1765069475,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":23.87,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/br-11134207-81z1k-mg9fuf8jls055a_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23294387452,"item_name":"Escova Secadora Elétrica 3 Em 1 Profissional Alisa Seca 110V","item_sku":"DPX5060390289","main_item":false,"model_discounted_price":139.95,"model_id":0,"model_name":"","model_original_price":139.95,"model_quantity_purchased":1,"model_sku":"","order_item_id":23294387452,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_type":"","weight":1,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251207PBV8TRSJ","order_status":"COMPLETED","package_list":[{"package_number":"OFG218768675137415","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress CPF","item_list":[{"item_id":23294387452,"model_id":0,"model_quantity":1,"order_item_id":23294387452,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":1000,"allow_self_design_awb":true,"logistics_channel_id":90016,"sorting_group":""}],"pay_time":1765069694,"payment_method":"Pix","pickup_done_time":1765229640,"recipient_address":{"name":"M******o","phone":"******73","town":"","district":"Centro","city":"Santo Antônio","state":"Rio Grande do Norte","region":"BR","zipcode":"59255000","full_address":"Ma******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1765249199,"shipping_carrier":"Shopee Xpress CPF","split_up":false,"total_amount":163.82,"update_time":1767121269}]},"request_id":"e3e3e7f347300d2f94ef5fc911885c00:010002214ca1fafc:0000009587dc187e"}
    [curl_error] => 
)

============================================================

[19:06:05] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251207PBV8TRSJ
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[19:06:05] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251207PBV8TRSJ
)

============================================================

[19:06:22] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251220SDK0FF0A
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:06:22] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251220SDK0FF0A
    [shop_id] => 504113848
)

============================================================

[19:06:22] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767121582
    [base_string] => 2009491/api/v2/order/get_order_detail1767121582eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 1b97a405a18b695d...
    [url_length] => 858
)

============================================================

[19:06:22] INFO: ⏳ Executando cURL...
============================================================

[19:06:23] INFO: ✅ cURL executado
============================================================

[19:06:23] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347300e461b8d26b014925a00"}
    [curl_error] => 
)

============================================================

[19:06:23] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251220SDK0FF0A
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347300e461b8d26b014925a00"}
)

============================================================

[19:06:23] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251220SDK0FF0A
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:10:34] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512235XEHM7XQ
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:10:34] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512235XEHM7XQ
    [shop_id] => 504113848
)

============================================================

[19:10:34] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767121834
    [base_string] => 2009491/api/v2/order/get_order_detail1767121834eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 17510f9ea2ec98c1...
    [url_length] => 858
)

============================================================

[19:10:34] INFO: ⏳ Executando cURL...
============================================================

[19:10:38] INFO: ✅ cURL executado
============================================================

[19:10:38] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347301d6d3a8f05e419395c00"}
    [curl_error] => 
)

============================================================

[19:10:38] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 2512235XEHM7XQ
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347301d6d3a8f05e419395c00"}
)

============================================================

[19:10:38] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 2512235XEHM7XQ
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:11:13] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PTFEJYD8
    [seller_id] => 675930217
    [user_id] => 27
    [status] => COMPLETED
)

============================================================

[19:11:13] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PTFEJYD8
    [shop_id] => 675930217
)

============================================================

[19:11:13] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 675930217
    [timestamp] => 1767121873
    [base_string] => 2009491/api/v2/order/get_order_detail1767121873eyJhbGciOiJIUzI1NiJ9.CJPTehABGOnAp8ICIAEo7OzPygYwtNyyug84AUAB.PXTztfKUjXXm2ZFTOKIzFege3NxPmt21MYjyBBr3sUA675930217
    [signature] => 6292375ca9a8afcb...
    [url_length] => 858
)

============================================================

[19:11:13] INFO: ⏳ Executando cURL...
============================================================

[19:11:14] INFO: ✅ cURL executado
============================================================

[19:11:14] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":12.04,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":639492191,"buyer_username":"talitacintra531","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress CPF","cod":false,"create_time":1766085150,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":12.04,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/br-11134207-81z1k-mi5dqwgb63uqa8_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":22994677017,"item_name":"Kit de Esmaltes Infantil Magical Phantasy Unicórnio Gliter Brilho e Magia Hipoalergenico","item_sku":"DPX6438278502","main_item":false,"model_discounted_price":36,"model_id":0,"model_name":"","model_original_price":45.9,"model_quantity_purchased":1,"model_sku":"","order_item_id":22994677017,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":801602756083712}],"promotion_type":"","weight":0.2,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251219PTFEJYD8","order_status":"COMPLETED","package_list":[{"package_number":"OFG219784350134248","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress CPF","item_list":[{"item_id":22994677017,"model_id":0,"model_quantity":1,"order_item_id":22994677017,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":434,"allow_self_design_awb":true,"logistics_channel_id":90016,"sorting_group":""}],"pay_time":1766085294,"payment_method":"Pix","pickup_done_time":1766163440,"recipient_address":{"name":"T******a","phone":"******35","town":"","district":"Paraíso","city":"Uberaba","state":"Minas Gerais","region":"BR","zipcode":"38082350","full_address":"Av******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766199599,"shipping_carrier":"Shopee Xpress CPF","split_up":false,"total_amount":41.3,"update_time":1767115783}]},"request_id":"e3e3e7f347301f94531a7040cbbd4700:01000241c63b85f5:00000008a9f072fe"}
    [curl_error] => 
)

============================================================

[19:11:14] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251219PTFEJYD8
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[19:11:14] INFO: ⚠️ Venda já existe no banco
Array
(
    [order_sn] => 251219PTFEJYD8
)

============================================================

[19:11:49] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251220SDK0FF0A
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:11:49] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251220SDK0FF0A
    [shop_id] => 504113848
)

============================================================

[19:11:49] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767121909
    [base_string] => 2009491/api/v2/order/get_order_detail1767121909eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 4a4175487f730482...
    [url_length] => 858
)

============================================================

[19:11:49] INFO: ⏳ Executando cURL...
============================================================

[19:11:50] INFO: ✅ cURL executado
============================================================

[19:11:50] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473021c2a770bffd2f2f7f00"}
    [curl_error] => 
)

============================================================

[19:11:50] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251220SDK0FF0A
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473021c2a770bffd2f2f7f00"}
)

============================================================

[19:11:50] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251220SDK0FF0A
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:11:50] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 25122475T3MHNT
    [seller_id] => 796461485
    [user_id] => 581
    [status] => COMPLETED
)

============================================================

[19:11:50] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 25122475T3MHNT
    [shop_id] => 796461485
)

============================================================

[19:11:50] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 796461485
    [timestamp] => 1767121910
    [base_string] => 2009491/api/v2/order/get_order_detail1767121910eyJhbGciOiJIUzI1NiJ9.CJPTehABGK2T5PsCIAEo4biXygYwjpqauQo4AUAB.Yyb17c6rIPthIfidV4A-RGpR-bCcwhJW4ioJWoX_KF0796461485
    [signature] => 990392ceb835cf36...
    [url_length] => 858
)

============================================================

[19:11:50] INFO: ⏳ Executando cURL...
============================================================

[19:11:51] INFO: ✅ cURL executado
============================================================

[19:11:51] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473021d3b48595ce0dba6800"}
    [curl_error] => 
)

============================================================

[19:11:51] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 25122475T3MHNT
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473021d3b48595ce0dba6800"}
)

============================================================

[19:11:51] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 25122475T3MHNT
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:13:57] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512233YSCF48K
    [seller_id] => 239780418
    [user_id] => 184
    [status] => COMPLETED
)

============================================================

[19:13:57] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512233YSCF48K
    [shop_id] => 239780418
)

============================================================

[19:13:57] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 239780418
    [timestamp] => 1767122037
    [base_string] => 2009491/api/v2/order/get_order_detail1767122037eyJhbGciOiJIUzI1NiJ9.CJPTehABGMKEq3IgASjhw9DKBjCWuIrQBDgBQAE.nXSJiper8EiG0fLqKArfFvlu02W-akm_1D49eq8RvYk239780418
    [signature] => d43d6a8232a03516...
    [url_length] => 857
)

============================================================

[19:13:57] INFO: ⏳ Executando cURL...
============================================================

[19:13:58] INFO: ✅ cURL executado
============================================================

[19:13:58] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":12.04,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":763208546,"buyer_username":"amandateixeira19","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress CPF","cod":false,"create_time":1766438018,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":12.04,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-821d7-mgh1d6pxsxzh23_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":58200195484,"item_name":"Removedor De Placa Limpador De Dentes Elétrico Sonic Mancha","item_sku":"DPX8180240484","main_item":false,"model_discounted_price":18.8,"model_id":0,"model_name":"","model_original_price":20,"model_quantity_purchased":1,"model_sku":"","order_item_id":58200195484,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":800159512838144}],"promotion_type":"","weight":0.2,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"2512233YSCF48K","order_status":"COMPLETED","package_list":[{"package_number":"OFG220137218132970","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress CPF","item_list":[{"item_id":58200195484,"model_id":0,"model_quantity":1,"order_item_id":58200195484,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":375,"allow_self_design_awb":true,"logistics_channel_id":90016,"sorting_group":""}],"pay_time":1766438056,"payment_method":"Pix","pickup_done_time":1766514032,"recipient_address":{"name":"A******o","phone":"******50","town":"","district":"Manga","city":"Inhaúma","state":"Minas Gerais","region":"BR","zipcode":"35763000","full_address":"Jo******"},"region":"BR","return_request_due_date":1767456684,"reverse_shipping_fee":0,"ship_by_date":1766545199,"shipping_carrier":"Shopee Xpress CPF","split_up":false,"total_amount":18.8,"update_time":1767116304}]},"request_id":"e3e3e7f3473029585559a165aef8dd00:010002bf62a532f3:0000000d921d57b9"}
    [curl_error] => 
)

============================================================

[19:13:58] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 2512233YSCF48K
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[19:13:58] INFO: ⚠️ Venda já existe no banco
Array
(
    [order_sn] => 2512233YSCF48K
)

============================================================

[19:13:58] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512259F6BG77W
    [seller_id] => 861037471
    [user_id] => 41
    [status] => COMPLETED
)

============================================================

[19:13:58] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512259F6BG77W
    [shop_id] => 861037471
)

============================================================

[19:13:58] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 861037471
    [timestamp] => 1767122038
    [base_string] => 2009491/api/v2/order/get_order_detail1767122038eyJhbGciOiJIUzI1NiJ9.CJPTehABGJ_HyZoDIAEopN6qygYwnJX-nQ04AUAB.0grNiX5R8DRvPJT21ZJCdTH4D7c1JSUWRtC_6lcvOKk861037471
    [signature] => 4625e87623e534c4...
    [url_length] => 858
)

============================================================

[19:13:58] INFO: ⏳ Executando cURL...
============================================================

[19:13:59] INFO: ✅ cURL executado
============================================================

[19:13:59] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473029705e463a843318a800"}
    [curl_error] => 
)

============================================================

[19:13:59] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 2512259F6BG77W
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473029705e463a843318a800"}
)

============================================================

[19:13:59] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 2512259F6BG77W
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:13:59] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251218M8X5HE6U
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:13:59] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251218M8X5HE6U
    [shop_id] => 504113848
)

============================================================

[19:13:59] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767122039
    [base_string] => 2009491/api/v2/order/get_order_detail1767122039eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 6d72088906c16811...
    [url_length] => 858
)

============================================================

[19:13:59] INFO: ⏳ Executando cURL...
============================================================

[19:14:00] INFO: ✅ cURL executado
============================================================

[19:14:00] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302981ab7a3c51dcc54400"}
    [curl_error] => 
)

============================================================

[19:14:00] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251218M8X5HE6U
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302981ab7a3c51dcc54400"}
)

============================================================

[19:14:00] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251218M8X5HE6U
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:14:00] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251218PCREXWPK
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:14:00] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251218PCREXWPK
    [shop_id] => 504113848
)

============================================================

[19:14:00] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767122040
    [base_string] => 2009491/api/v2/order/get_order_detail1767122040eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => cf52d55a045abf6b...
    [url_length] => 858
)

============================================================

[19:14:00] INFO: ⏳ Executando cURL...
============================================================

[19:14:01] INFO: ✅ cURL executado
============================================================

[19:14:01] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302992c104d22dbe5bd100"}
    [curl_error] => 
)

============================================================

[19:14:01] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251218PCREXWPK
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302992c104d22dbe5bd100"}
)

============================================================

[19:14:01] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251218PCREXWPK
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:14:02] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512126Y2PFFAW
    [seller_id] => 1408943514
    [user_id] => 1110
    [status] => COMPLETED
)

============================================================

[19:14:02] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512126Y2PFFAW
    [shop_id] => 1408943514
)

============================================================

[19:14:02] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 1408943514
    [timestamp] => 1767122042
    [base_string] => 2009491/api/v2/order/get_order_detail1767122042eyJhbGciOiJIUzI1NiJ9.CJPTehABGJqL658FIAEomMfQygYw19PEwwg4AUAB.dVZcRDRCQRQko_xIb8DT6wpifWfIuGOnnz-MPjOLJ-81408943514
    [signature] => fd2af6f054fcf36a...
    [url_length] => 859
)

============================================================

[19:14:02] INFO: ⏳ Executando cURL...
============================================================

[19:14:03] INFO: ✅ cURL executado
============================================================

[19:14:03] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":25.07,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":654443574,"buyer_username":"tacianamorais","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1765540335,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":25.07,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"35251247638789000174550020000010141132512593","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rd5t-m7v3v8mrovgtf5_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":20998103575,"item_name":"Gel Solido Alongamento de Tips Transparente 1 Real Love 15ml","item_sku":"80542","main_item":false,"model_discounted_price":21.84,"model_id":0,"model_name":"","model_original_price":22.99,"model_quantity_purchased":2,"model_sku":"","order_item_id":20998103575,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":771101123067904,"promotion_list":[{"promotion_type":"platform_sale","promotion_id":771101123067904}],"promotion_type":"product_promotion_BR","weight":0.1,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"2512126Y2PFFAW","order_status":"COMPLETED","package_list":[{"package_number":"OFG219239535171120","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":20998103575,"model_id":0,"model_quantity":2,"order_item_id":20998103575,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":200,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1765540371,"payment_method":"Pix","pickup_done_time":1765547791,"recipient_address":{"name":"T******s","phone":"******42","town":"","district":"Rural","city":"Esperantina","state":"Piauí","region":"BR","zipcode":"64180000","full_address":"Ma******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1765594799,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":48.75,"update_time":1767119397}]},"request_id":"e3e3e7f3473029a3c2b83c1304451a00:010002b1d1326f40:000000639bd86700"}
    [curl_error] => 
)

============================================================

[19:14:03] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 2512126Y2PFFAW
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[19:14:03] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 2512126Y2PFFAW
)

============================================================

[19:14:03] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251217JHKTCX72
    [seller_id] => 675930217
    [user_id] => 27
    [status] => COMPLETED
)

============================================================

[19:14:03] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251217JHKTCX72
    [shop_id] => 675930217
)

============================================================

[19:14:03] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 675930217
    [timestamp] => 1767122043
    [base_string] => 2009491/api/v2/order/get_order_detail1767122043eyJhbGciOiJIUzI1NiJ9.CJPTehABGOnAp8ICIAEo7OzPygYwtNyyug84AUAB.PXTztfKUjXXm2ZFTOKIzFege3NxPmt21MYjyBBr3sUA675930217
    [signature] => c999dcdc0d78a008...
    [url_length] => 858
)

============================================================

[19:14:03] INFO: ⏳ Executando cURL...
============================================================

[19:14:04] INFO: ✅ cURL executado
============================================================

[19:14:04] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":10.83,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":401524391,"buyer_username":"daysamarcattodesousa","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress CPF","cod":false,"create_time":1765938195,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":10.83,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/br-11134207-81z1k-mi5dqwgb63uqa8_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":22994677017,"item_name":"Kit de Esmaltes Infantil Magical Phantasy Unicórnio Gliter Brilho e Magia Hipoalergenico","item_sku":"DPX6438278502","main_item":false,"model_discounted_price":36,"model_id":0,"model_name":"","model_original_price":45.9,"model_quantity_purchased":1,"model_sku":"","order_item_id":22994677017,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":801602756083712}],"promotion_type":"","weight":0.2,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251217JHKTCX72","order_status":"COMPLETED","package_list":[{"package_number":"OFG219637395115114","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress CPF","item_list":[{"item_id":22994677017,"model_id":0,"model_quantity":1,"order_item_id":22994677017,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":434,"allow_self_design_awb":true,"logistics_channel_id":90016,"sorting_group":""}],"pay_time":1765938201,"payment_method":"Credit Card","pickup_done_time":1765997742,"recipient_address":{"name":"D****** ","phone":"******91","town":"","district":"Zona III","city":"Umuarama","state":"Paraná","region":"BR","zipcode":"87502180","full_address":"R ******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766026799,"shipping_carrier":"Shopee Xpress CPF","split_up":false,"total_amount":35.28,"update_time":1767119597}]},"request_id":"e3e3e7f3473029b98a2c73facf63b500:0100024e8cd6bd0c:000000455b142c8f"}
    [curl_error] => 
)

============================================================

[19:14:04] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251217JHKTCX72
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[19:14:04] INFO: ⚠️ Venda já existe no banco
Array
(
    [order_sn] => 251217JHKTCX72
)

============================================================

[19:14:04] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219RJRGVTYA
    [seller_id] => 1603130895
    [user_id] => 156
    [status] => COMPLETED
)

============================================================

[19:14:04] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219RJRGVTYA
    [shop_id] => 1603130895
)

============================================================

[19:14:04] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 1603130895
    [timestamp] => 1767122044
    [base_string] => 2009491/api/v2/order/get_order_detail1767122044eyJhbGciOiJIUzI1NiJ9.CJPTehABGI-st_wFIAEo4ejPygYw3pyzqgo4AUAB.kxXNrCSyWUgTIOXzElySNKchvsYkz9vwcjizeIGylPw1603130895
    [signature] => 83447687ded31430...
    [url_length] => 859
)

============================================================

[19:14:04] INFO: ⏳ Executando cURL...
============================================================

[19:14:06] INFO: ✅ cURL executado
============================================================

[19:14:06] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":9.62,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":501749504,"buyer_username":"laiscristinamakeup","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress CPF","cod":false,"create_time":1766145584,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":9.62,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/br-11134207-81z1k-mhuvrmvjwf7mc6_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23499187237,"item_name":"Kit de Esmaltes Infantil Glitter Magical Phantasy  Brilho e Magia","item_sku":"DPX6438278502","main_item":false,"model_discounted_price":34,"model_id":0,"model_name":"","model_original_price":39.5,"model_quantity_purchased":1,"model_sku":"","order_item_id":23499187237,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":790815173952512}],"promotion_type":"","weight":0.2,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251219RJRGVTYA","order_status":"COMPLETED","package_list":[{"package_number":"OFG219844784182098","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress CPF","item_list":[{"item_id":23499187237,"model_id":0,"model_quantity":1,"order_item_id":23499187237,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":434,"allow_self_design_awb":true,"logistics_channel_id":90016,"sorting_group":""}],"pay_time":1766145594,"payment_method":"Credit Card","pickup_done_time":1766163440,"recipient_address":{"name":"L******o","phone":"******15","town":"","district":"Jardim Mercedes","city":"São Carlos","state":"São Paulo","region":"BR","zipcode":"13570501","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766199599,"shipping_carrier":"Shopee Xpress CPF","split_up":false,"total_amount":34,"update_time":1767119635}]},"request_id":"e3e3e7f3473029cf4bcda628ce137b00:01000212ff392b9d:00000024a00cd466"}
    [curl_error] => 
)

============================================================

[19:14:06] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251219RJRGVTYA
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[19:14:06] INFO: ⚠️ Venda já existe no banco
Array
(
    [order_sn] => 251219RJRGVTYA
)

============================================================

[19:14:06] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251226C2C31JCN
    [seller_id] => 861037471
    [user_id] => 41
    [status] => COMPLETED
)

============================================================

[19:14:06] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251226C2C31JCN
    [shop_id] => 861037471
)

============================================================

[19:14:06] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 861037471
    [timestamp] => 1767122046
    [base_string] => 2009491/api/v2/order/get_order_detail1767122046eyJhbGciOiJIUzI1NiJ9.CJPTehABGJ_HyZoDIAEopN6qygYwnJX-nQ04AUAB.0grNiX5R8DRvPJT21ZJCdTH4D7c1JSUWRtC_6lcvOKk861037471
    [signature] => 0435dff6297ef31d...
    [url_length] => 858
)

============================================================

[19:14:06] INFO: ⏳ Executando cURL...
============================================================

[19:14:07] INFO: ✅ cURL executado
============================================================

[19:14:07] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473029e82ec0cbf80236fe00"}
    [curl_error] => 
)

============================================================

[19:14:07] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251226C2C31JCN
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473029e82ec0cbf80236fe00"}
)

============================================================

[19:14:07] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251226C2C31JCN
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:14:07] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PJ4KDNMY
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:14:07] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PJ4KDNMY
    [shop_id] => 504113848
)

============================================================

[19:14:07] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767122047
    [base_string] => 2009491/api/v2/order/get_order_detail1767122047eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 53f476eff84b8932...
    [url_length] => 858
)

============================================================

[19:14:07] INFO: ⏳ Executando cURL...
============================================================

[19:14:08] INFO: ✅ cURL executado
============================================================

[19:14:08] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473029f94f9d4d709e6b5100"}
    [curl_error] => 
)

============================================================

[19:14:08] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251219PJ4KDNMY
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473029f94f9d4d709e6b5100"}
)

============================================================

[19:14:08] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251219PJ4KDNMY
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:14:08] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251226BNVUJYEK
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:14:08] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251226BNVUJYEK
    [shop_id] => 504113848
)

============================================================

[19:14:08] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767122048
    [base_string] => 2009491/api/v2/order/get_order_detail1767122048eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 9ff3aade6f1551dd...
    [url_length] => 858
)

============================================================

[19:14:08] INFO: ⏳ Executando cURL...
============================================================

[19:14:09] INFO: ✅ cURL executado
============================================================

[19:14:09] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302a09eb8c0bdb8cf96a00"}
    [curl_error] => 
)

============================================================

[19:14:09] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251226BNVUJYEK
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302a09eb8c0bdb8cf96a00"}
)

============================================================

[19:14:09] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251226BNVUJYEK
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:15:14] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512137V3RCT3N
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:15:14] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512137V3RCT3N
    [shop_id] => 504113848
)

============================================================

[19:15:14] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767122114
    [base_string] => 2009491/api/v2/order/get_order_detail1767122114eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 251802dd10b99a7f...
    [url_length] => 858
)

============================================================

[19:15:14] INFO: ⏳ Executando cURL...
============================================================

[19:15:15] INFO: ✅ cURL executado
============================================================

[19:15:15] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302dfb1e7068ac9da21700"}
    [curl_error] => 
)

============================================================

[19:15:15] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 2512137V3RCT3N
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302dfb1e7068ac9da21700"}
)

============================================================

[19:15:15] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 2512137V3RCT3N
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:15:15] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251217JAAH3HN5
    [seller_id] => 1564423565
    [user_id] => 35
    [status] => COMPLETED
)

============================================================

[19:15:15] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251217JAAH3HN5
    [shop_id] => 1564423565
)

============================================================

[19:15:15] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 1564423565
    [timestamp] => 1767122115
    [base_string] => 2009491/api/v2/order/get_order_detail1767122115eyJhbGciOiJIUzI1NiJ9.CJPTehABGI3r_OkFIAEogMHQygYwzIWd7QY4AUAB.cwqOBPs-5rbuU3thWd6YF_LMb_ke-DmlQBkH9LCggTY1564423565
    [signature] => fd8df3613728b4dd...
    [url_length] => 859
)

============================================================

[19:15:15] INFO: ⏳ Executando cURL...
============================================================

[19:15:17] INFO: ✅ cURL executado
============================================================

[19:15:17] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":10.83,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":375743611,"buyer_username":"vini550","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1765930366,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":10.83,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"35251235473442000130550010000002241102517176","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-8259q-mfu3otbv9dlbe2_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23899012031,"item_name":"Kit com 5 Bonecos Power Rangers – Aventura e Ação em Equipe!","item_sku":"DPX7379629291","main_item":false,"model_discounted_price":21,"model_id":0,"model_name":"","model_original_price":26.25,"model_quantity_purchased":1,"model_sku":"","order_item_id":23899012031,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":765350707118080}],"promotion_type":"","weight":1,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251217JAAH3HN5","order_status":"COMPLETED","package_list":[{"package_number":"OFG219629567104504","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23899012031,"model_id":0,"model_quantity":1,"order_item_id":23899012031,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":1000,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1765930409,"payment_method":"Pix","pickup_done_time":1766091403,"recipient_address":{"name":"V******e","phone":"******29","town":"","district":"Jardim Glória","city":"Limeira","state":"São Paulo","region":"BR","zipcode":"13487247","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766026799,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":31.83,"update_time":1767117603}]},"request_id":"e3e3e7f347302e0bf972f4c018e9d900:010002677770b439:0000007056f5bcb4"}
    [curl_error] => 
)

============================================================

[19:15:17] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251217JAAH3HN5
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[19:15:17] INFO: ⚠️ Venda já existe no banco
Array
(
    [order_sn] => 251217JAAH3HN5
)

============================================================

[19:15:17] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251218MSTT444N
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:15:17] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251218MSTT444N
    [shop_id] => 504113848
)

============================================================

[19:15:17] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767122117
    [base_string] => 2009491/api/v2/order/get_order_detail1767122117eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 638fff863aa38f38...
    [url_length] => 858
)

============================================================

[19:15:17] INFO: ⏳ Executando cURL...
============================================================

[19:15:18] INFO: ✅ cURL executado
============================================================

[19:15:18] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302e24dc28e632fa582800"}
    [curl_error] => 
)

============================================================

[19:15:18] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251218MSTT444N
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302e24dc28e632fa582800"}
)

============================================================

[19:15:18] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251218MSTT444N
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:15:18] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251206M2XTX2F3
    [seller_id] => 541362656
    [user_id] => 113
    [status] => COMPLETED
)

============================================================

[19:15:18] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251206M2XTX2F3
    [shop_id] => 541362656
)

============================================================

[19:15:18] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 541362656
    [timestamp] => 1767122118
    [base_string] => 2009491/api/v2/order/get_order_detail1767122118eyJhbGciOiJIUzI1NiJ9.CJPTehABGOCTkoICIAEotsbNygYwrIeplQQ4AUAB.swoTVxXi_FmYsIz1p4u93x7NXDKCDjb2CxAtyZyXNcs541362656
    [signature] => 43ae3576bf9d95a2...
    [url_length] => 858
)

============================================================

[19:15:18] INFO: ⏳ Executando cURL...
============================================================

[19:15:19] INFO: ✅ cURL executado
============================================================

[19:15:19] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302e353ed437b5c7127f00"}
    [curl_error] => 
)

============================================================

[19:15:19] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251206M2XTX2F3
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302e353ed437b5c7127f00"}
)

============================================================

[19:15:19] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251206M2XTX2F3
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:15:19] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PW8RS3FP
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:15:19] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PW8RS3FP
    [shop_id] => 504113848
)

============================================================

[19:15:19] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767122119
    [base_string] => 2009491/api/v2/order/get_order_detail1767122119eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 8f4c61cc1ccd3710...
    [url_length] => 858
)

============================================================

[19:15:19] INFO: ⏳ Executando cURL...
============================================================

[19:15:20] INFO: ✅ cURL executado
============================================================

[19:15:20] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302e45d99aa1a1dee9bc00"}
    [curl_error] => 
)

============================================================

[19:15:20] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251219PW8RS3FP
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302e45d99aa1a1dee9bc00"}
)

============================================================

[19:15:20] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251219PW8RS3FP
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:15:20] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251215CREKQUTN
    [seller_id] => 861037471
    [user_id] => 41
    [status] => COMPLETED
)

============================================================

[19:15:20] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251215CREKQUTN
    [shop_id] => 861037471
)

============================================================

[19:15:20] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 861037471
    [timestamp] => 1767122120
    [base_string] => 2009491/api/v2/order/get_order_detail1767122120eyJhbGciOiJIUzI1NiJ9.CJPTehABGJ_HyZoDIAEopN6qygYwnJX-nQ04AUAB.0grNiX5R8DRvPJT21ZJCdTH4D7c1JSUWRtC_6lcvOKk861037471
    [signature] => cb9684828b241405...
    [url_length] => 858
)

============================================================

[19:15:20] INFO: ⏳ Executando cURL...
============================================================

[19:15:21] INFO: ✅ cURL executado
============================================================

[19:15:21] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302e570cd0f46857dd4a00"}
    [curl_error] => 
)

============================================================

[19:15:21] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251215CREKQUTN
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302e570cd0f46857dd4a00"}
)

============================================================

[19:15:21] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251215CREKQUTN
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:15:21] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PM0UQEEM
    [seller_id] => 314867163
    [user_id] => 75
    [status] => COMPLETED
)

============================================================

[19:15:21] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PM0UQEEM
    [shop_id] => 314867163
)

============================================================

[19:15:21] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 314867163
    [timestamp] => 1767122121
    [base_string] => 2009491/api/v2/order/get_order_detail1767122121eyJhbGciOiJIUzI1NiJ9.CJPTehABGNv7kZYBIAEo88fJygYwi4WT7A44AUAB.hbIqZrgSbaj9Jrh1TsqCdo3iiAA7DQuFUNR9MqROYb4314867163
    [signature] => c8efe208e5ff26b8...
    [url_length] => 858
)

============================================================

[19:15:21] INFO: ⏳ Executando cURL...
============================================================

[19:15:22] INFO: ✅ cURL executado
============================================================

[19:15:22] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302e680fffe62ec90f0d00"}
    [curl_error] => 
)

============================================================

[19:15:22] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251219PM0UQEEM
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302e680fffe62ec90f0d00"}
)

============================================================

[19:15:22] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251219PM0UQEEM
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:15:23] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PPYBSWM8
    [seller_id] => 392561929
    [user_id] => 554
    [status] => COMPLETED
)

============================================================

[19:15:23] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PPYBSWM8
    [shop_id] => 392561929
)

============================================================

[19:15:23] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 392561929
    [timestamp] => 1767122123
    [base_string] => 2009491/api/v2/order/get_order_detail1767122123eyJhbGciOiJIUzI1NiJ9.CJPTehABGImKmLsBIAEoieOXygYw3MeFhAk4AUAB.L8W21NJNua_briVHRX-PrIWjSRxhrfNgVrKljxSSQF8392561929
    [signature] => c9c29b2dad67021e...
    [url_length] => 858
)

============================================================

[19:15:23] INFO: ⏳ Executando cURL...
============================================================

[19:15:24] INFO: ✅ cURL executado
============================================================

[19:15:24] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302e78b8108226ee38b900"}
    [curl_error] => 
)

============================================================

[19:15:24] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251219PPYBSWM8
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302e78b8108226ee38b900"}
)

============================================================

[19:15:24] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251219PPYBSWM8
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:15:24] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251220UGDTU7D3
    [seller_id] => 1383494453
    [user_id] => 72
    [status] => COMPLETED
)

============================================================

[19:15:24] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251220UGDTU7D3
    [shop_id] => 1383494453
)

============================================================

[19:15:24] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 1383494453
    [timestamp] => 1767122124
    [base_string] => 2009491/api/v2/order/get_order_detail1767122124eyJhbGciOiJIUzI1NiJ9.CJPTehABGLXm2ZMFIAEoj9emygYwqNKewQs4AUAB.3u-psO3gVCnOcUaqbtvxXB0P71p13-xxcBKTwoqI5ZE1383494453
    [signature] => b7048ec0400e8a0a...
    [url_length] => 859
)

============================================================

[19:15:24] INFO: ⏳ Executando cURL...
============================================================

[19:15:25] INFO: ✅ cURL executado
============================================================

[19:15:25] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302e8926fe228594a98d00"}
    [curl_error] => 
)

============================================================

[19:15:25] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251220UGDTU7D3
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302e8926fe228594a98d00"}
)

============================================================

[19:15:25] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251220UGDTU7D3
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:15:25] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512259F6BG77W
    [seller_id] => 861037471
    [user_id] => 41
    [status] => COMPLETED
)

============================================================

[19:15:25] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512259F6BG77W
    [shop_id] => 861037471
)

============================================================

[19:15:25] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 861037471
    [timestamp] => 1767122125
    [base_string] => 2009491/api/v2/order/get_order_detail1767122125eyJhbGciOiJIUzI1NiJ9.CJPTehABGJ_HyZoDIAEopN6qygYwnJX-nQ04AUAB.0grNiX5R8DRvPJT21ZJCdTH4D7c1JSUWRtC_6lcvOKk861037471
    [signature] => 0ac081ef7a0f49cb...
    [url_length] => 858
)

============================================================

[19:15:25] INFO: ⏳ Executando cURL...
============================================================

[19:15:26] INFO: ✅ cURL executado
============================================================

[19:15:26] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302e99e4a28ed516adb300"}
    [curl_error] => 
)

============================================================

[19:15:26] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 2512259F6BG77W
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347302e99e4a28ed516adb300"}
)

============================================================

[19:15:26] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 2512259F6BG77W
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:20:31] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512221XBCEJPQ
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:20:31] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512221XBCEJPQ
    [shop_id] => 504113848
)

============================================================

[19:20:31] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767122431
    [base_string] => 2009491/api/v2/order/get_order_detail1767122431eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 0c14c70d7f5576b0...
    [url_length] => 858
)

============================================================

[19:20:31] INFO: ⏳ Executando cURL...
============================================================

[19:20:32] INFO: ✅ cURL executado
============================================================

[19:20:32] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473040d8f7f4b0733e160500"}
    [curl_error] => 
)

============================================================

[19:20:32] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 2512221XBCEJPQ
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473040d8f7f4b0733e160500"}
)

============================================================

[19:20:32] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 2512221XBCEJPQ
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:20:32] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251218M8X5HE6U
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:20:32] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251218M8X5HE6U
    [shop_id] => 504113848
)

============================================================

[19:20:32] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767122432
    [base_string] => 2009491/api/v2/order/get_order_detail1767122432eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => e5de5eba34c611d8...
    [url_length] => 858
)

============================================================

[19:20:32] INFO: ⏳ Executando cURL...
============================================================

[19:20:33] INFO: ✅ cURL executado
============================================================

[19:20:33] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473040ea15915477efa34c00"}
    [curl_error] => 
)

============================================================

[19:20:33] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251218M8X5HE6U
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473040ea15915477efa34c00"}
)

============================================================

[19:20:33] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251218M8X5HE6U
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:20:33] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251218PCREXWPK
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:20:33] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251218PCREXWPK
    [shop_id] => 504113848
)

============================================================

[19:20:33] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767122433
    [base_string] => 2009491/api/v2/order/get_order_detail1767122433eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 58e6c579cad0249c...
    [url_length] => 858
)

============================================================

[19:20:33] INFO: ⏳ Executando cURL...
============================================================

[19:20:34] INFO: ✅ cURL executado
============================================================

[19:20:34] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473040fb117bd6d15d7c4800"}
    [curl_error] => 
)

============================================================

[19:20:34] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251218PCREXWPK
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473040fb117bd6d15d7c4800"}
)

============================================================

[19:20:34] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251218PCREXWPK
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:20:34] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251226C2C31JCN
    [seller_id] => 861037471
    [user_id] => 41
    [status] => COMPLETED
)

============================================================

[19:20:34] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251226C2C31JCN
    [shop_id] => 861037471
)

============================================================

[19:20:34] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 861037471
    [timestamp] => 1767122434
    [base_string] => 2009491/api/v2/order/get_order_detail1767122434eyJhbGciOiJIUzI1NiJ9.CJPTehABGJ_HyZoDIAEopN6qygYwnJX-nQ04AUAB.0grNiX5R8DRvPJT21ZJCdTH4D7c1JSUWRtC_6lcvOKk861037471
    [signature] => 536c3aed01710aed...
    [url_length] => 858
)

============================================================

[19:20:34] INFO: ⏳ Executando cURL...
============================================================

[19:20:35] INFO: ✅ cURL executado
============================================================

[19:20:35] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730410b82b1a98f70e4af00"}
    [curl_error] => 
)

============================================================

[19:20:35] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251226C2C31JCN
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730410b82b1a98f70e4af00"}
)

============================================================

[19:20:35] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251226C2C31JCN
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:20:35] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PJ4KDNMY
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:20:35] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PJ4KDNMY
    [shop_id] => 504113848
)

============================================================

[19:20:35] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767122435
    [base_string] => 2009491/api/v2/order/get_order_detail1767122435eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 4a64df3e40831a64...
    [url_length] => 858
)

============================================================

[19:20:35] INFO: ⏳ Executando cURL...
============================================================

[19:20:36] INFO: ✅ cURL executado
============================================================

[19:20:36] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730411be9d4097cb3e79e00"}
    [curl_error] => 
)

============================================================

[19:20:36] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251219PJ4KDNMY
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730411be9d4097cb3e79e00"}
)

============================================================

[19:20:36] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251219PJ4KDNMY
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:20:36] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251226BNVUJYEK
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:20:36] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251226BNVUJYEK
    [shop_id] => 504113848
)

============================================================

[19:20:36] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767122436
    [base_string] => 2009491/api/v2/order/get_order_detail1767122436eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => ba76e55ad8f7e529...
    [url_length] => 858
)

============================================================

[19:20:36] INFO: ⏳ Executando cURL...
============================================================

[19:20:37] INFO: ✅ cURL executado
============================================================

[19:20:37] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730412c6f1245d58a808300"}
    [curl_error] => 
)

============================================================

[19:20:37] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251226BNVUJYEK
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730412c6f1245d58a808300"}
)

============================================================

[19:20:37] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251226BNVUJYEK
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:20:37] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512246NEAVJFD
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:20:37] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512246NEAVJFD
    [shop_id] => 504113848
)

============================================================

[19:20:37] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767122437
    [base_string] => 2009491/api/v2/order/get_order_detail1767122437eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => a0e4532385845555...
    [url_length] => 858
)

============================================================

[19:20:37] INFO: ⏳ Executando cURL...
============================================================

[19:20:38] INFO: ✅ cURL executado
============================================================

[19:20:38] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730413d675559d019770900"}
    [curl_error] => 
)

============================================================

[19:20:38] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 2512246NEAVJFD
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730413d675559d019770900"}
)

============================================================

[19:20:38] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 2512246NEAVJFD
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:20:39] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512235XEHM7XQ
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:20:39] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512235XEHM7XQ
    [shop_id] => 504113848
)

============================================================

[19:20:39] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767122439
    [base_string] => 2009491/api/v2/order/get_order_detail1767122439eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 5bb00747500bed83...
    [url_length] => 858
)

============================================================

[19:20:39] INFO: ⏳ Executando cURL...
============================================================

[19:20:40] INFO: ✅ cURL executado
============================================================

[19:20:40] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730414e921bd98fdd9ae600"}
    [curl_error] => 
)

============================================================

[19:20:40] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 2512235XEHM7XQ
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730414e921bd98fdd9ae600"}
)

============================================================

[19:20:40] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 2512235XEHM7XQ
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:20:40] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251220SDK0FF0A
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:20:40] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251220SDK0FF0A
    [shop_id] => 504113848
)

============================================================

[19:20:40] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767122440
    [base_string] => 2009491/api/v2/order/get_order_detail1767122440eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 87523c69dc8be8fe...
    [url_length] => 858
)

============================================================

[19:20:40] INFO: ⏳ Executando cURL...
============================================================

[19:20:41] INFO: ✅ cURL executado
============================================================

[19:20:41] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730415f3d479d59f697b100"}
    [curl_error] => 
)

============================================================

[19:20:41] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251220SDK0FF0A
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730415f3d479d59f697b100"}
)

============================================================

[19:20:41] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251220SDK0FF0A
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:20:41] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 25122475T3MHNT
    [seller_id] => 796461485
    [user_id] => 581
    [status] => COMPLETED
)

============================================================

[19:20:41] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 25122475T3MHNT
    [shop_id] => 796461485
)

============================================================

[19:20:41] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 796461485
    [timestamp] => 1767122441
    [base_string] => 2009491/api/v2/order/get_order_detail1767122441eyJhbGciOiJIUzI1NiJ9.CJPTehABGK2T5PsCIAEo4biXygYwjpqauQo4AUAB.Yyb17c6rIPthIfidV4A-RGpR-bCcwhJW4ioJWoX_KF0796461485
    [signature] => e4328e0874b56f23...
    [url_length] => 858
)

============================================================

[19:20:41] INFO: ⏳ Executando cURL...
============================================================

[19:20:42] INFO: ✅ cURL executado
============================================================

[19:20:42] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730416ffc8b3bac1cb0db00"}
    [curl_error] => 
)

============================================================

[19:20:42] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 25122475T3MHNT
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730416ffc8b3bac1cb0db00"}
)

============================================================

[19:20:42] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 25122475T3MHNT
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:31:17] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512139PDUNGB4
    [seller_id] => 513868344
    [user_id] => 144
    [status] => COMPLETED
)

============================================================

[19:31:17] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512139PDUNGB4
    [shop_id] => 513868344
)

============================================================

[19:31:17] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 513868344
    [timestamp] => 1767123077
    [base_string] => 2009491/api/v2/order/get_order_detail1767123077eyJhbGciOiJIUzI1NiJ9.CJPTehABGLiEhPUBIAEo1tXPygYw07zPhAQ4AUAB.90aeDG2DMmxx6f0TP2fmp61N8dD8KYcaY8hS35QowoA513868344
    [signature] => fb9fb2537b02220c...
    [url_length] => 858
)

============================================================

[19:31:17] INFO: ⏳ Executando cURL...
============================================================

[19:31:18] INFO: ✅ cURL executado
============================================================

[19:31:18] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730675b36f3475a8ec4c200"}
    [curl_error] => 
)

============================================================

[19:31:18] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 2512139PDUNGB4
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730675b36f3475a8ec4c200"}
)

============================================================

[19:31:18] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 2512139PDUNGB4
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:34:23] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251218M9Y0GBGS
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:34:23] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251218M9Y0GBGS
    [shop_id] => 504113848
)

============================================================

[19:34:23] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767123263
    [base_string] => 2009491/api/v2/order/get_order_detail1767123263eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => ce40367aa4dd3e60...
    [url_length] => 858
)

============================================================

[19:34:23] INFO: ⏳ Executando cURL...
============================================================

[19:34:26] INFO: ✅ cURL executado
============================================================

[19:34:26] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473072921a7253bf108bb800"}
    [curl_error] => 
)

============================================================

[19:34:26] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251218M9Y0GBGS
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473072921a7253bf108bb800"}
)

============================================================

[19:34:26] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251218M9Y0GBGS
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:42:24] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251222286JHECY
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:42:24] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251222286JHECY
    [shop_id] => 504113848
)

============================================================

[19:42:24] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767123744
    [base_string] => 2009491/api/v2/order/get_order_detail1767123744eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 5d24e3599276f7d6...
    [url_length] => 858
)

============================================================

[19:42:24] INFO: ⏳ Executando cURL...
============================================================

[19:42:25] INFO: ✅ cURL executado
============================================================

[19:42:25] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347308f20ff4e0a16a5362600"}
    [curl_error] => 
)

============================================================

[19:42:25] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[19:42:25] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 504113848
    [user_id] => 519
)

============================================================

[19:47:01] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512221XBCEJPQ
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:47:01] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512221XBCEJPQ
    [shop_id] => 504113848
)

============================================================

[19:47:01] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767124021
    [base_string] => 2009491/api/v2/order/get_order_detail1767124021eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => ae67983b475dd6e3...
    [url_length] => 858
)

============================================================

[19:47:01] INFO: ⏳ Executando cURL...
============================================================

[19:47:02] INFO: ✅ cURL executado
============================================================

[19:47:02] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347309fa55ab92bf1f1b68d00"}
    [curl_error] => 
)

============================================================

[19:47:02] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 2512221XBCEJPQ
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347309fa55ab92bf1f1b68d00"}
)

============================================================

[19:47:02] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 2512221XBCEJPQ
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:47:02] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PT6T11R3
    [seller_id] => 861037471
    [user_id] => 41
    [status] => COMPLETED
)

============================================================

[19:47:02] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PT6T11R3
    [shop_id] => 861037471
)

============================================================

[19:47:02] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 861037471
    [timestamp] => 1767124022
    [base_string] => 2009491/api/v2/order/get_order_detail1767124022eyJhbGciOiJIUzI1NiJ9.CJPTehABGJ_HyZoDIAEopN6qygYwnJX-nQ04AUAB.0grNiX5R8DRvPJT21ZJCdTH4D7c1JSUWRtC_6lcvOKk861037471
    [signature] => dbb57a1d34ef49b8...
    [url_length] => 858
)

============================================================

[19:47:02] INFO: ⏳ Executando cURL...
============================================================

[19:47:03] INFO: ✅ cURL executado
============================================================

[19:47:03] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347309fb6797823419a870400"}
    [curl_error] => 
)

============================================================

[19:47:03] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251219PT6T11R3
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347309fb6797823419a870400"}
)

============================================================

[19:47:03] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251219PT6T11R3
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:47:04] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251220T2064F0D
    [seller_id] => 861037471
    [user_id] => 41
    [status] => COMPLETED
)

============================================================

[19:47:04] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251220T2064F0D
    [shop_id] => 861037471
)

============================================================

[19:47:04] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 861037471
    [timestamp] => 1767124024
    [base_string] => 2009491/api/v2/order/get_order_detail1767124024eyJhbGciOiJIUzI1NiJ9.CJPTehABGJ_HyZoDIAEopN6qygYwnJX-nQ04AUAB.0grNiX5R8DRvPJT21ZJCdTH4D7c1JSUWRtC_6lcvOKk861037471
    [signature] => abacbac76b169d9c...
    [url_length] => 858
)

============================================================

[19:47:04] INFO: ⏳ Executando cURL...
============================================================

[19:47:05] INFO: ✅ cURL executado
============================================================

[19:47:05] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347309fc6fe5bc8f0e77c0700"}
    [curl_error] => 
)

============================================================

[19:47:05] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251220T2064F0D
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347309fc6fe5bc8f0e77c0700"}
)

============================================================

[19:47:05] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251220T2064F0D
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:52:10] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512221XBCEJPQ
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:52:10] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512221XBCEJPQ
    [shop_id] => 504113848
)

============================================================

[19:52:10] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767124330
    [base_string] => 2009491/api/v2/order/get_order_detail1767124330eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 8726218e0aea75ec...
    [url_length] => 858
)

============================================================

[19:52:10] INFO: ⏳ Executando cURL...
============================================================

[19:52:11] INFO: ✅ cURL executado
============================================================

[19:52:11] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730b20621980c6dcea5e100"}
    [curl_error] => 
)

============================================================

[19:52:11] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 2512221XBCEJPQ
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730b20621980c6dcea5e100"}
)

============================================================

[19:52:11] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 2512221XBCEJPQ
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:52:11] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PT6T11R3
    [seller_id] => 861037471
    [user_id] => 41
    [status] => COMPLETED
)

============================================================

[19:52:11] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PT6T11R3
    [shop_id] => 861037471
)

============================================================

[19:52:11] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 861037471
    [timestamp] => 1767124331
    [base_string] => 2009491/api/v2/order/get_order_detail1767124331eyJhbGciOiJIUzI1NiJ9.CJPTehABGJ_HyZoDIAEopN6qygYwnJX-nQ04AUAB.0grNiX5R8DRvPJT21ZJCdTH4D7c1JSUWRtC_6lcvOKk861037471
    [signature] => 1525e0458ce3050e...
    [url_length] => 858
)

============================================================

[19:52:11] INFO: ⏳ Executando cURL...
============================================================

[19:52:12] INFO: ✅ cURL executado
============================================================

[19:52:12] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730b21761b420a20bdada00"}
    [curl_error] => 
)

============================================================

[19:52:12] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251219PT6T11R3
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730b21761b420a20bdada00"}
)

============================================================

[19:52:12] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251219PT6T11R3
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:55:17] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251221UHP8X7CD
    [seller_id] => 1615685780
    [user_id] => 1078
    [status] => COMPLETED
)

============================================================

[19:55:17] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251221UHP8X7CD
    [shop_id] => 1615685780
)

============================================================

[19:55:17] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 1615685780
    [timestamp] => 1767124517
    [base_string] => 2009491/api/v2/order/get_order_detail1767124517eyJhbGciOiJIUzI1NiJ9.CJPTehABGJTRtYIGIAEo672XygYw7rXUuAg4AUAB.g212IhuiplM0rGsnKSct4Al0ZOx9-UL9ssc8VjmldxM1615685780
    [signature] => 61cd7dcc34eef4c5...
    [url_length] => 859
)

============================================================

[19:55:17] INFO: ⏳ Executando cURL...
============================================================

[19:55:18] INFO: ✅ cURL executado
============================================================

[19:55:18] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730bd2f3c662f1832ebd600"}
    [curl_error] => 
)

============================================================

[19:55:18] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251221UHP8X7CD
    [error] => API retornou HTTP 403: {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730bd2f3c662f1832ebd600"}
)

============================================================

[19:55:18] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251221UHP8X7CD
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:58:07] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512114TANB8C9
    [seller_id] => 944505280
    [user_id] => 255
    [status] => COMPLETED
)

============================================================

[19:58:07] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512114TANB8C9
    [shop_id] => 944505280
)

============================================================

[19:58:07] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 944505280
    [timestamp] => 1767124687
    [base_string] => 2009491/api/v2/order/get_order_detail1767124687eyJhbGciOiJIUzI1NiJ9.CJPTehABGMCDsMIDIAEot8_KygYw-6uWlw44AUAB.33dn5snGkcO6WqjLUH5dr0KhNAAyJeeqO_4tez9IyEE944505280
    [signature] => da134451df4a0d61...
    [url_length] => 858
)

============================================================

[19:58:07] INFO: ⏳ Executando cURL...
============================================================

[19:58:08] INFO: ✅ cURL executado
============================================================

[19:58:08] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730c752145a8d2b4a243400"}
    [curl_error] => 
)

============================================================

[19:58:08] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[19:58:08] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[19:58:08] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 944505280
    [user_id] => 255
)

============================================================

[19:58:18] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 25121389BBWEM9
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:58:18] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 25121389BBWEM9
    [shop_id] => 504113848
)

============================================================

[19:58:18] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767124698
    [base_string] => 2009491/api/v2/order/get_order_detail1767124698eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 135df08cb124d0d4...
    [url_length] => 858
)

============================================================

[19:58:18] INFO: ⏳ Executando cURL...
============================================================

[19:58:19] INFO: ✅ cURL executado
============================================================

[19:58:19] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730c7fc2a6a581e8b9ddc00"}
    [curl_error] => 
)

============================================================

[19:58:19] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[19:58:19] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[19:58:19] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 504113848
    [user_id] => 519
)

============================================================

[20:03:32] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512221UM6W3UB
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[20:03:32] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512221UM6W3UB
    [shop_id] => 504113848
)

============================================================

[20:03:32] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767125012
    [base_string] => 2009491/api/v2/order/get_order_detail1767125012eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => af839d3390d0538a...
    [url_length] => 858
)

============================================================

[20:03:32] INFO: ⏳ Executando cURL...
============================================================

[20:03:33] INFO: ✅ cURL executado
============================================================

[20:03:33] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34730daab069cdd4d32226500"}
    [curl_error] => 
)

============================================================

[20:03:33] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[20:03:33] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[20:03:33] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 504113848
    [user_id] => 519
)

============================================================

[20:18:49] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512114TANB8C9
    [seller_id] => 944505280
    [user_id] => 255
    [status] => COMPLETED
)

============================================================

[20:18:49] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512114TANB8C9
    [shop_id] => 944505280
)

============================================================

[20:18:49] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 944505280
    [timestamp] => 1767125929
    [base_string] => 2009491/api/v2/order/get_order_detail1767125929eyJhbGciOiJIUzI1NiJ9.CJPTehABGMCDsMIDIAEot8_KygYw-6uWlw44AUAB.33dn5snGkcO6WqjLUH5dr0KhNAAyJeeqO_4tez9IyEE944505280
    [signature] => b11572ee4b08ea30...
    [url_length] => 858
)

============================================================

[20:18:49] INFO: ⏳ Executando cURL...
============================================================

[20:18:50] INFO: ✅ cURL executado
============================================================

[20:18:50] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347311155b0af55997631cc00"}
    [curl_error] => 
)

============================================================

[20:18:50] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[20:18:50] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[20:18:50] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 944505280
    [user_id] => 255
)

============================================================

[20:19:00] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 25121389BBWEM9
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[20:19:00] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 25121389BBWEM9
    [shop_id] => 504113848
)

============================================================

[20:19:00] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767125940
    [base_string] => 2009491/api/v2/order/get_order_detail1767125940eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => 167b53c388c6e0af...
    [url_length] => 858
)

============================================================

[20:19:00] INFO: ⏳ Executando cURL...
============================================================

[20:19:01] INFO: ✅ cURL executado
============================================================

[20:19:01] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34731120159096eba60b00500"}
    [curl_error] => 
)

============================================================

[20:19:01] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[20:19:01] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[20:19:01] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 504113848
    [user_id] => 519
)

============================================================

[20:23:31] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251218M9Y0GBGS
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[20:23:31] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251218M9Y0GBGS
    [shop_id] => 504113848
)

============================================================

[20:23:31] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767126211
    [base_string] => 2009491/api/v2/order/get_order_detail1767126211eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => faa98ad5bac0113a...
    [url_length] => 858
)

============================================================

[20:23:31] INFO: ⏳ Executando cURL...
============================================================

[20:23:32] INFO: ✅ cURL executado
============================================================

[20:23:32] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473122241bf04e88eeee3e00"}
    [curl_error] => 
)

============================================================

[20:23:32] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[20:23:32] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[20:23:32] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 504113848
    [user_id] => 519
)

============================================================

[20:24:13] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512137V3RCT3N
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[20:24:13] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512137V3RCT3N
    [shop_id] => 504113848
)

============================================================

[20:24:13] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767126253
    [base_string] => 2009491/api/v2/order/get_order_detail1767126253eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoiIK3ygYwvdqvtw04AUAB.MaETyHTsda4P6p8h__N_a-DmPsUy7Tuhqzl-4yvBdkc504113848
    [signature] => ad731938b42e5744...
    [url_length] => 858
)

============================================================

[20:24:13] INFO: ⏳ Executando cURL...
============================================================

[20:24:14] INFO: ✅ cURL executado
============================================================

[20:24:14] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473124a8fa5d544c65b60100"}
    [curl_error] => 
)

============================================================

[20:24:14] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[20:24:14] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[20:24:14] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 504113848
    [user_id] => 519
)

============================================================

[20:29:31] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512137V3RCT3N
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[20:29:31] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512137V3RCT3N
    [shop_id] => 504113848
)

============================================================

[20:29:31] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767126571
    [base_string] => 2009491/api/v2/order/get_order_detail1767126571eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo6OvQygYwj8mX5Q84AUAB.hwb8Vj6JFaESbMNaDweRkto7R3YLAa9-B0MSxlNiSBQ504113848
    [signature] => 6f63e8f33e8e427c...
    [url_length] => 858
)

============================================================

[20:29:31] INFO: ⏳ Executando cURL...
============================================================

[20:29:32] INFO: ✅ cURL executado
============================================================

[20:29:32] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":8.15,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1151519226,"buyer_username":"netesousa461","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1765571509,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":8.15,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"19255","series_number":"5","access_key":"41251232111081000193550050000192551898967548","issue_date":1765571626,"total_value":1.46,"products_total_value":1.46,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rd5c-m79tgf5x8muk7a_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":20499648418,"item_name":"Aquarela Leo e Leo - 12 Cores com um pincel.","item_sku":"AC12C","main_item":false,"model_discounted_price":14.59,"model_id":0,"model_name":"","model_original_price":24,"model_quantity_purchased":1,"model_sku":"","order_item_id":20499648418,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":216211355021312,"promotion_list":[{"promotion_type":"in_shop_flash_sale","promotion_id":216211355021312}],"promotion_type":"flash_sale","weight":0.11,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"2512137V3RCT3N","order_status":"COMPLETED","package_list":[{"package_number":"OFG219270709199702","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":20499648418,"model_id":0,"model_quantity":1,"order_item_id":20499648418,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":125,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1765571525,"payment_method":"SParcelado","pickup_done_time":1765817108,"recipient_address":{"name":"J******a","phone":"******46","town":"","district":"Taiaçupeba","city":"Mogi das Cruzes","state":"São Paulo","region":"BR","zipcode":"08765040","full_address":"Ru******"},"region":"BR","return_request_due_date":1767721682,"reverse_shipping_fee":0,"ship_by_date":1765853999,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":14.59,"update_time":1767119838}]},"request_id":"e3e3e7f34731379ebc2c60857f7b0800:0100021201870abe:0000000420f4f252"}
    [curl_error] => 
)

============================================================

[20:29:32] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[20:29:32] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 2512137V3RCT3N
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[20:29:32] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 2512137V3RCT3N
)

============================================================

[20:29:32] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251218MSTT444N
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[20:29:32] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251218MSTT444N
    [shop_id] => 504113848
)

============================================================

[20:29:32] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767126572
    [base_string] => 2009491/api/v2/order/get_order_detail1767126572eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo6OvQygYwj8mX5Q84AUAB.hwb8Vj6JFaESbMNaDweRkto7R3YLAa9-B0MSxlNiSBQ504113848
    [signature] => 9bd46bc96d733719...
    [url_length] => 858
)

============================================================

[20:29:32] INFO: ⏳ Executando cURL...
============================================================

[20:29:34] INFO: ✅ cURL executado
============================================================

[20:29:34] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":21.94,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1308262904,"buyer_username":"yasmimlorrane190","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1766015738,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":21.94,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"19922","series_number":"5","access_key":"41251232111081000193550050000199221229101720","issue_date":1766015928,"total_value":1.5,"products_total_value":1.5,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7repb-m8c25e95s23r4e_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23998374014,"item_name":"KIT 1/2/3/4/5/6  Colas Liquida Branca 1kg Escolar  PVA","item_sku":"KITSCB1000","main_item":false,"model_discounted_price":15,"model_id":149545492939,"model_name":"1","model_original_price":21.5,"model_quantity_purchased":1,"model_sku":"KIT1CB","order_item_id":23998374014,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":1.114,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251218MSTT444N","order_status":"COMPLETED","package_list":[{"package_number":"OFG219714938115312","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23998374014,"model_id":149545492939,"model_quantity":1,"order_item_id":23998374014,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":1114,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1766015749,"payment_method":"Credit Card","pickup_done_time":1766075743,"recipient_address":{"name":"Y******a","phone":"******11","town":"","district":"Residencial Ipês","city":"Goianésia","state":"Goiás","region":"BR","zipcode":"76387349","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766113199,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":26.94,"update_time":1767119849}]},"request_id":"e3e3e7f3473137b39a6ace9af84daa00:0100026ed8f9a51d:000000b5920f0af8"}
    [curl_error] => 
)

============================================================

[20:29:34] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[20:29:34] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251218MSTT444N
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[20:29:34] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251218MSTT444N
)

============================================================

[20:29:34] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251206M2XTX2F3
    [seller_id] => 541362656
    [user_id] => 113
    [status] => COMPLETED
)

============================================================

[20:29:34] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251206M2XTX2F3
    [shop_id] => 541362656
)

============================================================

[20:29:34] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 541362656
    [timestamp] => 1767126574
    [base_string] => 2009491/api/v2/order/get_order_detail1767126574eyJhbGciOiJIUzI1NiJ9.CJPTehABGOCTkoICIAEotsbNygYwrIeplQQ4AUAB.swoTVxXi_FmYsIz1p4u93x7NXDKCDjb2CxAtyZyXNcs541362656
    [signature] => d8965be50b44f3cb...
    [url_length] => 858
)

============================================================

[20:29:34] INFO: ⏳ Executando cURL...
============================================================

[20:29:35] INFO: ✅ cURL executado
============================================================

[20:29:35] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473137c888615587e8430400"}
    [curl_error] => 
)

============================================================

[20:29:35] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[20:29:35] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[20:29:35] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 541362656
    [user_id] => 113
)

============================================================

[20:29:35] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251226BNVUJYEK
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[20:29:35] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251226BNVUJYEK
    [shop_id] => 504113848
)

============================================================

[20:29:35] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767126575
    [base_string] => 2009491/api/v2/order/get_order_detail1767126575eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo6OvQygYwj8mX5Q84AUAB.hwb8Vj6JFaESbMNaDweRkto7R3YLAa9-B0MSxlNiSBQ504113848
    [signature] => 481ec39358e266ce...
    [url_length] => 858
)

============================================================

[20:29:35] INFO: ⏳ Executando cURL...
============================================================

[20:35:01] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251220SNKNHQYD
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[20:35:01] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251220SNKNHQYD
    [shop_id] => 504113848
)

============================================================

[20:35:01] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767126901
    [base_string] => 2009491/api/v2/order/get_order_detail1767126901eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo6OvQygYwj8mX5Q84AUAB.hwb8Vj6JFaESbMNaDweRkto7R3YLAa9-B0MSxlNiSBQ504113848
    [signature] => acc248af3ee0a4fa...
    [url_length] => 858
)

============================================================

[20:35:01] INFO: ⏳ Executando cURL...
============================================================

[20:35:02] INFO: ✅ cURL executado
============================================================

[20:35:02] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":14.48,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":950332899,"buyer_username":"ramonabeatriznascimento","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1766183003,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":14.48,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"20158","series_number":"5","access_key":"41251232111081000193550050000201581145575919","issue_date":1766183318,"total_value":1.5,"products_total_value":1.5,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7repb-m8c25e95s23r4e_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23998374014,"item_name":"KIT 1/2/3/4/5/6  Colas Liquida Branca 1kg Escolar  PVA","item_sku":"KITSCB1000","main_item":false,"model_discounted_price":15,"model_id":149545492939,"model_name":"1","model_original_price":21.5,"model_quantity_purchased":1,"model_sku":"KIT1CB","order_item_id":23998374014,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":1.114,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251220SNKNHQYD","order_status":"COMPLETED","package_list":[{"package_number":"OFG219882203101560","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23998374014,"model_id":149545492939,"model_quantity":1,"order_item_id":23998374014,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":1114,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1766183179,"payment_method":"Pix","pickup_done_time":1766422282,"recipient_address":{"name":"R******o","phone":"******38","town":"","district":"Vila floresta","city":"São Luiz Gonzaga","state":"Rio Grande do Sul","region":"BR","zipcode":"97800000","full_address":"Tv******"},"region":"BR","return_request_due_date":1767479846,"reverse_shipping_fee":0,"ship_by_date":1766458799,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":15,"update_time":1767124613}]},"request_id":"e3e3e7f347314b49054ab3fa8c0b9200:010002ee74cfc458:00000003373adac9"}
    [curl_error] => 
)

============================================================

[20:35:02] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[20:35:02] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251220SNKNHQYD
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[20:35:02] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251220SNKNHQYD
)

============================================================

[20:35:02] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512114TANB8C9
    [seller_id] => 944505280
    [user_id] => 255
    [status] => COMPLETED
)

============================================================

[20:35:02] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512114TANB8C9
    [shop_id] => 944505280
)

============================================================

[20:35:02] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 944505280
    [timestamp] => 1767126902
    [base_string] => 2009491/api/v2/order/get_order_detail1767126902eyJhbGciOiJIUzI1NiJ9.CJPTehABGMCDsMIDIAEot8_KygYw-6uWlw44AUAB.33dn5snGkcO6WqjLUH5dr0KhNAAyJeeqO_4tez9IyEE944505280
    [signature] => 97d967392f2282ef...
    [url_length] => 858
)

============================================================

[20:35:02] INFO: ⏳ Executando cURL...
============================================================

[20:35:03] INFO: ✅ cURL executado
============================================================

[20:35:03] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347314b5e034cc21ad872a700"}
    [curl_error] => 
)

============================================================

[20:35:03] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[20:35:03] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[20:35:03] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 944505280
    [user_id] => 255
)

============================================================

[21:12:23] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PW8RS3FP
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[21:12:23] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PW8RS3FP
    [shop_id] => 504113848
)

============================================================

[21:12:23] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767129143
    [base_string] => 2009491/api/v2/order/get_order_detail1767129143eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo6OvQygYwj8mX5Q84AUAB.hwb8Vj6JFaESbMNaDweRkto7R3YLAa9-B0MSxlNiSBQ504113848
    [signature] => d1bfdfa629d17aa6...
    [url_length] => 858
)

============================================================

[21:12:23] INFO: ⏳ Executando cURL...
============================================================

[21:12:25] INFO: ✅ cURL executado
============================================================

[21:12:25] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":31.16,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1350833660,"buyer_username":"nivaldotoss","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1766088147,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":31.16,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"20022","series_number":"5","access_key":"41251232111081000193550050000200221754185721","issue_date":1766142869,"total_value":6.89,"products_total_value":6.89,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rat9-mamsvfs6hptvb5_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":19599762178,"item_name":"Papel Sulfite Report Folha Ofício Para Impressão A4  com 500 Folhas","item_sku":"REPORTA4500","main_item":false,"model_discounted_price":34.45,"model_id":0,"model_name":"","model_original_price":53,"model_quantity_purchased":2,"model_sku":"","order_item_id":19599762178,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":3.4,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251219PW8RS3FP","order_status":"COMPLETED","package_list":[{"package_number":"OFG219787347103249","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":19599762178,"model_id":0,"model_quantity":2,"order_item_id":19599762178,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":6800,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1766088189,"payment_method":"Pix","pickup_done_time":1766162890,"recipient_address":{"name":"N******s","phone":"******43","town":"","district":"Centro","city":"Jaquirana","state":"Rio Grande do Sul","region":"BR","zipcode":"95420000","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766199599,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":79.06,"update_time":1767119852}]},"request_id":"e3e3e7f34731d0f25bd6247c695b4b00:010002660aed2978:0000006e0f7d2a0f"}
    [curl_error] => 
)

============================================================

[21:12:25] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[21:12:25] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251219PW8RS3FP
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[21:12:25] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251219PW8RS3FP
)

============================================================

[21:12:25] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251215CREKQUTN
    [seller_id] => 861037471
    [user_id] => 41
    [status] => COMPLETED
)

============================================================

[21:12:25] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251215CREKQUTN
    [shop_id] => 861037471
)

============================================================

[21:12:25] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 861037471
    [timestamp] => 1767129145
    [base_string] => 2009491/api/v2/order/get_order_detail1767129145eyJhbGciOiJIUzI1NiJ9.CJPTehABGJ_HyZoDIAEo6OrQygYwr6y-4g44AUAB.V2EG_3DintAXgCI6JTUXEueRFpgce1RXo7dvtENYmKg861037471
    [signature] => 10c5e90835f4ad1b...
    [url_length] => 858
)

============================================================

[21:12:25] INFO: ⏳ Executando cURL...
============================================================

[21:12:26] INFO: ✅ cURL executado
============================================================

[21:12:26] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":10.83,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":567281541,"buyer_username":"jcgrativol","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1765739377,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":10.83,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"2310","series_number":"3","access_key":"33251254881101000148550030000023101153386079","issue_date":1765739625,"total_value":19.99,"products_total_value":19.99,"tax_code":"6102"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134202-7rfif-m9dhcomlpkh365_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":19098138295,"item_name":"Estilete Profissional 18mm Com Trava Aço Inox Maciço","item_sku":"GH-8624014","main_item":false,"model_discounted_price":19.99,"model_id":0,"model_name":"","model_original_price":19.99,"model_quantity_purchased":1,"model_sku":"","order_item_id":19098138295,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_type":"","weight":0.476,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251215CREKQUTN","order_status":"COMPLETED","package_list":[{"package_number":"OFG219438577155310","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":19098138295,"model_id":0,"model_quantity":1,"order_item_id":19098138295,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":476,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1765739420,"payment_method":"Pix","pickup_done_time":1765829422,"recipient_address":{"name":"J******l","phone":"******66","town":"","district":"Ceilândia Norte (Ceilândia)","city":"Brasília","state":"Distrito Federal","region":"BR","zipcode":"72241307","full_address":"Qu******"},"region":"BR","return_request_due_date":1767446710,"reverse_shipping_fee":0,"ship_by_date":1765940399,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":19.99,"update_time":1767117841}]},"request_id":"e3e3e7f34731d10b531ffa7143bf6800:01000201456da418:000000fcc786901d"}
    [curl_error] => 
)

============================================================

[21:12:26] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[21:12:26] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251215CREKQUTN
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[21:12:26] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251215CREKQUTN
)

============================================================

[21:12:27] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PM0UQEEM
    [seller_id] => 314867163
    [user_id] => 75
    [status] => COMPLETED
)

============================================================

[21:12:27] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PM0UQEEM
    [shop_id] => 314867163
)

============================================================

[21:12:27] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 314867163
    [timestamp] => 1767129147
    [base_string] => 2009491/api/v2/order/get_order_detail1767129147eyJhbGciOiJIUzI1NiJ9.CJPTehABGNv7kZYBIAEowdbQygYw7cHzhA04AUAB.5ztwdPJGJHYa0LZtw-C9cJFG91fbJqJ39uCeJHv7JXo314867163
    [signature] => 3a63356d6d7b3880...
    [url_length] => 858
)

============================================================

[21:12:27] INFO: ⏳ Executando cURL...
============================================================

[21:12:28] INFO: ✅ cURL executado
============================================================

[21:12:28] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":13.25,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1473804648,"buyer_username":"0mh_l084od","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress CPF","cod":false,"create_time":1766078218,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":13.25,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rdyo-mdry4pvnzc3gc5_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23498835111,"item_name":"Kit 2 Brinquedol Walkie-Talkie Rádio Comunicador Infantil","item_sku":"DPX3902162792","main_item":false,"model_discounted_price":79.9,"model_id":0,"model_name":"","model_original_price":79.9,"model_quantity_purchased":1,"model_sku":"","order_item_id":23498835111,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_type":"","weight":1,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251219PM0UQEEM","order_status":"COMPLETED","package_list":[{"package_number":"OFG219777418117497","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress CPF","item_list":[{"item_id":23498835111,"model_id":0,"model_quantity":1,"order_item_id":23498835111,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":1000,"allow_self_design_awb":true,"logistics_channel_id":90016,"sorting_group":""}],"pay_time":1766078224,"payment_method":"Credit Card","pickup_done_time":1766177087,"recipient_address":{"name":"B****** ","phone":"******26","town":"","district":"João Gordo","city":"Montes Claros","state":"Minas Gerais","region":"BR","zipcode":"39400165","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766199599,"shipping_carrier":"Shopee Xpress CPF","split_up":false,"total_amount":93.04,"update_time":1767115781}]},"request_id":"e3e3e7f34731d120fb2eae401279b700:010002a26ed7bed8:0000003dea8241bc"}
    [curl_error] => 
)

============================================================

[21:12:28] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[21:12:28] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251219PM0UQEEM
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[21:12:28] INFO: ⚠️ Venda já existe no banco
Array
(
    [order_sn] => 251219PM0UQEEM
)

============================================================

[21:12:28] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PPYBSWM8
    [seller_id] => 392561929
    [user_id] => 554
    [status] => COMPLETED
)

============================================================

[21:12:28] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PPYBSWM8
    [shop_id] => 392561929
)

============================================================

[21:12:28] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 392561929
    [timestamp] => 1767129148
    [base_string] => 2009491/api/v2/order/get_order_detail1767129148eyJhbGciOiJIUzI1NiJ9.CJPTehABGImKmLsBIAEoieOXygYw3MeFhAk4AUAB.L8W21NJNua_briVHRX-PrIWjSRxhrfNgVrKljxSSQF8392561929
    [signature] => c5185eddb8de961d...
    [url_length] => 858
)

============================================================

[21:12:28] INFO: ⏳ Executando cURL...
============================================================

[21:12:29] INFO: ✅ cURL executado
============================================================

[21:12:29] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34731d139946cb199214dbb00"}
    [curl_error] => 
)

============================================================

[21:12:29] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[21:12:29] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[21:12:29] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 392561929
    [user_id] => 554
)

============================================================

[21:13:30] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512114TANB8C9
    [seller_id] => 944505280
    [user_id] => 255
    [status] => COMPLETED
)

============================================================

[21:13:30] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512114TANB8C9
    [shop_id] => 944505280
)

============================================================

[21:13:30] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 944505280
    [timestamp] => 1767129210
    [base_string] => 2009491/api/v2/order/get_order_detail1767129210eyJhbGciOiJIUzI1NiJ9.CJPTehABGMCDsMIDIAEot8_KygYw-6uWlw44AUAB.33dn5snGkcO6WqjLUH5dr0KhNAAyJeeqO_4tez9IyEE944505280
    [signature] => a7d9e61734719d77...
    [url_length] => 858
)

============================================================

[21:13:30] INFO: ⏳ Executando cURL...
============================================================

[21:14:00] INFO: ✅ cURL executado
============================================================

[21:14:00] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 0
    [response] => 
    [curl_error] => Connection timed out after 30002 milliseconds
)

============================================================

[21:14:00] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 2512114TANB8C9
    [error] => Erro cURL: Connection timed out after 30002 milliseconds
)

============================================================

[21:14:00] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 2512114TANB8C9
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[21:14:00] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 25121389BBWEM9
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[21:14:00] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 25121389BBWEM9
    [shop_id] => 504113848
)

============================================================

[21:14:00] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767129240
    [base_string] => 2009491/api/v2/order/get_order_detail1767129240eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo6OvQygYwj8mX5Q84AUAB.hwb8Vj6JFaESbMNaDweRkto7R3YLAa9-B0MSxlNiSBQ504113848
    [signature] => 4b1df33f2998ed56...
    [url_length] => 858
)

============================================================

[21:14:00] INFO: ⏳ Executando cURL...
============================================================

[21:14:01] INFO: ✅ cURL executado
============================================================

[21:14:01] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":19.45,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1576403234,"buyer_username":"wdad1etzpj","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1765585723,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":19.45,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"19317","series_number":"5","access_key":"41251232111081000193550050000193171410906049","issue_date":1765586026,"total_value":1.63,"products_total_value":1.63,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/br-11134207-7r98o-ma969smktzllf9_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23498144258,"item_name":"Kit 3 Caixas de Massinha de Modelar 12 Cores 180g","item_sku":"mx180","main_item":false,"model_discounted_price":16.33,"model_id":0,"model_name":"","model_original_price":16.5,"model_quantity_purchased":1,"model_sku":"","order_item_id":23498144258,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":1,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"25121389BBWEM9","order_status":"COMPLETED","package_list":[{"package_number":"OFG219284924105366","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23498144258,"model_id":0,"model_quantity":1,"order_item_id":23498144258,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":1000,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1765585729,"payment_method":"Credit Card","pickup_done_time":1765816383,"recipient_address":{"name":"T******a","phone":"******35","town":"","district":"Plano Diretor Sul","city":"Palmas","state":"Tocantins","region":"BR","zipcode":"77015594","full_address":"Qu******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1765853999,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":16.33,"update_time":1767126988}]},"request_id":"e3e3e7f34731d6b136978dff3d457f00:010002bd81eb05b4:000000f903ac9805"}
    [curl_error] => 
)

============================================================

[21:14:01] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[21:14:01] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 25121389BBWEM9
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[21:14:01] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 25121389BBWEM9
)

============================================================

[21:14:01] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251220SQGWAC8D
    [seller_id] => 635337797
    [user_id] => 15
    [status] => COMPLETED
)

============================================================

[21:14:01] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251220SQGWAC8D
    [shop_id] => 635337797
)

============================================================

[21:14:01] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 635337797
    [timestamp] => 1767129241
    [base_string] => 2009491/api/v2/order/get_order_detail1767129241eyJhbGciOiJIUzI1NiJ9.CJPTehABGMX4-a4CIAEo-v3QygYw8sLQjgo4AUAB.GnS1hdnSS_lJ9NpCBJYppuIKAs4wlOPMP9-61rNAIkQ635337797
    [signature] => ce6a4fa51e845a7f...
    [url_length] => 858
)

============================================================

[21:14:01] INFO: ⏳ Executando cURL...
============================================================

[21:14:03] INFO: ✅ cURL executado
============================================================

[21:14:03] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":12.04,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":415783641,"buyer_username":"bazzielenir14","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress CPF","cod":false,"create_time":1766185057,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":12.04,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134202-7rfg4-m97hftef5o74c1_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":18798148557,"item_name":"Kit 10 Cartas Pokemon Folha De Ouro Edicao Limitada Douradas","item_sku":"GH-7751674","main_item":false,"model_discounted_price":13.6,"model_id":0,"model_name":"","model_original_price":13.6,"model_quantity_purchased":1,"model_sku":"","order_item_id":18798148557,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_type":"","weight":0.3,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251220SQGWAC8D","order_status":"COMPLETED","package_list":[{"package_number":"OFG219884257170255","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress CPF","item_list":[{"item_id":18798148557,"model_id":0,"model_quantity":1,"order_item_id":18798148557,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":1334,"allow_self_design_awb":true,"logistics_channel_id":90016,"sorting_group":""}],"pay_time":1766185150,"payment_method":"Pix","pickup_done_time":1766514032,"recipient_address":{"name":"E******i","phone":"******42","town":"","district":"Tatuquara","city":"Curitiba","state":"Paraná","region":"BR","zipcode":"81470208","full_address":"Av******"},"region":"BR","return_request_due_date":1767703464,"reverse_shipping_fee":0,"ship_by_date":1766458799,"shipping_carrier":"Shopee Xpress CPF","split_up":false,"total_amount":13.6,"update_time":1767124754}]},"request_id":"e3e3e7f34731d6c776c22492f997d600:010002ecd5649695:000000b4d6eb617a"}
    [curl_error] => 
)

============================================================

[21:14:03] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[21:14:03] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251220SQGWAC8D
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[21:14:03] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251220SQGWAC8D
)

============================================================

[21:14:03] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PX9DWW05
    [seller_id] => 675930217
    [user_id] => 27
    [status] => COMPLETED
)

============================================================

[21:14:03] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PX9DWW05
    [shop_id] => 675930217
)

============================================================

[21:14:03] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 675930217
    [timestamp] => 1767129243
    [base_string] => 2009491/api/v2/order/get_order_detail1767129243eyJhbGciOiJIUzI1NiJ9.CJPTehABGOnAp8ICIAEo7OzPygYwtNyyug84AUAB.PXTztfKUjXXm2ZFTOKIzFege3NxPmt21MYjyBBr3sUA675930217
    [signature] => b7931be455753f66...
    [url_length] => 858
)

============================================================

[21:14:03] INFO: ⏳ Executando cURL...
============================================================

[21:14:04] INFO: ✅ cURL executado
============================================================

[21:14:04] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34731d6dcd3b885d0833ccb00"}
    [curl_error] => 
)

============================================================

[21:14:04] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[21:14:04] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[21:14:04] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 675930217
    [user_id] => 27
)

============================================================

[21:14:22] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251220U0XA1HTV
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[21:14:22] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251220U0XA1HTV
    [shop_id] => 504113848
)

============================================================

[21:14:22] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767129262
    [base_string] => 2009491/api/v2/order/get_order_detail1767129262eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo6OvQygYwj8mX5Q84AUAB.hwb8Vj6JFaESbMNaDweRkto7R3YLAa9-B0MSxlNiSBQ504113848
    [signature] => dd5e123950d24ec4...
    [url_length] => 858
)

============================================================

[21:14:22] INFO: ⏳ Executando cURL...
============================================================

[21:14:23] INFO: ✅ cURL executado
============================================================

[21:14:23] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":8.15,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":993097196,"buyer_username":"talitamadeiraverardi","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1766229530,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":8.15,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"20205","series_number":"5","access_key":"41251232111081000193550050000202051259995650","issue_date":1766229823,"total_value":1.3,"products_total_value":1.3,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rdyx-mdqgsykvzyu1a0_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23798776467,"item_name":"PAPEL CRIATIVO A4 120G  8 CORES 24 FOLHAS PAGINA BRASIL","item_sku":"pap.criat.24fls.120g.PB","main_item":false,"model_discounted_price":12.99,"model_id":0,"model_name":"","model_original_price":40,"model_quantity_purchased":1,"model_sku":"","order_item_id":23798776467,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":0.2,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251220U0XA1HTV","order_status":"COMPLETED","package_list":[{"package_number":"OFG219928730151465","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23798776467,"model_id":0,"model_quantity":1,"order_item_id":23798776467,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":420,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1766229561,"payment_method":"Pix","pickup_done_time":1766422695,"recipient_address":{"name":"T****** ","phone":"******68","town":"","district":"Vila da Oportunidade","city":"Carapicuíba","state":"São Paulo","region":"BR","zipcode":"06330000","full_address":"Es******"},"region":"BR","return_request_due_date":1767550218,"reverse_shipping_fee":0,"ship_by_date":1766458799,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":12.99,"update_time":1767127006}]},"request_id":"e3e3e7f34731d8065c0e9048db1bdb00:0100020b557889c6:000000a7684c938e"}
    [curl_error] => 
)

============================================================

[21:14:23] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[21:14:23] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251220U0XA1HTV
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[21:14:23] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251220U0XA1HTV
)

============================================================

[21:14:24] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251228JFMX6JA3
    [seller_id] => 320417540
    [user_id] => 93
    [status] => COMPLETED
)

============================================================

[21:14:24] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251228JFMX6JA3
    [shop_id] => 320417540
)

============================================================

[21:14:24] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 320417540
    [timestamp] => 1767129264
    [base_string] => 2009491/api/v2/order/get_order_detail1767129264eyJhbGciOiJIUzI1NiJ9.CJPTehABGITe5JgBIAEo_qzPygYw8ICuhAo4AUAB.MlLjDZi0gSq2k2v2TZo2hXqu0DhqwdNwmO_PgI4YI-A320417540
    [signature] => 8b20e806a88f9265...
    [url_length] => 858
)

============================================================

[21:14:24] INFO: ⏳ Executando cURL...
============================================================

[21:14:25] INFO: ✅ cURL executado
============================================================

[21:14:25] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34731d81b3e8ff52034998c00"}
    [curl_error] => 
)

============================================================

[21:14:25] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[21:14:25] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[21:14:25] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 320417540
    [user_id] => 93
)

============================================================

[21:19:02] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512114TANB8C9
    [seller_id] => 944505280
    [user_id] => 255
    [status] => COMPLETED
)

============================================================

[21:19:02] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512114TANB8C9
    [shop_id] => 944505280
)

============================================================

[21:19:02] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 944505280
    [timestamp] => 1767129542
    [base_string] => 2009491/api/v2/order/get_order_detail1767129542eyJhbGciOiJIUzI1NiJ9.CJPTehABGMCDsMIDIAEot8_KygYw-6uWlw44AUAB.33dn5snGkcO6WqjLUH5dr0KhNAAyJeeqO_4tez9IyEE944505280
    [signature] => dc4d14f1d4998f13...
    [url_length] => 858
)

============================================================

[21:19:02] INFO: ⏳ Executando cURL...
============================================================

[21:19:03] INFO: ✅ cURL executado
============================================================

[21:19:03] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34731e8ad187b06586c619800"}
    [curl_error] => 
)

============================================================

[21:19:03] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[21:19:03] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[21:19:03] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 944505280
    [user_id] => 255
)

============================================================

[21:33:31] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PPYBSWM8
    [seller_id] => 392561929
    [user_id] => 554
    [status] => COMPLETED
)

============================================================

[21:33:31] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PPYBSWM8
    [shop_id] => 392561929
)

============================================================

[21:33:31] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 392561929
    [timestamp] => 1767130411
    [base_string] => 2009491/api/v2/order/get_order_detail1767130411eyJhbGciOiJIUzI1NiJ9.CJPTehABGImKmLsBIAEoieOXygYw3MeFhAk4AUAB.L8W21NJNua_briVHRX-PrIWjSRxhrfNgVrKljxSSQF8392561929
    [signature] => 752d11a59a9f409e...
    [url_length] => 858
)

============================================================

[21:33:31] INFO: ⏳ Executando cURL...
============================================================

[21:33:32] INFO: ✅ cURL executado
============================================================

[21:33:32] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347321c83bbd1aa0d394e3800"}
    [curl_error] => 
)

============================================================

[21:33:32] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[21:33:32] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[21:33:32] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 392561929
    [user_id] => 554
)

============================================================

[21:41:16] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512137V3RCT3N
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[21:41:16] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512137V3RCT3N
    [shop_id] => 504113848
)

============================================================

[21:41:16] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767130876
    [base_string] => 2009491/api/v2/order/get_order_detail1767130876eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo6OvQygYwj8mX5Q84AUAB.hwb8Vj6JFaESbMNaDweRkto7R3YLAa9-B0MSxlNiSBQ504113848
    [signature] => a46a70242cbb187f...
    [url_length] => 858
)

============================================================

[21:41:16] INFO: ⏳ Executando cURL...
============================================================

[21:41:18] INFO: ✅ cURL executado
============================================================

[21:41:18] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":8.15,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1151519226,"buyer_username":"netesousa461","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1765571509,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":8.15,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"19255","series_number":"5","access_key":"41251232111081000193550050000192551898967548","issue_date":1765571626,"total_value":1.46,"products_total_value":1.46,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rd5c-m79tgf5x8muk7a_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":20499648418,"item_name":"Aquarela Leo e Leo - 12 Cores com um pincel.","item_sku":"AC12C","main_item":false,"model_discounted_price":14.59,"model_id":0,"model_name":"","model_original_price":24,"model_quantity_purchased":1,"model_sku":"","order_item_id":20499648418,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":216211355021312,"promotion_list":[{"promotion_type":"in_shop_flash_sale","promotion_id":216211355021312}],"promotion_type":"flash_sale","weight":0.11,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"2512137V3RCT3N","order_status":"COMPLETED","package_list":[{"package_number":"OFG219270709199702","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":20499648418,"model_id":0,"model_quantity":1,"order_item_id":20499648418,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":125,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1765571525,"payment_method":"SParcelado","pickup_done_time":1765817108,"recipient_address":{"name":"J******a","phone":"******46","town":"","district":"Taiaçupeba","city":"Mogi das Cruzes","state":"São Paulo","region":"BR","zipcode":"08765040","full_address":"Ru******"},"region":"BR","return_request_due_date":1767721682,"reverse_shipping_fee":0,"ship_by_date":1765853999,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":14.59,"update_time":1767119838}]},"request_id":"e3e3e7f34732383b852b7f63b3694700:01000201e90fd798:000000354cdf4f4d"}
    [curl_error] => 
)

============================================================

[21:41:18] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[21:41:18] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 2512137V3RCT3N
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[21:41:18] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 2512137V3RCT3N
)

============================================================

[21:43:09] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512137V3RCT3N
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[21:43:09] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512137V3RCT3N
    [shop_id] => 504113848
)

============================================================

[21:43:09] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767130989
    [base_string] => 2009491/api/v2/order/get_order_detail1767130989eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo6OvQygYwj8mX5Q84AUAB.hwb8Vj6JFaESbMNaDweRkto7R3YLAa9-B0MSxlNiSBQ504113848
    [signature] => 4bf9cbce887d9ec1...
    [url_length] => 858
)

============================================================

[21:43:09] INFO: ⏳ Executando cURL...
============================================================

[21:43:11] INFO: ✅ cURL executado
============================================================

[21:43:11] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":8.15,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1151519226,"buyer_username":"netesousa461","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1765571509,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":8.15,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"19255","series_number":"5","access_key":"41251232111081000193550050000192551898967548","issue_date":1765571626,"total_value":1.46,"products_total_value":1.46,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rd5c-m79tgf5x8muk7a_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":20499648418,"item_name":"Aquarela Leo e Leo - 12 Cores com um pincel.","item_sku":"AC12C","main_item":false,"model_discounted_price":14.59,"model_id":0,"model_name":"","model_original_price":24,"model_quantity_purchased":1,"model_sku":"","order_item_id":20499648418,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":216211355021312,"promotion_list":[{"promotion_type":"in_shop_flash_sale","promotion_id":216211355021312}],"promotion_type":"flash_sale","weight":0.11,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"2512137V3RCT3N","order_status":"COMPLETED","package_list":[{"package_number":"OFG219270709199702","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":20499648418,"model_id":0,"model_quantity":1,"order_item_id":20499648418,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":125,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1765571525,"payment_method":"SParcelado","pickup_done_time":1765817108,"recipient_address":{"name":"J******a","phone":"******46","town":"","district":"Taiaçupeba","city":"Mogi das Cruzes","state":"São Paulo","region":"BR","zipcode":"08765040","full_address":"Ru******"},"region":"BR","return_request_due_date":1767721682,"reverse_shipping_fee":0,"ship_by_date":1765853999,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":14.59,"update_time":1767119838}]},"request_id":"e3e3e7f347323ef64a814b12b6a6f700:01000248bc6cbda0:000000e0c7992b77"}
    [curl_error] => 
)

============================================================

[21:43:11] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[21:43:11] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 2512137V3RCT3N
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[21:43:11] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 2512137V3RCT3N
)

============================================================

[21:44:56] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512137V3RCT3N
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[21:44:56] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512137V3RCT3N
    [shop_id] => 504113848
)

============================================================

[21:44:56] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767131096
    [base_string] => 2009491/api/v2/order/get_order_detail1767131096eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo6OvQygYwj8mX5Q84AUAB.hwb8Vj6JFaESbMNaDweRkto7R3YLAa9-B0MSxlNiSBQ504113848
    [signature] => f9ae05557007d7fa...
    [url_length] => 858
)

============================================================

[21:44:56] INFO: ⏳ Executando cURL...
============================================================

[21:44:58] INFO: ✅ cURL executado
============================================================

[21:44:58] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":8.15,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1151519226,"buyer_username":"netesousa461","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1765571509,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":8.15,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"19255","series_number":"5","access_key":"41251232111081000193550050000192551898967548","issue_date":1765571626,"total_value":1.46,"products_total_value":1.46,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rd5c-m79tgf5x8muk7a_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":20499648418,"item_name":"Aquarela Leo e Leo - 12 Cores com um pincel.","item_sku":"AC12C","main_item":false,"model_discounted_price":14.59,"model_id":0,"model_name":"","model_original_price":24,"model_quantity_purchased":1,"model_sku":"","order_item_id":20499648418,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":216211355021312,"promotion_list":[{"promotion_type":"in_shop_flash_sale","promotion_id":216211355021312}],"promotion_type":"flash_sale","weight":0.11,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"2512137V3RCT3N","order_status":"COMPLETED","package_list":[{"package_number":"OFG219270709199702","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":20499648418,"model_id":0,"model_quantity":1,"order_item_id":20499648418,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":125,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1765571525,"payment_method":"SParcelado","pickup_done_time":1765817108,"recipient_address":{"name":"J******a","phone":"******46","town":"","district":"Taiaçupeba","city":"Mogi das Cruzes","state":"São Paulo","region":"BR","zipcode":"08765040","full_address":"Ru******"},"region":"BR","return_request_due_date":1767721682,"reverse_shipping_fee":0,"ship_by_date":1765853999,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":14.59,"update_time":1767119838}]},"request_id":"e3e3e7f34732455782cde8339c5f9b00:010002f205d60bc5:000000f468850d52"}
    [curl_error] => 
)

============================================================

[21:44:58] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[21:44:58] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 2512137V3RCT3N
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[21:44:58] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 2512137V3RCT3N
)

============================================================

[21:47:45] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512137V3RCT3N
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[21:47:45] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512137V3RCT3N
    [shop_id] => 504113848
)

============================================================

[21:47:45] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767131265
    [base_string] => 2009491/api/v2/order/get_order_detail1767131265eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo6OvQygYwj8mX5Q84AUAB.hwb8Vj6JFaESbMNaDweRkto7R3YLAa9-B0MSxlNiSBQ504113848
    [signature] => 7e2a5ba98a9cd55f...
    [url_length] => 858
)

============================================================

[21:47:45] INFO: ⏳ Executando cURL...
============================================================

[21:47:46] INFO: ✅ cURL executado
============================================================

[21:47:46] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":8.15,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1151519226,"buyer_username":"netesousa461","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1765571509,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":8.15,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"19255","series_number":"5","access_key":"41251232111081000193550050000192551898967548","issue_date":1765571626,"total_value":1.46,"products_total_value":1.46,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rd5c-m79tgf5x8muk7a_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":20499648418,"item_name":"Aquarela Leo e Leo - 12 Cores com um pincel.","item_sku":"AC12C","main_item":false,"model_discounted_price":14.59,"model_id":0,"model_name":"","model_original_price":24,"model_quantity_purchased":1,"model_sku":"","order_item_id":20499648418,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":216211355021312,"promotion_list":[{"promotion_type":"in_shop_flash_sale","promotion_id":216211355021312}],"promotion_type":"flash_sale","weight":0.11,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"2512137V3RCT3N","order_status":"COMPLETED","package_list":[{"package_number":"OFG219270709199702","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":20499648418,"model_id":0,"model_quantity":1,"order_item_id":20499648418,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":125,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1765571525,"payment_method":"SParcelado","pickup_done_time":1765817108,"recipient_address":{"name":"J******a","phone":"******46","town":"","district":"Taiaçupeba","city":"Mogi das Cruzes","state":"São Paulo","region":"BR","zipcode":"08765040","full_address":"Ru******"},"region":"BR","return_request_due_date":1767721682,"reverse_shipping_fee":0,"ship_by_date":1765853999,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":14.59,"update_time":1767119838}]},"request_id":"e3e3e7f347324f687e2fce380b302200:010002b376f1c0af:00000088cb563310"}
    [curl_error] => 
)

============================================================

[21:47:46] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[21:47:46] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 2512137V3RCT3N
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[21:47:46] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 2512137V3RCT3N
)

============================================================

[21:47:46] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_2512137V3RCT3N.json
============================================================

[21:47:46] INFO: 📦 Item #0
Array
(
    [item_name] => Aquarela Leo e Leo - 12 Cores com um pincel.
    [item_sku] => AC12C
    [model_sku] => 
    [sku_usado] => AC12C
    [tem_dpx] => 
)

============================================================

[21:47:46] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 2512137V3RCT3N
)

============================================================

[21:49:52] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251217JAAH3HN5
    [seller_id] => 1564423565
    [user_id] => 35
    [status] => COMPLETED
)

============================================================

[21:49:52] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251217JAAH3HN5
    [shop_id] => 1564423565
)

============================================================

[21:49:52] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 1564423565
    [timestamp] => 1767131392
    [base_string] => 2009491/api/v2/order/get_order_detail1767131392eyJhbGciOiJIUzI1NiJ9.CJPTehABGI3r_OkFIAEonMrQygYw6_jl_wM4AUAB.Ba11JIbx2p16o67S4-YM-oU8tPjkX-BM3Sb75DqmbKY1564423565
    [signature] => 0846e1ab3d6fa3d6...
    [url_length] => 859
)

============================================================

[21:49:52] INFO: ⏳ Executando cURL...
============================================================

[21:49:53] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251218MSTT444N
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[21:49:53] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251218MSTT444N
    [shop_id] => 504113848
)

============================================================

[21:49:53] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767131393
    [base_string] => 2009491/api/v2/order/get_order_detail1767131393eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo6OvQygYwj8mX5Q84AUAB.hwb8Vj6JFaESbMNaDweRkto7R3YLAa9-B0MSxlNiSBQ504113848
    [signature] => e60263d6035a70ae...
    [url_length] => 858
)

============================================================

[21:49:53] INFO: ⏳ Executando cURL...
============================================================

[21:49:53] INFO: ✅ cURL executado
============================================================

[21:49:53] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":10.83,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":375743611,"buyer_username":"vini550","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1765930366,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":10.83,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"35251235473442000130550010000002241102517176","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-8259q-mfu3otbv9dlbe2_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23899012031,"item_name":"Kit com 5 Bonecos Power Rangers – Aventura e Ação em Equipe!","item_sku":"DPX7379629291","main_item":false,"model_discounted_price":21,"model_id":0,"model_name":"","model_original_price":26.25,"model_quantity_purchased":1,"model_sku":"","order_item_id":23899012031,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":765350707118080}],"promotion_type":"","weight":1,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251217JAAH3HN5","order_status":"COMPLETED","package_list":[{"package_number":"OFG219629567104504","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23899012031,"model_id":0,"model_quantity":1,"order_item_id":23899012031,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":1000,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1765930409,"payment_method":"Pix","pickup_done_time":1766091403,"recipient_address":{"name":"V******e","phone":"******29","town":"","district":"Jardim Glória","city":"Limeira","state":"São Paulo","region":"BR","zipcode":"13487247","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766026799,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":31.83,"update_time":1767117603}]},"request_id":"e3e3e7f3473256f11a7cf0253084f600:010002dab6acaadb:000000741c03f754"}
    [curl_error] => 
)

============================================================

[21:49:53] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[21:49:53] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251217JAAH3HN5
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[21:49:53] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251217JAAH3HN5
)

============================================================

[21:49:53] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251217JAAH3HN5.json
============================================================

[21:49:53] INFO: 📦 Item #0
Array
(
    [item_name] => Kit com 5 Bonecos Power Rangers – Aventura e Ação em Equipe!
    [item_sku] => DPX7379629291
    [model_sku] => 
    [sku_usado] => DPX7379629291
    [tem_dpx] => 1
)

============================================================

[21:49:53] INFO: ⚠️ Venda já existe no banco
Array
(
    [order_sn] => 251217JAAH3HN5
)

============================================================

[21:49:53] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251218MSTT444N
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[21:49:53] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251218MSTT444N
    [shop_id] => 504113848
)

============================================================

[21:49:53] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767131393
    [base_string] => 2009491/api/v2/order/get_order_detail1767131393eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo6OvQygYwj8mX5Q84AUAB.hwb8Vj6JFaESbMNaDweRkto7R3YLAa9-B0MSxlNiSBQ504113848
    [signature] => e60263d6035a70ae...
    [url_length] => 858
)

============================================================

[21:49:53] INFO: ⏳ Executando cURL...
============================================================

[21:49:54] INFO: ✅ cURL executado
============================================================

[21:49:54] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":21.94,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1308262904,"buyer_username":"yasmimlorrane190","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1766015738,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":21.94,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"19922","series_number":"5","access_key":"41251232111081000193550050000199221229101720","issue_date":1766015928,"total_value":1.5,"products_total_value":1.5,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7repb-m8c25e95s23r4e_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23998374014,"item_name":"KIT 1/2/3/4/5/6  Colas Liquida Branca 1kg Escolar  PVA","item_sku":"KITSCB1000","main_item":false,"model_discounted_price":15,"model_id":149545492939,"model_name":"1","model_original_price":21.5,"model_quantity_purchased":1,"model_sku":"KIT1CB","order_item_id":23998374014,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":1.114,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251218MSTT444N","order_status":"COMPLETED","package_list":[{"package_number":"OFG219714938115312","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23998374014,"model_id":149545492939,"model_quantity":1,"order_item_id":23998374014,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":1114,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1766015749,"payment_method":"Credit Card","pickup_done_time":1766075743,"recipient_address":{"name":"Y******a","phone":"******11","town":"","district":"Residencial Ipês","city":"Goianésia","state":"Goiás","region":"BR","zipcode":"76387349","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766113199,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":26.94,"update_time":1767119849}]},"request_id":"e3e3e7f3473257077ccd28d776a8f900:01000289e0aadf3e:000000c4c397480f"}
    [curl_error] => 
)

============================================================

[21:49:54] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[21:49:54] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251218MSTT444N
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[21:49:54] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251218MSTT444N
)

============================================================

[21:49:54] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251218MSTT444N.json
============================================================

[21:49:54] INFO: 📦 Item #0
Array
(
    [item_name] => KIT 1/2/3/4/5/6  Colas Liquida Branca 1kg Escolar  PVA
    [item_sku] => KITSCB1000
    [model_sku] => KIT1CB
    [sku_usado] => KITSCB1000
    [tem_dpx] => 
)

============================================================

[21:49:54] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251218MSTT444N
)

============================================================

[21:49:54] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251206M2XTX2F3
    [seller_id] => 541362656
    [user_id] => 113
    [status] => COMPLETED
)

============================================================

[21:49:54] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251206M2XTX2F3
    [shop_id] => 541362656
)

============================================================

[21:49:54] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 541362656
    [timestamp] => 1767131394
    [base_string] => 2009491/api/v2/order/get_order_detail1767131394eyJhbGciOiJIUzI1NiJ9.CJPTehABGOCTkoICIAEotsbNygYwrIeplQQ4AUAB.swoTVxXi_FmYsIz1p4u93x7NXDKCDjb2CxAtyZyXNcs541362656
    [signature] => d705d267b8bc1b3f...
    [url_length] => 858
)

============================================================

[21:49:54] INFO: ⏳ Executando cURL...
============================================================

[21:49:54] INFO: ✅ cURL executado
============================================================

[21:49:54] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":21.94,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1308262904,"buyer_username":"yasmimlorrane190","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1766015738,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":21.94,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"19922","series_number":"5","access_key":"41251232111081000193550050000199221229101720","issue_date":1766015928,"total_value":1.5,"products_total_value":1.5,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7repb-m8c25e95s23r4e_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23998374014,"item_name":"KIT 1/2/3/4/5/6  Colas Liquida Branca 1kg Escolar  PVA","item_sku":"KITSCB1000","main_item":false,"model_discounted_price":15,"model_id":149545492939,"model_name":"1","model_original_price":21.5,"model_quantity_purchased":1,"model_sku":"KIT1CB","order_item_id":23998374014,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":1.114,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251218MSTT444N","order_status":"COMPLETED","package_list":[{"package_number":"OFG219714938115312","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23998374014,"model_id":149545492939,"model_quantity":1,"order_item_id":23998374014,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":1114,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1766015749,"payment_method":"Credit Card","pickup_done_time":1766075743,"recipient_address":{"name":"Y******a","phone":"******11","town":"","district":"Residencial Ipês","city":"Goianésia","state":"Goiás","region":"BR","zipcode":"76387349","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766113199,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":26.94,"update_time":1767119849}]},"request_id":"e3e3e7f34732570a3686ae678b6d2b00:01000231b34513c6:000000a0b27e7d7f"}
    [curl_error] => 
)

============================================================

[21:49:54] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[21:49:54] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251218MSTT444N
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[21:49:54] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251218MSTT444N
)

============================================================

[21:49:54] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251218MSTT444N.json
============================================================

[21:49:54] INFO: 📦 Item #0
Array
(
    [item_name] => KIT 1/2/3/4/5/6  Colas Liquida Branca 1kg Escolar  PVA
    [item_sku] => KITSCB1000
    [model_sku] => KIT1CB
    [sku_usado] => KITSCB1000
    [tem_dpx] => 
)

============================================================

[21:49:54] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251218MSTT444N
)

============================================================

[21:49:55] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251206M2XTX2F3
    [seller_id] => 541362656
    [user_id] => 113
    [status] => COMPLETED
)

============================================================

[21:49:55] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251206M2XTX2F3
    [shop_id] => 541362656
)

============================================================

[21:49:55] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 541362656
    [timestamp] => 1767131395
    [base_string] => 2009491/api/v2/order/get_order_detail1767131395eyJhbGciOiJIUzI1NiJ9.CJPTehABGOCTkoICIAEotsbNygYwrIeplQQ4AUAB.swoTVxXi_FmYsIz1p4u93x7NXDKCDjb2CxAtyZyXNcs541362656
    [signature] => b02fada43f913a1b...
    [url_length] => 858
)

============================================================

[21:49:55] INFO: ⏳ Executando cURL...
============================================================

[21:49:55] INFO: ✅ cURL executado
============================================================

[21:49:55] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34732571c7e8ae72789182100"}
    [curl_error] => 
)

============================================================

[21:49:55] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[21:49:55] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[21:49:55] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 541362656
    [user_id] => 113
)

============================================================

[21:49:56] INFO: ✅ cURL executado
============================================================

[21:49:56] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34732571faacbfe56b035e200"}
    [curl_error] => 
)

============================================================

[21:49:56] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[21:49:56] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[21:49:56] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 541362656
    [user_id] => 113
)

============================================================

[21:50:01] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PW8RS3FP
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[21:50:01] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PW8RS3FP
    [shop_id] => 504113848
)

============================================================

[21:50:01] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767131401
    [base_string] => 2009491/api/v2/order/get_order_detail1767131401eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo6OvQygYwj8mX5Q84AUAB.hwb8Vj6JFaESbMNaDweRkto7R3YLAa9-B0MSxlNiSBQ504113848
    [signature] => b4a30e663bf24548...
    [url_length] => 858
)

============================================================

[21:50:01] INFO: ⏳ Executando cURL...
============================================================

[21:50:02] INFO: ✅ cURL executado
============================================================

[21:50:02] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":31.16,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1350833660,"buyer_username":"nivaldotoss","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1766088147,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":31.16,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"20022","series_number":"5","access_key":"41251232111081000193550050000200221754185721","issue_date":1766142869,"total_value":6.89,"products_total_value":6.89,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rat9-mamsvfs6hptvb5_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":19599762178,"item_name":"Papel Sulfite Report Folha Ofício Para Impressão A4  com 500 Folhas","item_sku":"REPORTA4500","main_item":false,"model_discounted_price":34.45,"model_id":0,"model_name":"","model_original_price":53,"model_quantity_purchased":2,"model_sku":"","order_item_id":19599762178,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":3.4,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251219PW8RS3FP","order_status":"COMPLETED","package_list":[{"package_number":"OFG219787347103249","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":19599762178,"model_id":0,"model_quantity":2,"order_item_id":19599762178,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":6800,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1766088189,"payment_method":"Pix","pickup_done_time":1766162890,"recipient_address":{"name":"N******s","phone":"******43","town":"","district":"Centro","city":"Jaquirana","state":"Rio Grande do Sul","region":"BR","zipcode":"95420000","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766199599,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":79.06,"update_time":1767119852}]},"request_id":"e3e3e7f3473257856fd17663d5f7c500:010002cb167335a2:000000e2d60b7c8e"}
    [curl_error] => 
)

============================================================

[21:50:02] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[21:50:02] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251219PW8RS3FP
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[21:50:02] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251219PW8RS3FP
)

============================================================

[21:50:02] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251219PW8RS3FP.json
============================================================

[21:50:02] INFO: 📦 Item #0
Array
(
    [item_name] => Papel Sulfite Report Folha Ofício Para Impressão A4  com 500 Folhas
    [item_sku] => REPORTA4500
    [model_sku] => 
    [sku_usado] => REPORTA4500
    [tem_dpx] => 
)

============================================================

[21:50:02] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251219PW8RS3FP
)

============================================================

[21:50:03] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251215CREKQUTN
    [seller_id] => 861037471
    [user_id] => 41
    [status] => COMPLETED
)

============================================================

[21:50:03] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251215CREKQUTN
    [shop_id] => 861037471
)

============================================================

[21:50:03] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 861037471
    [timestamp] => 1767131403
    [base_string] => 2009491/api/v2/order/get_order_detail1767131403eyJhbGciOiJIUzI1NiJ9.CJPTehABGJ_HyZoDIAEo6OrQygYwr6y-4g44AUAB.V2EG_3DintAXgCI6JTUXEueRFpgce1RXo7dvtENYmKg861037471
    [signature] => ebbc52e726eed3e1...
    [url_length] => 858
)

============================================================

[21:50:03] INFO: ⏳ Executando cURL...
============================================================

[21:50:04] INFO: ✅ cURL executado
============================================================

[21:50:04] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":10.83,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":567281541,"buyer_username":"jcgrativol","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1765739377,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":10.83,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"2310","series_number":"3","access_key":"33251254881101000148550030000023101153386079","issue_date":1765739625,"total_value":19.99,"products_total_value":19.99,"tax_code":"6102"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134202-7rfif-m9dhcomlpkh365_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":19098138295,"item_name":"Estilete Profissional 18mm Com Trava Aço Inox Maciço","item_sku":"GH-8624014","main_item":false,"model_discounted_price":19.99,"model_id":0,"model_name":"","model_original_price":19.99,"model_quantity_purchased":1,"model_sku":"","order_item_id":19098138295,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_type":"","weight":0.476,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251215CREKQUTN","order_status":"COMPLETED","package_list":[{"package_number":"OFG219438577155310","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":19098138295,"model_id":0,"model_quantity":1,"order_item_id":19098138295,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":476,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1765739420,"payment_method":"Pix","pickup_done_time":1765829422,"recipient_address":{"name":"J******l","phone":"******66","town":"","district":"Ceilândia Norte (Ceilândia)","city":"Brasília","state":"Distrito Federal","region":"BR","zipcode":"72241307","full_address":"Qu******"},"region":"BR","return_request_due_date":1767446710,"reverse_shipping_fee":0,"ship_by_date":1765940399,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":19.99,"update_time":1767117841}]},"request_id":"e3e3e7f34732579a5a009caf67ff2a00:010002d3adfe2042:000000810c231065"}
    [curl_error] => 
)

============================================================

[21:50:04] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[21:50:04] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251215CREKQUTN
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[21:50:04] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251215CREKQUTN
)

============================================================

[21:50:04] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251215CREKQUTN.json
============================================================

[21:50:04] INFO: 📦 Item #0
Array
(
    [item_name] => Estilete Profissional 18mm Com Trava Aço Inox Maciço
    [item_sku] => GH-8624014
    [model_sku] => 
    [sku_usado] => GH-8624014
    [tem_dpx] => 
)

============================================================

[21:50:04] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251215CREKQUTN
)

============================================================

[21:50:04] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PM0UQEEM
    [seller_id] => 314867163
    [user_id] => 75
    [status] => COMPLETED
)

============================================================

[21:50:04] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PM0UQEEM
    [shop_id] => 314867163
)

============================================================

[21:50:04] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 314867163
    [timestamp] => 1767131404
    [base_string] => 2009491/api/v2/order/get_order_detail1767131404eyJhbGciOiJIUzI1NiJ9.CJPTehABGNv7kZYBIAEowdbQygYw7cHzhA04AUAB.5ztwdPJGJHYa0LZtw-C9cJFG91fbJqJ39uCeJHv7JXo314867163
    [signature] => ef6b927822f400c8...
    [url_length] => 858
)

============================================================

[21:50:04] INFO: ⏳ Executando cURL...
============================================================

[21:50:05] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251218PCREXWPK
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[21:50:05] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251218PCREXWPK
    [shop_id] => 504113848
)

============================================================

[21:50:05] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767131405
    [base_string] => 2009491/api/v2/order/get_order_detail1767131405eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo6OvQygYwj8mX5Q84AUAB.hwb8Vj6JFaESbMNaDweRkto7R3YLAa9-B0MSxlNiSBQ504113848
    [signature] => 14e08808faffc358...
    [url_length] => 858
)

============================================================

[21:50:05] INFO: ⏳ Executando cURL...
============================================================

[21:50:06] INFO: ✅ cURL executado
============================================================

[21:50:06] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":13.25,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1473804648,"buyer_username":"0mh_l084od","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress CPF","cod":false,"create_time":1766078218,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":13.25,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rdyo-mdry4pvnzc3gc5_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23498835111,"item_name":"Kit 2 Brinquedol Walkie-Talkie Rádio Comunicador Infantil","item_sku":"DPX3902162792","main_item":false,"model_discounted_price":79.9,"model_id":0,"model_name":"","model_original_price":79.9,"model_quantity_purchased":1,"model_sku":"","order_item_id":23498835111,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_type":"","weight":1,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251219PM0UQEEM","order_status":"COMPLETED","package_list":[{"package_number":"OFG219777418117497","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress CPF","item_list":[{"item_id":23498835111,"model_id":0,"model_quantity":1,"order_item_id":23498835111,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":1000,"allow_self_design_awb":true,"logistics_channel_id":90016,"sorting_group":""}],"pay_time":1766078224,"payment_method":"Credit Card","pickup_done_time":1766177087,"recipient_address":{"name":"B****** ","phone":"******26","town":"","district":"João Gordo","city":"Montes Claros","state":"Minas Gerais","region":"BR","zipcode":"39400165","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766199599,"shipping_carrier":"Shopee Xpress CPF","split_up":false,"total_amount":93.04,"update_time":1767115781}]},"request_id":"e3e3e7f3473257b04153b015f935c100:010002179b413c9b:000000c6d32b18ce"}
    [curl_error] => 
)

============================================================

[21:50:06] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[21:50:06] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251219PM0UQEEM
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[21:50:06] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251219PM0UQEEM
)

============================================================

[21:50:06] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251219PM0UQEEM.json
============================================================

[21:50:06] INFO: 📦 Item #0
Array
(
    [item_name] => Kit 2 Brinquedol Walkie-Talkie Rádio Comunicador Infantil
    [item_sku] => DPX3902162792
    [model_sku] => 
    [sku_usado] => DPX3902162792
    [tem_dpx] => 1
)

============================================================

[21:50:06] INFO: ⚠️ Venda já existe no banco
Array
(
    [order_sn] => 251219PM0UQEEM
)

============================================================

[21:50:06] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PPYBSWM8
    [seller_id] => 392561929
    [user_id] => 554
    [status] => COMPLETED
)

============================================================

[21:50:06] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PPYBSWM8
    [shop_id] => 392561929
)

============================================================

[21:50:06] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 392561929
    [timestamp] => 1767131406
    [base_string] => 2009491/api/v2/order/get_order_detail1767131406eyJhbGciOiJIUzI1NiJ9.CJPTehABGImKmLsBIAEoieOXygYw3MeFhAk4AUAB.L8W21NJNua_briVHRX-PrIWjSRxhrfNgVrKljxSSQF8392561929
    [signature] => 035e44ded3bc5f4c...
    [url_length] => 858
)

============================================================

[21:50:06] INFO: ⏳ Executando cURL...
============================================================

[21:50:07] INFO: ✅ cURL executado
============================================================

[21:50:07] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473257c9411068e4dcd5e900"}
    [curl_error] => 
)

============================================================

[21:50:07] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[21:50:07] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[21:50:07] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 392561929
    [user_id] => 554
)

============================================================

[21:50:07] INFO: ✅ cURL executado
============================================================

[21:50:07] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":22.65,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1343303880,"buyer_username":"luanaduarte824","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1766070420,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":22.65,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"19981","series_number":"5","access_key":"41251232111081000193550050000199811695024574","issue_date":1766142447,"total_value":4.11,"products_total_value":4.11,"tax_code":"5102"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rcfb-m6jyvhsn13qh25_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23193729090,"item_name":"Fita Dupla Face Transparente Extra Forte 12mm x 2m Adere","item_sku":"13506939461","main_item":false,"model_discounted_price":13.99,"model_id":238780794768,"model_name":"12mm x 2 m","model_original_price":13.99,"model_quantity_purchased":1,"model_sku":"13506939461-12mm x 2 m","order_item_id":23193729090,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_type":"","weight":0.05,"wholesale":false},{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7repb-m8c25e95s23r4e_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23998374014,"item_name":"KIT 1/2/3/4/5/6  Colas Liquida Branca 1kg Escolar  PVA","item_sku":"KITSCB1000","main_item":false,"model_discounted_price":15,"model_id":149545492939,"model_name":"1","model_original_price":21.5,"model_quantity_purchased":1,"model_sku":"KIT1CB","order_item_id":23998374014,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":1.114,"wholesale":false},{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rasn-mamv5aakmonk94_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23998560376,"item_name":"Papel Sulfite A4 100 Folhas 21x 29,7cm A4 (Brancas e Coloridas - Amarelo Azul Rosa Verde) -  Report","item_sku":"SENINHA4COLO","main_item":false,"model_discounted_price":12.06,"model_id":199608168335,"model_name":"Report (Azul 100 fls)","model_original_price":18,"model_quantity_purchased":1,"model_sku":"A4AZUL","order_item_id":23998560376,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":0.5,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251218PCREXWPK","order_status":"COMPLETED","package_list":[{"package_number":"OFG219769620156191","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23998374014,"model_id":149545492939,"model_quantity":1,"order_item_id":23998374014,"promotion_group_id":0,"product_location_id":"BRZ"},{"item_id":23193729090,"model_id":238780794768,"model_quantity":1,"order_item_id":23193729090,"promotion_group_id":0,"product_location_id":"BRZ"},{"item_id":23998560376,"model_id":199608168335,"model_quantity":1,"order_item_id":23998560376,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":4200,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1766070429,"payment_method":"Credit Card","pickup_done_time":1766162480,"recipient_address":{"name":"L******e","phone":"******95","town":"","district":"Salgado Filho","city":"Salgado Filho","state":"Paraná","region":"BR","zipcode":"85620125","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766199599,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":63.7,"update_time":1767119851}]},"request_id":"e3e3e7f3473257c64bb74671c5755c00:01000296d37ec8d3:000000873ab343dc"}
    [curl_error] => 
)

============================================================

[21:50:07] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[21:50:07] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251218PCREXWPK
    [order_status] => COMPLETED
    [items_count] => 3
)

============================================================

[21:50:07] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 3
    [order_sn] => 251218PCREXWPK
)

============================================================

[21:50:07] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251218PCREXWPK.json
============================================================

[21:50:07] INFO: 📦 Item #0
Array
(
    [item_name] => Fita Dupla Face Transparente Extra Forte 12mm x 2m Adere
    [item_sku] => 13506939461
    [model_sku] => 13506939461-12mm x 2 m
    [sku_usado] => 13506939461
    [tem_dpx] => 
)

============================================================

[21:50:07] INFO: 📦 Item #1
Array
(
    [item_name] => KIT 1/2/3/4/5/6  Colas Liquida Branca 1kg Escolar  PVA
    [item_sku] => KITSCB1000
    [model_sku] => KIT1CB
    [sku_usado] => KITSCB1000
    [tem_dpx] => 
)

============================================================

[21:50:07] INFO: 📦 Item #2
Array
(
    [item_name] => Papel Sulfite A4 100 Folhas 21x 29,7cm A4 (Brancas e Coloridas - Amarelo Azul Rosa Verde) -  Report
    [item_sku] => SENINHA4COLO
    [model_sku] => A4AZUL
    [sku_usado] => SENINHA4COLO
    [tem_dpx] => 
)

============================================================

[21:50:07] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251218PCREXWPK
)

============================================================

[21:50:07] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512126Y2PFFAW
    [seller_id] => 1408943514
    [user_id] => 1110
    [status] => COMPLETED
)

============================================================

[21:50:07] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512126Y2PFFAW
    [shop_id] => 1408943514
)

============================================================

[21:50:07] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 1408943514
    [timestamp] => 1767131407
    [base_string] => 2009491/api/v2/order/get_order_detail1767131407eyJhbGciOiJIUzI1NiJ9.CJPTehABGJqL658FIAEotIDRygYwyoOw4A84AUAB.W8a95vHbcfqSkrbFZI3SHYjMaEmTAaYrTGc0xQollKE1408943514
    [signature] => e3cf14728ec6c153...
    [url_length] => 859
)

============================================================

[21:50:07] INFO: ⏳ Executando cURL...
============================================================

[21:50:08] INFO: ✅ cURL executado
============================================================

[21:50:08] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":25.07,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":654443574,"buyer_username":"tacianamorais","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1765540335,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":25.07,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"35251247638789000174550020000010141132512593","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rd5t-m7v3v8mrovgtf5_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":20998103575,"item_name":"Gel Solido Alongamento de Tips Transparente 1 Real Love 15ml","item_sku":"80542","main_item":false,"model_discounted_price":21.84,"model_id":0,"model_name":"","model_original_price":22.99,"model_quantity_purchased":2,"model_sku":"","order_item_id":20998103575,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":771101123067904,"promotion_list":[{"promotion_type":"platform_sale","promotion_id":771101123067904}],"promotion_type":"product_promotion_BR","weight":0.1,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"2512126Y2PFFAW","order_status":"COMPLETED","package_list":[{"package_number":"OFG219239535171120","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":20998103575,"model_id":0,"model_quantity":2,"order_item_id":20998103575,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":200,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1765540371,"payment_method":"Pix","pickup_done_time":1765547791,"recipient_address":{"name":"T******s","phone":"******42","town":"","district":"Rural","city":"Esperantina","state":"Piauí","region":"BR","zipcode":"64180000","full_address":"Ma******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1765594799,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":48.75,"update_time":1767119397}]},"request_id":"e3e3e7f3473257dbbce42dd31961f900:0100022bc7bb52f0:000000793df31af3"}
    [curl_error] => 
)

============================================================

[21:50:08] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[21:50:08] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 2512126Y2PFFAW
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[21:50:08] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 2512126Y2PFFAW
)

============================================================

[21:50:08] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_2512126Y2PFFAW.json
============================================================

[21:50:08] INFO: 📦 Item #0
Array
(
    [item_name] => Gel Solido Alongamento de Tips Transparente 1 Real Love 15ml
    [item_sku] => 80542
    [model_sku] => 
    [sku_usado] => 80542
    [tem_dpx] => 
)

============================================================

[21:50:08] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 2512126Y2PFFAW
)

============================================================

[21:50:08] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251217JHKTCX72
    [seller_id] => 675930217
    [user_id] => 27
    [status] => COMPLETED
)

============================================================

[21:50:08] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251217JHKTCX72
    [shop_id] => 675930217
)

============================================================

[21:50:08] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 675930217
    [timestamp] => 1767131408
    [base_string] => 2009491/api/v2/order/get_order_detail1767131408eyJhbGciOiJIUzI1NiJ9.CJPTehABGOnAp8ICIAEo7OzPygYwtNyyug84AUAB.PXTztfKUjXXm2ZFTOKIzFege3NxPmt21MYjyBBr3sUA675930217
    [signature] => 946075efc3cd3bf8...
    [url_length] => 858
)

============================================================

[21:50:08] INFO: ⏳ Executando cURL...
============================================================

[21:50:09] INFO: ✅ cURL executado
============================================================

[21:50:09] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473257f0ad7f62ca34394d00"}
    [curl_error] => 
)

============================================================

[21:50:09] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[21:50:09] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[21:50:09] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 675930217
    [user_id] => 27
)

============================================================

[22:05:49] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PPYBSWM8
    [seller_id] => 392561929
    [user_id] => 554
    [status] => COMPLETED
)

============================================================

[22:05:49] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PPYBSWM8
    [shop_id] => 392561929
)

============================================================

[22:05:49] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 392561929
    [timestamp] => 1767132349
    [base_string] => 2009491/api/v2/order/get_order_detail1767132349eyJhbGciOiJIUzI1NiJ9.CJPTehABGImKmLsBIAEoieOXygYw3MeFhAk4AUAB.L8W21NJNua_briVHRX-PrIWjSRxhrfNgVrKljxSSQF8392561929
    [signature] => 9d99b7125d838216...
    [url_length] => 858
)

============================================================

[22:05:49] INFO: ⏳ Executando cURL...
============================================================

[22:06:00] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251220U0XA1HTV
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[22:06:00] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251220U0XA1HTV
    [shop_id] => 504113848
)

============================================================

[22:06:00] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767132360
    [base_string] => 2009491/api/v2/order/get_order_detail1767132360eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo6OvQygYwj8mX5Q84AUAB.hwb8Vj6JFaESbMNaDweRkto7R3YLAa9-B0MSxlNiSBQ504113848
    [signature] => dd565f93f5b5564f...
    [url_length] => 858
)

============================================================

[22:06:00] INFO: ⏳ Executando cURL...
============================================================

[22:06:01] INFO: ✅ cURL executado
============================================================

[22:06:01] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":8.15,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":993097196,"buyer_username":"talitamadeiraverardi","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1766229530,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":8.15,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"20205","series_number":"5","access_key":"41251232111081000193550050000202051259995650","issue_date":1766229823,"total_value":1.3,"products_total_value":1.3,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rdyx-mdqgsykvzyu1a0_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23798776467,"item_name":"PAPEL CRIATIVO A4 120G  8 CORES 24 FOLHAS PAGINA BRASIL","item_sku":"pap.criat.24fls.120g.PB","main_item":false,"model_discounted_price":12.99,"model_id":0,"model_name":"","model_original_price":40,"model_quantity_purchased":1,"model_sku":"","order_item_id":23798776467,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":0.2,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251220U0XA1HTV","order_status":"COMPLETED","package_list":[{"package_number":"OFG219928730151465","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23798776467,"model_id":0,"model_quantity":1,"order_item_id":23798776467,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":420,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1766229561,"payment_method":"Pix","pickup_done_time":1766422695,"recipient_address":{"name":"T****** ","phone":"******68","town":"","district":"Vila da Oportunidade","city":"Carapicuíba","state":"São Paulo","region":"BR","zipcode":"06330000","full_address":"Es******"},"region":"BR","return_request_due_date":1767550218,"reverse_shipping_fee":0,"ship_by_date":1766458799,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":12.99,"update_time":1767127006}]},"request_id":"e3e3e7f3473290aad3e3251968c17100:010002db2e2b7aa6:000000eb6eb9c958"}
    [curl_error] => 
)

============================================================

[22:06:01] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[22:06:01] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251220U0XA1HTV
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[22:06:01] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251220U0XA1HTV
)

============================================================

[22:06:01] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251220U0XA1HTV.json
============================================================

[22:06:01] INFO: 📦 Item #0
Array
(
    [item_name] => PAPEL CRIATIVO A4 120G  8 CORES 24 FOLHAS PAGINA BRASIL
    [item_sku] => pap.criat.24fls.120g.PB
    [model_sku] => 
    [sku_usado] => pap.criat.24fls.120g.PB
    [tem_dpx] => 
)

============================================================

[22:06:01] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251220U0XA1HTV
)

============================================================

[22:06:02] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251228JFMX6JA3
    [seller_id] => 320417540
    [user_id] => 93
    [status] => COMPLETED
)

============================================================

[22:06:02] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251228JFMX6JA3
    [shop_id] => 320417540
)

============================================================

[22:06:02] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 320417540
    [timestamp] => 1767132362
    [base_string] => 2009491/api/v2/order/get_order_detail1767132362eyJhbGciOiJIUzI1NiJ9.CJPTehABGITe5JgBIAEo_qzPygYw8ICuhAo4AUAB.MlLjDZi0gSq2k2v2TZo2hXqu0DhqwdNwmO_PgI4YI-A320417540
    [signature] => ec2cad22dc8c35c8...
    [url_length] => 858
)

============================================================

[22:06:02] INFO: ⏳ Executando cURL...
============================================================

[22:06:03] INFO: ✅ cURL executado
============================================================

[22:06:03] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473290c373d7919645320100"}
    [curl_error] => 
)

============================================================

[22:06:03] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[22:06:03] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[22:06:03] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 320417540
    [user_id] => 93
)

============================================================

[22:34:31] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512221UM6W3UB
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[22:34:31] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512221UM6W3UB
    [shop_id] => 504113848
)

============================================================

[22:34:31] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767134071
    [base_string] => 2009491/api/v2/order/get_order_detail1767134071eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo6OvQygYwj8mX5Q84AUAB.hwb8Vj6JFaESbMNaDweRkto7R3YLAa9-B0MSxlNiSBQ504113848
    [signature] => 3747c49eec76136c...
    [url_length] => 858
)

============================================================

[22:34:31] INFO: ⏳ Executando cURL...
============================================================

[22:34:32] INFO: ✅ cURL executado
============================================================

[22:34:32] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":15.69,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":600330944,"buyer_username":"miguelzinhoscassiotti","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1766364829,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":15.69,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"20369","series_number":"5","access_key":"41251232111081000193550050000203691170920386","issue_date":1766365121,"total_value":3.27,"products_total_value":3.27,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/br-11134207-7r98o-ma969smktzllf9_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23498144258,"item_name":"Kit 3 Caixas de Massinha de Modelar 12 Cores 180g","item_sku":"mx180","main_item":false,"model_discounted_price":16.33,"model_id":0,"model_name":"","model_original_price":16.5,"model_quantity_purchased":2,"model_sku":"","order_item_id":23498144258,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":1,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"2512221UM6W3UB","order_status":"COMPLETED","package_list":[{"package_number":"OFG220064030108213","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23498144258,"model_id":0,"model_quantity":2,"order_item_id":23498144258,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":2000,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1766364858,"payment_method":"Pix","pickup_done_time":1766509637,"recipient_address":{"name":"T****** ","phone":"******05","town":"","district":"Jardim São Paulo","city":"Poços de Caldas","state":"Minas Gerais","region":"BR","zipcode":"37704000","full_address":"Av******"},"region":"BR","return_request_due_date":1767640142,"reverse_shipping_fee":0,"ship_by_date":1766545199,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":32.66,"update_time":1767127010}]},"request_id":"e3e3e7f34732f6a4041d1da10a35d100:010002cede3492b4:0000000d1157fcc7"}
    [curl_error] => 
)

============================================================

[22:34:32] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[22:34:32] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 2512221UM6W3UB
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[22:34:32] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 2512221UM6W3UB
)

============================================================

[22:34:32] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_2512221UM6W3UB.json
============================================================

[22:34:32] INFO: 📦 Item #0
Array
(
    [item_name] => Kit 3 Caixas de Massinha de Modelar 12 Cores 180g
    [item_sku] => mx180
    [model_sku] => 
    [sku_usado] => mx180
    [tem_dpx] => 
)

============================================================

[22:34:32] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 2512221UM6W3UB
)

============================================================

[22:34:32] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251218MRUC0DYY
    [seller_id] => 533042255
    [user_id] => 23862
    [status] => COMPLETED
)

============================================================

[22:34:32] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251218MRUC0DYY
    [shop_id] => 533042255
)

============================================================

[22:34:32] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 533042255
    [timestamp] => 1767134072
    [base_string] => 2009491/api/v2/order/get_order_detail1767134072eyJhbGciOiJIUzI1NiJ9.CJPTehABGM-olv4BIAEo6ciYyQYwjNXvrAQ4AUAB.HPYNaOvFDySsG9Exk0-7Up8Xgg1WAw5lYOUnq4RC1QA533042255
    [signature] => b202dcdf76949519...
    [url_length] => 858
)

============================================================

[22:34:32] INFO: ⏳ Executando cURL...
============================================================

[22:34:33] INFO: ✅ cURL executado
============================================================

[22:34:33] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34732f6b94eb7035481a9dc00"}
    [curl_error] => 
)

============================================================

[22:34:33] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[22:34:33] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[22:34:33] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 533042255
    [user_id] => 23862
)

============================================================

[22:39:31] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PPYBSWM8
    [seller_id] => 392561929
    [user_id] => 554
    [status] => COMPLETED
)

============================================================

[22:39:31] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PPYBSWM8
    [shop_id] => 392561929
)

============================================================

[22:39:31] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 392561929
    [timestamp] => 1767134371
    [base_string] => 2009491/api/v2/order/get_order_detail1767134371eyJhbGciOiJIUzI1NiJ9.CJPTehABGImKmLsBIAEoieOXygYw3MeFhAk4AUAB.L8W21NJNua_briVHRX-PrIWjSRxhrfNgVrKljxSSQF8392561929
    [signature] => 014def5a963ae46a...
    [url_length] => 858
)

============================================================

[22:39:31] INFO: ⏳ Executando cURL...
============================================================

[22:39:32] INFO: ✅ cURL executado
============================================================

[22:39:32] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f34733088c9ad7868d42572b00"}
    [curl_error] => 
)

============================================================

[22:39:32] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[22:39:32] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[22:39:32] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 392561929
    [user_id] => 554
)

============================================================

[23:05:01] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PPYBSWM8
    [seller_id] => 392561929
    [user_id] => 554
    [status] => COMPLETED
)

============================================================

[23:05:01] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PPYBSWM8
    [shop_id] => 392561929
)

============================================================

[23:05:01] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 392561929
    [timestamp] => 1767135901
    [base_string] => 2009491/api/v2/order/get_order_detail1767135901eyJhbGciOiJIUzI1NiJ9.CJPTehABGImKmLsBIAEoieOXygYw3MeFhAk4AUAB.L8W21NJNua_briVHRX-PrIWjSRxhrfNgVrKljxSSQF8392561929
    [signature] => 3a805a6a5d913d95...
    [url_length] => 858
)

============================================================

[23:05:01] INFO: ⏳ Executando cURL...
============================================================

[23:05:02] INFO: ✅ cURL executado
============================================================

[23:05:02] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f3473363c1a75793b44f0b3700"}
    [curl_error] => 
)

============================================================

[23:05:02] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[23:05:02] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[23:05:02] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 392561929
    [user_id] => 554
)

============================================================

[23:07:05] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512137V3RCT3N
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[23:07:05] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512137V3RCT3N
    [shop_id] => 504113848
)

============================================================

[23:07:05] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767136025
    [base_string] => 2009491/api/v2/order/get_order_detail1767136025eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo6OvQygYwj8mX5Q84AUAB.hwb8Vj6JFaESbMNaDweRkto7R3YLAa9-B0MSxlNiSBQ504113848
    [signature] => 2a8bdac5c3b4260a...
    [url_length] => 858
)

============================================================

[23:07:05] INFO: ⏳ Executando cURL...
============================================================

[23:07:07] INFO: ✅ cURL executado
============================================================

[23:07:07] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":8.15,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1151519226,"buyer_username":"netesousa461","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1765571509,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":8.15,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"19255","series_number":"5","access_key":"41251232111081000193550050000192551898967548","issue_date":1765571626,"total_value":1.46,"products_total_value":1.46,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rd5c-m79tgf5x8muk7a_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":20499648418,"item_name":"Aquarela Leo e Leo - 12 Cores com um pincel.","item_sku":"AC12C","main_item":false,"model_discounted_price":14.59,"model_id":0,"model_name":"","model_original_price":24,"model_quantity_purchased":1,"model_sku":"","order_item_id":20499648418,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":216211355021312,"promotion_list":[{"promotion_type":"in_shop_flash_sale","promotion_id":216211355021312}],"promotion_type":"flash_sale","weight":0.11,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"2512137V3RCT3N","order_status":"COMPLETED","package_list":[{"package_number":"OFG219270709199702","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":20499648418,"model_id":0,"model_quantity":1,"order_item_id":20499648418,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":125,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1765571525,"payment_method":"SParcelado","pickup_done_time":1765817108,"recipient_address":{"name":"J******a","phone":"******46","town":"","district":"Taiaçupeba","city":"Mogi das Cruzes","state":"São Paulo","region":"BR","zipcode":"08765040","full_address":"Ru******"},"region":"BR","return_request_due_date":1767721682,"reverse_shipping_fee":0,"ship_by_date":1765853999,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":14.59,"update_time":1767119838}]},"request_id":"e3e3e7f347336b23aacbb7f6bcf0e700:01000298c327b34e:000000ce29583697"}
    [curl_error] => 
)

============================================================

[23:07:07] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[23:07:07] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 2512137V3RCT3N
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[23:07:07] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 2512137V3RCT3N
)

============================================================

[23:07:07] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_2512137V3RCT3N.json
============================================================

[23:07:07] INFO: 📦 Item #0
Array
(
    [item_name] => Aquarela Leo e Leo - 12 Cores com um pincel.
    [item_sku] => AC12C
    [model_sku] => 
    [sku_usado] => AC12C
    [tem_dpx] => 
)

============================================================

[23:07:07] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 2512137V3RCT3N
)

============================================================

[23:07:07] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251217JAAH3HN5
    [seller_id] => 1564423565
    [user_id] => 35
    [status] => COMPLETED
)

============================================================

[23:07:07] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251217JAAH3HN5
    [shop_id] => 1564423565
)

============================================================

[23:07:07] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 1564423565
    [timestamp] => 1767136027
    [base_string] => 2009491/api/v2/order/get_order_detail1767136027eyJhbGciOiJIUzI1NiJ9.CJPTehABGI3r_OkFIAEonMrQygYw6_jl_wM4AUAB.Ba11JIbx2p16o67S4-YM-oU8tPjkX-BM3Sb75DqmbKY1564423565
    [signature] => 9d1520bed178c09a...
    [url_length] => 859
)

============================================================

[23:07:07] INFO: ⏳ Executando cURL...
============================================================

[23:07:08] INFO: ✅ cURL executado
============================================================

[23:07:08] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":10.83,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":375743611,"buyer_username":"vini550","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1765930366,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":10.83,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"35251235473442000130550010000002241102517176","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-8259q-mfu3otbv9dlbe2_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23899012031,"item_name":"Kit com 5 Bonecos Power Rangers – Aventura e Ação em Equipe!","item_sku":"DPX7379629291","main_item":false,"model_discounted_price":21,"model_id":0,"model_name":"","model_original_price":26.25,"model_quantity_purchased":1,"model_sku":"","order_item_id":23899012031,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":765350707118080}],"promotion_type":"","weight":1,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251217JAAH3HN5","order_status":"COMPLETED","package_list":[{"package_number":"OFG219629567104504","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23899012031,"model_id":0,"model_quantity":1,"order_item_id":23899012031,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":1000,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1765930409,"payment_method":"Pix","pickup_done_time":1766091403,"recipient_address":{"name":"V******e","phone":"******29","town":"","district":"Jardim Glória","city":"Limeira","state":"São Paulo","region":"BR","zipcode":"13487247","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766026799,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":31.83,"update_time":1767117603}]},"request_id":"e3e3e7f347336b3cb2dff25c5bc62e00:0100020b2e2e1be1:000000b9c92bb933"}
    [curl_error] => 
)

============================================================

[23:07:08] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[23:07:08] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251217JAAH3HN5
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[23:07:08] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251217JAAH3HN5
)

============================================================

[23:07:08] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251217JAAH3HN5.json
============================================================

[23:07:08] INFO: 📦 Item #0
Array
(
    [item_name] => Kit com 5 Bonecos Power Rangers – Aventura e Ação em Equipe!
    [item_sku] => DPX7379629291
    [model_sku] => 
    [sku_usado] => DPX7379629291
    [tem_dpx] => 1
)

============================================================

[23:07:08] INFO: ⚠️ Venda já existe no banco
Array
(
    [order_sn] => 251217JAAH3HN5
)

============================================================

[23:07:09] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251218MSTT444N
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[23:07:09] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251218MSTT444N
    [shop_id] => 504113848
)

============================================================

[23:07:09] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767136029
    [base_string] => 2009491/api/v2/order/get_order_detail1767136029eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo6OvQygYwj8mX5Q84AUAB.hwb8Vj6JFaESbMNaDweRkto7R3YLAa9-B0MSxlNiSBQ504113848
    [signature] => cf581bc42ba3a75c...
    [url_length] => 858
)

============================================================

[23:07:09] INFO: ⏳ Executando cURL...
============================================================

[23:07:10] INFO: ✅ cURL executado
============================================================

[23:07:10] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":21.94,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1308262904,"buyer_username":"yasmimlorrane190","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1766015738,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":21.94,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"19922","series_number":"5","access_key":"41251232111081000193550050000199221229101720","issue_date":1766015928,"total_value":1.5,"products_total_value":1.5,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7repb-m8c25e95s23r4e_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23998374014,"item_name":"KIT 1/2/3/4/5/6  Colas Liquida Branca 1kg Escolar  PVA","item_sku":"KITSCB1000","main_item":false,"model_discounted_price":15,"model_id":149545492939,"model_name":"1","model_original_price":21.5,"model_quantity_purchased":1,"model_sku":"KIT1CB","order_item_id":23998374014,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":1.114,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251218MSTT444N","order_status":"COMPLETED","package_list":[{"package_number":"OFG219714938115312","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23998374014,"model_id":149545492939,"model_quantity":1,"order_item_id":23998374014,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":1114,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1766015749,"payment_method":"Credit Card","pickup_done_time":1766075743,"recipient_address":{"name":"Y******a","phone":"******11","town":"","district":"Residencial Ipês","city":"Goianésia","state":"Goiás","region":"BR","zipcode":"76387349","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766113199,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":26.94,"update_time":1767119849}]},"request_id":"e3e3e7f347336b55396dc18658869e00:01000250bc200113:0000004dcf7336a3"}
    [curl_error] => 
)

============================================================

[23:07:10] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[23:07:10] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251218MSTT444N
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[23:07:10] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251218MSTT444N
)

============================================================

[23:07:10] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251218MSTT444N.json
============================================================

[23:07:10] INFO: 📦 Item #0
Array
(
    [item_name] => KIT 1/2/3/4/5/6  Colas Liquida Branca 1kg Escolar  PVA
    [item_sku] => KITSCB1000
    [model_sku] => KIT1CB
    [sku_usado] => KITSCB1000
    [tem_dpx] => 
)

============================================================

[23:07:10] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251218MSTT444N
)

============================================================

[23:07:10] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251206M2XTX2F3
    [seller_id] => 541362656
    [user_id] => 113
    [status] => COMPLETED
)

============================================================

[23:07:10] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251206M2XTX2F3
    [shop_id] => 541362656
)

============================================================

[23:07:10] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 541362656
    [timestamp] => 1767136030
    [base_string] => 2009491/api/v2/order/get_order_detail1767136030eyJhbGciOiJIUzI1NiJ9.CJPTehABGOCTkoICIAEotsbNygYwrIeplQQ4AUAB.swoTVxXi_FmYsIz1p4u93x7NXDKCDjb2CxAtyZyXNcs541362656
    [signature] => 43dca874464d67c6...
    [url_length] => 858
)

============================================================

[23:07:10] INFO: ⏳ Executando cURL...
============================================================

[23:07:11] INFO: ✅ cURL executado
============================================================

[23:07:11] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347336b6a83f232fd73a5d600"}
    [curl_error] => 
)

============================================================

[23:07:11] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[23:07:11] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[23:07:11] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 541362656
    [user_id] => 113
)

============================================================

[23:07:12] INFO: ✅ Token atualizado com sucesso
Array
(
    [new_token_preview] => eyJhbGciOiJIUzI1NiJ9...
)

============================================================

[23:07:12] INFO: ✅ Token atualizado com sucesso! Tentando novamente...
============================================================

[23:07:12] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251206M2XTX2F3
    [shop_id] => 541362656
)

============================================================

[23:07:12] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 541362656
    [timestamp] => 1767136032
    [base_string] => 2009491/api/v2/order/get_order_detail1767136032eyJhbGciOiJIUzI1NiJ9.CJPTehABGOCTkoICIAEooLbRygYw06rKugc4AUAB.grRCtW0ZUFTkXycxyzhdMQ5fDR9wlTS0AsanCgeSbQ4541362656
    [signature] => 7d12b3ea5721c7f7...
    [url_length] => 858
)

============================================================

[23:07:12] INFO: ⏳ Executando cURL...
============================================================

[23:07:13] INFO: ✅ cURL executado
============================================================

[23:07:13] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":24.94,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":365893583,"buyer_username":"marikeppke","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Correios","cod":false,"create_time":1764991177,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":24.94,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-8224q-mhlwsskx3rpi7e_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":58201192192,"item_name":"Toucas Para Banho Com Elastico Impermeavel Hidratacao","item_sku":"DPX1264911531","main_item":false,"model_discounted_price":15.61,"model_id":0,"model_name":"","model_original_price":15.61,"model_quantity_purchased":1,"model_sku":"","order_item_id":58201192192,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_type":"","weight":0.3,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251206M2XTX2F3","order_status":"COMPLETED","package_list":[{"package_number":"OFG218690378104614","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Correios","item_list":[{"item_id":58201192192,"model_id":0,"model_quantity":1,"order_item_id":58201192192,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":500,"allow_self_design_awb":true,"logistics_channel_id":90003,"sorting_group":""}],"pay_time":1764991185,"payment_method":"Credit Card","pickup_done_time":1765213730,"recipient_address":{"name":"M******e","phone":"******95","town":"","district":"Centro","city":"Governador Valadares","state":"Minas Gerais","region":"BR","zipcode":"35010160","full_address":"R ******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1765249199,"shipping_carrier":"Correios","split_up":false,"total_amount":20.55,"update_time":1767115530}]},"request_id":"e3e3e7f347336b88d713ce7f4d399500:0100027797bf3655:0000005579c5de05"}
    [curl_error] => 
)

============================================================

[23:07:13] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[23:07:13] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251206M2XTX2F3
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[23:07:13] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251206M2XTX2F3
)

============================================================

[23:07:13] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251206M2XTX2F3.json
============================================================

[23:07:13] INFO: 📦 Item #0
Array
(
    [item_name] => Toucas Para Banho Com Elastico Impermeavel Hidratacao
    [item_sku] => DPX1264911531
    [model_sku] => 
    [sku_usado] => DPX1264911531
    [tem_dpx] => 1
)

============================================================

[23:07:13] INFO: ⚠️ Venda já existe no banco
Array
(
    [order_sn] => 251206M2XTX2F3
)

============================================================

[23:07:14] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PW8RS3FP
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[23:07:14] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PW8RS3FP
    [shop_id] => 504113848
)

============================================================

[23:07:14] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767136034
    [base_string] => 2009491/api/v2/order/get_order_detail1767136034eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo6OvQygYwj8mX5Q84AUAB.hwb8Vj6JFaESbMNaDweRkto7R3YLAa9-B0MSxlNiSBQ504113848
    [signature] => 1d662b3b8c22dda0...
    [url_length] => 858
)

============================================================

[23:07:14] INFO: ⏳ Executando cURL...
============================================================

[23:07:15] INFO: ✅ cURL executado
============================================================

[23:07:15] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":31.16,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1350833660,"buyer_username":"nivaldotoss","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1766088147,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":31.16,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"20022","series_number":"5","access_key":"41251232111081000193550050000200221754185721","issue_date":1766142869,"total_value":6.89,"products_total_value":6.89,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rat9-mamsvfs6hptvb5_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":19599762178,"item_name":"Papel Sulfite Report Folha Ofício Para Impressão A4  com 500 Folhas","item_sku":"REPORTA4500","main_item":false,"model_discounted_price":34.45,"model_id":0,"model_name":"","model_original_price":53,"model_quantity_purchased":2,"model_sku":"","order_item_id":19599762178,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":3.4,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251219PW8RS3FP","order_status":"COMPLETED","package_list":[{"package_number":"OFG219787347103249","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":19599762178,"model_id":0,"model_quantity":2,"order_item_id":19599762178,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":6800,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1766088189,"payment_method":"Pix","pickup_done_time":1766162890,"recipient_address":{"name":"N******s","phone":"******43","town":"","district":"Centro","city":"Jaquirana","state":"Rio Grande do Sul","region":"BR","zipcode":"95420000","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766199599,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":79.06,"update_time":1767119852}]},"request_id":"e3e3e7f347336ba1d6bf0b99d05e5200:010002e8bffc9b36:000000f57b9dc209"}
    [curl_error] => 
)

============================================================

[23:07:15] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[23:07:15] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251219PW8RS3FP
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[23:07:15] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251219PW8RS3FP
)

============================================================

[23:07:15] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251219PW8RS3FP.json
============================================================

[23:07:15] INFO: 📦 Item #0
Array
(
    [item_name] => Papel Sulfite Report Folha Ofício Para Impressão A4  com 500 Folhas
    [item_sku] => REPORTA4500
    [model_sku] => 
    [sku_usado] => REPORTA4500
    [tem_dpx] => 
)

============================================================

[23:07:15] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251219PW8RS3FP
)

============================================================

[23:07:15] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251215CREKQUTN
    [seller_id] => 861037471
    [user_id] => 41
    [status] => COMPLETED
)

============================================================

[23:07:15] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251215CREKQUTN
    [shop_id] => 861037471
)

============================================================

[23:07:15] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 861037471
    [timestamp] => 1767136035
    [base_string] => 2009491/api/v2/order/get_order_detail1767136035eyJhbGciOiJIUzI1NiJ9.CJPTehABGJ_HyZoDIAEo6OrQygYwr6y-4g44AUAB.V2EG_3DintAXgCI6JTUXEueRFpgce1RXo7dvtENYmKg861037471
    [signature] => 8fcbf1a1d7d39296...
    [url_length] => 858
)

============================================================

[23:07:15] INFO: ⏳ Executando cURL...
============================================================

[23:07:19] INFO: ✅ cURL executado
============================================================

[23:07:19] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":10.83,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":567281541,"buyer_username":"jcgrativol","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1765739377,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":10.83,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"2310","series_number":"3","access_key":"33251254881101000148550030000023101153386079","issue_date":1765739625,"total_value":19.99,"products_total_value":19.99,"tax_code":"6102"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134202-7rfif-m9dhcomlpkh365_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":19098138295,"item_name":"Estilete Profissional 18mm Com Trava Aço Inox Maciço","item_sku":"GH-8624014","main_item":false,"model_discounted_price":19.99,"model_id":0,"model_name":"","model_original_price":19.99,"model_quantity_purchased":1,"model_sku":"","order_item_id":19098138295,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_type":"","weight":0.476,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251215CREKQUTN","order_status":"COMPLETED","package_list":[{"package_number":"OFG219438577155310","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":19098138295,"model_id":0,"model_quantity":1,"order_item_id":19098138295,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":476,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1765739420,"payment_method":"Pix","pickup_done_time":1765829422,"recipient_address":{"name":"J******l","phone":"******66","town":"","district":"Ceilândia Norte (Ceilândia)","city":"Brasília","state":"Distrito Federal","region":"BR","zipcode":"72241307","full_address":"Qu******"},"region":"BR","return_request_due_date":1767446710,"reverse_shipping_fee":0,"ship_by_date":1765940399,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":19.99,"update_time":1767117841}]},"request_id":"e3e3e7f347336bd7c80d93837bbf6a00:01000212a0e3c657:000000b309fea3ae"}
    [curl_error] => 
)

============================================================

[23:07:19] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[23:07:19] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251215CREKQUTN
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[23:07:19] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251215CREKQUTN
)

============================================================

[23:07:19] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251215CREKQUTN.json
============================================================

[23:07:19] INFO: 📦 Item #0
Array
(
    [item_name] => Estilete Profissional 18mm Com Trava Aço Inox Maciço
    [item_sku] => GH-8624014
    [model_sku] => 
    [sku_usado] => GH-8624014
    [tem_dpx] => 
)

============================================================

[23:07:19] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251215CREKQUTN
)

============================================================

[23:07:19] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PM0UQEEM
    [seller_id] => 314867163
    [user_id] => 75
    [status] => COMPLETED
)

============================================================

[23:07:19] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PM0UQEEM
    [shop_id] => 314867163
)

============================================================

[23:07:19] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 314867163
    [timestamp] => 1767136039
    [base_string] => 2009491/api/v2/order/get_order_detail1767136039eyJhbGciOiJIUzI1NiJ9.CJPTehABGNv7kZYBIAEowdbQygYw7cHzhA04AUAB.5ztwdPJGJHYa0LZtw-C9cJFG91fbJqJ39uCeJHv7JXo314867163
    [signature] => 0981c3a0322dad7e...
    [url_length] => 858
)

============================================================

[23:07:19] INFO: ⏳ Executando cURL...
============================================================

[23:07:23] INFO: ✅ cURL executado
============================================================

[23:07:23] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":13.25,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1473804648,"buyer_username":"0mh_l084od","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress CPF","cod":false,"create_time":1766078218,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":13.25,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rdyo-mdry4pvnzc3gc5_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23498835111,"item_name":"Kit 2 Brinquedol Walkie-Talkie Rádio Comunicador Infantil","item_sku":"DPX3902162792","main_item":false,"model_discounted_price":79.9,"model_id":0,"model_name":"","model_original_price":79.9,"model_quantity_purchased":1,"model_sku":"","order_item_id":23498835111,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_type":"","weight":1,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251219PM0UQEEM","order_status":"COMPLETED","package_list":[{"package_number":"OFG219777418117497","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress CPF","item_list":[{"item_id":23498835111,"model_id":0,"model_quantity":1,"order_item_id":23498835111,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":1000,"allow_self_design_awb":true,"logistics_channel_id":90016,"sorting_group":""}],"pay_time":1766078224,"payment_method":"Credit Card","pickup_done_time":1766177087,"recipient_address":{"name":"B****** ","phone":"******26","town":"","district":"João Gordo","city":"Montes Claros","state":"Minas Gerais","region":"BR","zipcode":"39400165","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766199599,"shipping_carrier":"Shopee Xpress CPF","split_up":false,"total_amount":93.04,"update_time":1767115781}]},"request_id":"e3e3e7f347336c1e9560864b6bc1d200:01000268956a05ab:000000cd8ced5b9a"}
    [curl_error] => 
)

============================================================

[23:07:23] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[23:07:23] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251219PM0UQEEM
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[23:07:23] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251219PM0UQEEM
)

============================================================

[23:07:23] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251219PM0UQEEM.json
============================================================

[23:07:23] INFO: 📦 Item #0
Array
(
    [item_name] => Kit 2 Brinquedol Walkie-Talkie Rádio Comunicador Infantil
    [item_sku] => DPX3902162792
    [model_sku] => 
    [sku_usado] => DPX3902162792
    [tem_dpx] => 1
)

============================================================

[23:07:23] INFO: ⚠️ Venda já existe no banco
Array
(
    [order_sn] => 251219PM0UQEEM
)

============================================================

[23:07:23] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PPYBSWM8
    [seller_id] => 392561929
    [user_id] => 554
    [status] => COMPLETED
)

============================================================

[23:07:23] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PPYBSWM8
    [shop_id] => 392561929
)

============================================================

[23:07:23] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 392561929
    [timestamp] => 1767136043
    [base_string] => 2009491/api/v2/order/get_order_detail1767136043eyJhbGciOiJIUzI1NiJ9.CJPTehABGImKmLsBIAEoieOXygYw3MeFhAk4AUAB.L8W21NJNua_briVHRX-PrIWjSRxhrfNgVrKljxSSQF8392561929
    [signature] => cba19fbaf05adb78...
    [url_length] => 858
)

============================================================

[23:07:23] INFO: ⏳ Executando cURL...
============================================================

[23:07:26] INFO: ✅ cURL executado
============================================================

[23:07:26] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347336c56943b5ce46a874f00"}
    [curl_error] => 
)

============================================================

[23:07:26] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[23:07:26] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[23:07:26] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 392561929
    [user_id] => 554
)

============================================================

[23:07:27] INFO: ✅ Token atualizado com sucesso
Array
(
    [new_token_preview] => eyJhbGciOiJIUzI1NiJ9...
)

============================================================

[23:07:27] INFO: ✅ Token atualizado com sucesso! Tentando novamente...
============================================================

[23:07:27] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PPYBSWM8
    [shop_id] => 392561929
)

============================================================

[23:07:27] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 392561929
    [timestamp] => 1767136047
    [base_string] => 2009491/api/v2/order/get_order_detail1767136047eyJhbGciOiJIUzI1NiJ9.CJPTehABGImKmLsBIAEor7bRygYw4O37pgU4AUAB.dddmnpqh5cDYGV0H0d7Zw1HdYtB3TUoALRZ-fH9sP6M392561929
    [signature] => d748cdd9827612de...
    [url_length] => 858
)

============================================================

[23:07:27] INFO: ⏳ Executando cURL...
============================================================

[23:07:40] INFO: ✅ cURL executado
============================================================

[23:07:40] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":14.48,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":736529757,"buyer_username":"julianamedeiros122","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1766081389,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":14.48,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"33251246454461000135550010000003561162519492","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/br-11134207-7r98o-mawn5yp78r6750_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23898631779,"item_name":"apliques de açúcar cerejinhas,12 unid.","item_sku":"","main_item":false,"model_discounted_price":24,"model_id":0,"model_name":"","model_original_price":24,"model_quantity_purchased":1,"model_sku":"","order_item_id":23898631779,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_type":"","weight":0.15,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251219PPYBSWM8","order_status":"COMPLETED","package_list":[{"package_number":"OFG219780590116101","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23898631779,"model_id":0,"model_quantity":1,"order_item_id":23898631779,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":494,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1766081441,"payment_method":"Pix","pickup_done_time":1766163502,"recipient_address":{"name":"J******s","phone":"******54","town":"","district":"São Conrado","city":"Aracaju","state":"Sergipe","region":"BR","zipcode":"49042505","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766199599,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":24,"update_time":1767116111}]},"request_id":"e3e3e7f347336d2032a2d9f1aee3a500:010002c50fcdbda4:0000008a5b8f6333"}
    [curl_error] => 
)

============================================================

[23:07:40] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[23:07:40] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251219PPYBSWM8
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[23:07:40] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251219PPYBSWM8
)

============================================================

[23:07:40] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251219PPYBSWM8.json
============================================================

[23:07:40] INFO: 📦 Item #0
Array
(
    [item_name] => apliques de açúcar cerejinhas,12 unid.
    [item_sku] => 
    [model_sku] => 
    [sku_usado] => 
    [tem_dpx] => 
)

============================================================

[23:07:40] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251219PPYBSWM8
)

============================================================

[23:07:40] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219PTFEJYD8
    [seller_id] => 675930217
    [user_id] => 27
    [status] => COMPLETED
)

============================================================

[23:07:40] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219PTFEJYD8
    [shop_id] => 675930217
)

============================================================

[23:07:40] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 675930217
    [timestamp] => 1767136060
    [base_string] => 2009491/api/v2/order/get_order_detail1767136060eyJhbGciOiJIUzI1NiJ9.CJPTehABGOnAp8ICIAEot7bRygYwvO-a8Qs4AUAB.wV64zltwyZ_6wcACIFbFivweerKkcjmAL54Qf5G0e0E675930217
    [signature] => 6713a5f90741307c...
    [url_length] => 858
)

============================================================

[23:07:40] INFO: ⏳ Executando cURL...
============================================================

[23:07:42] INFO: ✅ cURL executado
============================================================

[23:07:42] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":12.04,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":639492191,"buyer_username":"talitacintra531","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress CPF","cod":false,"create_time":1766085150,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":12.04,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/br-11134207-81z1k-mi5dqwgb63uqa8_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":22994677017,"item_name":"Kit de Esmaltes Infantil Magical Phantasy Unicórnio Gliter Brilho e Magia Hipoalergenico","item_sku":"DPX6438278502","main_item":false,"model_discounted_price":36,"model_id":0,"model_name":"","model_original_price":45.9,"model_quantity_purchased":1,"model_sku":"","order_item_id":22994677017,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":801602756083712}],"promotion_type":"","weight":0.2,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251219PTFEJYD8","order_status":"COMPLETED","package_list":[{"package_number":"OFG219784350134248","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress CPF","item_list":[{"item_id":22994677017,"model_id":0,"model_quantity":1,"order_item_id":22994677017,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":434,"allow_self_design_awb":true,"logistics_channel_id":90016,"sorting_group":""}],"pay_time":1766085294,"payment_method":"Pix","pickup_done_time":1766163440,"recipient_address":{"name":"T******a","phone":"******35","town":"","district":"Paraíso","city":"Uberaba","state":"Minas Gerais","region":"BR","zipcode":"38082350","full_address":"Av******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766199599,"shipping_carrier":"Shopee Xpress CPF","split_up":false,"total_amount":41.3,"update_time":1767115783}]},"request_id":"e3e3e7f347336d3883726d778de54f00:0100022bb0952771:000000a877f4d4dc"}
    [curl_error] => 
)

============================================================

[23:07:42] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[23:07:42] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251219PTFEJYD8
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[23:07:42] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251219PTFEJYD8
)

============================================================

[23:07:42] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251219PTFEJYD8.json
============================================================

[23:07:42] INFO: 📦 Item #0
Array
(
    [item_name] => Kit de Esmaltes Infantil Magical Phantasy Unicórnio Gliter Brilho e Magia Hipoalergenico
    [item_sku] => DPX6438278502
    [model_sku] => 
    [sku_usado] => DPX6438278502
    [tem_dpx] => 1
)

============================================================

[23:07:42] INFO: ⚠️ Venda já existe no banco
Array
(
    [order_sn] => 251219PTFEJYD8
)

============================================================

[23:07:42] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251220UGDTU7D3
    [seller_id] => 1383494453
    [user_id] => 72
    [status] => COMPLETED
)

============================================================

[23:07:42] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251220UGDTU7D3
    [shop_id] => 1383494453
)

============================================================

[23:07:42] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 1383494453
    [timestamp] => 1767136062
    [base_string] => 2009491/api/v2/order/get_order_detail1767136062eyJhbGciOiJIUzI1NiJ9.CJPTehABGLXm2ZMFIAEoqvnQygYwpYmZoAI4AUAB.E3xZuihYcdXcDJME4DjW-Rm7pWdYeFZ1xN8gN-xyK-Y1383494453
    [signature] => 5ef9892891482219...
    [url_length] => 859
)

============================================================

[23:07:42] INFO: ⏳ Executando cURL...
============================================================

[23:07:46] INFO: ✅ cURL executado
============================================================

[23:07:46] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":14.48,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1606436832,"buyer_username":"zyf0_jsmad","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress CPF","cod":false,"create_time":1766246157,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":14.48,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134202-7rffu-m4ao3mvtyuo8d4_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23098104040,"item_name":"Máquina de Boxe Musical Bluetooth Treino Com Luvas Agilidade Soco Fitness Esporte Academia Exercício","item_sku":"GH-6734701","main_item":false,"model_discounted_price":224.7,"model_id":0,"model_name":"","model_original_price":224.7,"model_quantity_purchased":1,"model_sku":"","order_item_id":23098104040,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_type":"","weight":0.3,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251220UGDTU7D3","order_status":"COMPLETED","package_list":[{"package_number":"OFG219945357116656","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress CPF","item_list":[{"item_id":23098104040,"model_id":0,"model_quantity":1,"order_item_id":23098104040,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":1334,"allow_self_design_awb":true,"logistics_channel_id":90016,"sorting_group":""}],"pay_time":1766246290,"payment_method":"Pix","pickup_done_time":1766440611,"recipient_address":{"name":"F******a","phone":"******62","town":"","district":"Centro","city":"São Francisco do Conde","state":"Bahia","region":"BR","zipcode":"43900000","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":10,"ship_by_date":1766458799,"shipping_carrier":"Shopee Xpress CPF","split_up":false,"total_amount":239.18,"update_time":1767118064}]},"request_id":"e3e3e7f347336d7ceb8e16e0d3358c00:0100024694588066:000000bd0158e1df"}
    [curl_error] => 
)

============================================================

[23:07:46] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[23:07:46] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251220UGDTU7D3
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[23:07:46] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251220UGDTU7D3
)

============================================================

[23:07:46] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251220UGDTU7D3.json
============================================================

[23:07:46] INFO: 📦 Item #0
Array
(
    [item_name] => Máquina de Boxe Musical Bluetooth Treino Com Luvas Agilidade Soco Fitness Esporte Academia Exercício
    [item_sku] => GH-6734701
    [model_sku] => 
    [sku_usado] => GH-6734701
    [tem_dpx] => 
)

============================================================

[23:07:46] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251220UGDTU7D3
)

============================================================

[23:07:51] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251228JFMX6JA3
    [seller_id] => 320417540
    [user_id] => 93
    [status] => COMPLETED
)

============================================================

[23:07:51] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251228JFMX6JA3
    [shop_id] => 320417540
)

============================================================

[23:07:51] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 320417540
    [timestamp] => 1767136071
    [base_string] => 2009491/api/v2/order/get_order_detail1767136071eyJhbGciOiJIUzI1NiJ9.CJPTehABGITe5JgBIAEo_qzPygYw8ICuhAo4AUAB.MlLjDZi0gSq2k2v2TZo2hXqu0DhqwdNwmO_PgI4YI-A320417540
    [signature] => 664ba2947e054872...
    [url_length] => 858
)

============================================================

[23:07:51] INFO: ⏳ Executando cURL...
============================================================

[23:07:52] INFO: ✅ cURL executado
============================================================

[23:07:52] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f347336ddfa8b49a5786c36800"}
    [curl_error] => 
)

============================================================

[23:07:52] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[23:07:52] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[23:07:52] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 320417540
    [user_id] => 93
)

============================================================

[23:07:53] INFO: ✅ Token atualizado com sucesso
Array
(
    [new_token_preview] => eyJhbGciOiJIUzI1NiJ9...
)

============================================================

[23:07:53] INFO: ✅ Token atualizado com sucesso! Tentando novamente...
============================================================

[23:07:53] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251228JFMX6JA3
    [shop_id] => 320417540
)

============================================================

[23:07:53] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 320417540
    [timestamp] => 1767136073
    [base_string] => 2009491/api/v2/order/get_order_detail1767136073eyJhbGciOiJIUzI1NiJ9.CJPTehABGITe5JgBIAEoybbRygYwsaK9lwc4AUAB.7oPWBe7IL1txp7MBOzXi1J2M8-m1viTJCaLIY1DuH98320417540
    [signature] => db710424447d57a2...
    [url_length] => 858
)

============================================================

[23:07:53] INFO: ⏳ Executando cURL...
============================================================

[23:07:55] INFO: ✅ cURL executado
============================================================

[23:07:55] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":10.83,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":375237127,"buyer_username":"leilacdf","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress CPF","cod":false,"create_time":1766936084,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":10.83,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/br-11134207-7r98o-m7xynebrbroxf3_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":22993865114,"item_name":"Cortador Espátula De Bolo Em Inox Cabo De Plástico Branco","item_sku":"GH-7547769","main_item":false,"model_discounted_price":17,"model_id":0,"model_name":"","model_original_price":17,"model_quantity_purchased":4,"model_sku":"","order_item_id":22993865114,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_type":"","weight":0.4,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251228JFMX6JA3","order_status":"COMPLETED","package_list":[{"package_number":"OFG220635283196540","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress CPF","item_list":[{"item_id":22993865114,"model_id":0,"model_quantity":4,"order_item_id":22993865114,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":1600,"allow_self_design_awb":true,"logistics_channel_id":90016,"sorting_group":""}],"pay_time":1766936126,"payment_method":"Pix","pickup_done_time":1767037600,"recipient_address":{"name":"L******o","phone":"******85","town":"","district":"Vila Lage","city":"São Gonçalo","state":"Rio de Janeiro","region":"BR","zipcode":"24415010","full_address":"Ru******"},"region":"BR","return_request_due_date":1767728807,"reverse_shipping_fee":0,"ship_by_date":1767149999,"shipping_carrier":"Shopee Xpress CPF","split_up":false,"total_amount":68,"update_time":1767125574}]},"request_id":"e3e3e7f347336dfe0bd86e1379714a00:010002f5e0d4d564:000000d97a7334ed"}
    [curl_error] => 
)

============================================================

[23:07:55] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[23:07:55] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251228JFMX6JA3
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[23:07:55] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251228JFMX6JA3
)

============================================================

[23:07:55] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251228JFMX6JA3.json
============================================================

[23:07:55] INFO: 📦 Item #0
Array
(
    [item_name] => Cortador Espátula De Bolo Em Inox Cabo De Plástico Branco
    [item_sku] => GH-7547769
    [model_sku] => 
    [sku_usado] => GH-7547769
    [tem_dpx] => 
)

============================================================

[23:07:55] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251228JFMX6JA3
)

============================================================

[23:07:55] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251221VFTG5X29
    [seller_id] => 411294579
    [user_id] => 198
    [status] => COMPLETED
)

============================================================

[23:07:55] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251221VFTG5X29
    [shop_id] => 411294579
)

============================================================

[23:07:55] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 411294579
    [timestamp] => 1767136075
    [base_string] => 2009491/api/v2/order/get_order_detail1767136075eyJhbGciOiJIUzI1NiJ9.CJPTehABGPO2j8QBIAEo7YnRygYwl7rSmAU4AUAB.IETWWEuCH7zhPZC6Xj2XtoiQ1jtLkeW66Fns_itgK48411294579
    [signature] => c84d8818397c5a1d...
    [url_length] => 858
)

============================================================

[23:07:55] INFO: ⏳ Executando cURL...
============================================================

[23:07:56] INFO: ✅ cURL executado
============================================================

[23:07:56] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":9.62,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":377046176,"buyer_username":"claudiobeka","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress CPF","cod":false,"create_time":1766279868,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":9.62,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-821f4-mgy1x7e440lm0e_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":22199196367,"item_name":"Título: Kit 10 Adesivos Detox para os Pés – Elimine Toxinas e Recupere sua Energia Natural","item_sku":"DPX4071589598","main_item":false,"model_discounted_price":21.24,"model_id":0,"model_name":"","model_original_price":23.73,"model_quantity_purchased":1,"model_sku":"","order_item_id":22199196367,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":776916508803072}],"promotion_type":"","weight":0.09,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251221VFTG5X29","order_status":"COMPLETED","package_list":[{"package_number":"OFG219979068186113","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress CPF","item_list":[{"item_id":22199196367,"model_id":0,"model_quantity":1,"order_item_id":22199196367,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":300,"allow_self_design_awb":true,"logistics_channel_id":90016,"sorting_group":""}],"pay_time":1766280082,"payment_method":"Pix","pickup_done_time":1766430717,"recipient_address":{"name":"C******a","phone":"******02","town":"","district":"Jardim Fogaça","city":"Itapetininga","state":"São Paulo","region":"BR","zipcode":"18202350","full_address":"Ru******"},"region":"BR","return_request_due_date":1767720132,"reverse_shipping_fee":0,"ship_by_date":1766458799,"shipping_carrier":"Shopee Xpress CPF","split_up":false,"total_amount":20.6,"update_time":1767125581}]},"request_id":"e3e3e7f347336e135fffa3d576caf900:0100023c8dcda139:0000000b005186f9"}
    [curl_error] => 
)

============================================================

[23:07:56] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[23:07:56] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251221VFTG5X29
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[23:07:56] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251221VFTG5X29
)

============================================================

[23:07:56] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251221VFTG5X29.json
============================================================

[23:07:56] INFO: 📦 Item #0
Array
(
    [item_name] => Título: Kit 10 Adesivos Detox para os Pés – Elimine Toxinas e Recupere sua Energia Natural
    [item_sku] => DPX4071589598
    [model_sku] => 
    [sku_usado] => DPX4071589598
    [tem_dpx] => 1
)

============================================================

[23:07:56] INFO: ⚠️ Venda já existe no banco
Array
(
    [order_sn] => 251221VFTG5X29
)

============================================================

[23:07:56] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251219Q43Y02C8
    [seller_id] => 526192906
    [user_id] => 46
    [status] => COMPLETED
)

============================================================

[23:07:56] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251219Q43Y02C8
    [shop_id] => 526192906
)

============================================================

[23:07:56] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 526192906
    [timestamp] => 1767136076
    [base_string] => 2009491/api/v2/order/get_order_detail1767136076eyJhbGciOiJIUzI1NiJ9.CJPTehABGIqi9PoBIAEo0YHRygYwzdr75gI4AUAB.65ytMel10Du3a7G7pWnFhrW-Rt4UCi8hhuTL5qQckvg526192906
    [signature] => 406976d8200c33e8...
    [url_length] => 858
)

============================================================

[23:07:56] INFO: ⏳ Executando cURL...
============================================================

[23:07:58] INFO: ✅ cURL executado
============================================================

[23:07:58] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":16.91,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1678923072,"buyer_username":"michellyvanesca","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress CPF","cod":false,"create_time":1766095502,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":16.91,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/br-11134207-81z1k-mg08d2bfjw1x09_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":22799043289,"item_name":"Kit 5 Faixa Elástica Super Mini Band Para Treino Exercício","item_sku":"DPX5343670684","main_item":false,"model_discounted_price":49.95,"model_id":0,"model_name":"","model_original_price":49.95,"model_quantity_purchased":1,"model_sku":"","order_item_id":22799043289,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_type":"","weight":1,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251219Q43Y02C8","order_status":"COMPLETED","package_list":[{"package_number":"OFG219794703117822","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress CPF","item_list":[{"item_id":22799043289,"model_id":0,"model_quantity":1,"order_item_id":22799043289,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":1000,"allow_self_design_awb":true,"logistics_channel_id":90016,"sorting_group":""}],"pay_time":1766095581,"payment_method":"Pix","pickup_done_time":1766177087,"recipient_address":{"name":"M******s","phone":"******38","town":"","district":"Centro","city":"Boquim","state":"Sergipe","region":"BR","zipcode":"49360000","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766199599,"shipping_carrier":"Shopee Xpress CPF","split_up":false,"total_amount":49.95,"update_time":1767125773}]},"request_id":"e3e3e7f347336e28e94d42b5d9ef3c00:0100021d5175867a:00000062a247a594"}
    [curl_error] => 
)

============================================================

[23:07:58] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[23:07:58] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251219Q43Y02C8
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[23:07:58] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251219Q43Y02C8
)

============================================================

[23:07:58] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251219Q43Y02C8.json
============================================================

[23:07:58] INFO: 📦 Item #0
Array
(
    [item_name] => Kit 5 Faixa Elástica Super Mini Band Para Treino Exercício
    [item_sku] => DPX5343670684
    [model_sku] => 
    [sku_usado] => DPX5343670684
    [tem_dpx] => 1
)

============================================================

[23:07:58] INFO: ⚠️ Venda já existe no banco
Array
(
    [order_sn] => 251219Q43Y02C8
)

============================================================

[18:56:27] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512258SA8RP1G
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[18:56:27] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512258SA8RP1G
    [shop_id] => 504113848
)

============================================================

[18:56:27] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767380187
    [base_string] => 2009491/api/v2/order/get_order_detail1767380187eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEonojgygYw94rl2As4AUAB.H_71rvMqGZ12TVdYqe8m9uMS44ATcCF3zvQEgv5LCNE504113848
    [signature] => 4e2d597c1bd52583...
    [url_length] => 858
)

============================================================

[18:56:27] INFO: ⏳ Executando cURL...
============================================================

[18:56:29] INFO: ✅ cURL executado
============================================================

[18:56:29] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":9.62,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":325527891,"buyer_username":"amandaripe","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1766602867,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":9.62,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"20609","series_number":"5","access_key":"41251232111081000193550050000206091360862121","issue_date":1766603023,"total_value":1.4,"products_total_value":1.4,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rdyx-mdqgsykvzyu1a0_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23798776467,"item_name":"PAPEL CRIATIVO A4 120G  8 CORES 24 FOLHAS PAGINA BRASIL","item_sku":"pap.criat.24fls.120g.PB","main_item":false,"model_discounted_price":13.99,"model_id":0,"model_name":"","model_original_price":40,"model_quantity_purchased":1,"model_sku":"","order_item_id":23798776467,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":0.2,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"2512258SA8RP1G","order_status":"COMPLETED","package_list":[{"package_number":"OFG220302067183066","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23798776467,"model_id":0,"model_quantity":1,"order_item_id":23798776467,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":420,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1766602883,"payment_method":"Pix","pickup_done_time":1766757768,"recipient_address":{"name":"A******a","phone":"******59","town":"","district":"Jardim Maracanã","city":"Presidente Prudente","state":"São Paulo","region":"BR","zipcode":"19026440","full_address":"Ru******"},"region":"BR","return_request_due_date":1767706067,"reverse_shipping_fee":0,"ship_by_date":1766804399,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":13.99,"update_time":1767380161}]},"request_id":"e3e3e7f3476c445304ace6cbbb7e4500:010002febce5cb1c:000000a5a8aa8307"}
    [curl_error] => 
)

============================================================

[18:56:29] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[18:56:29] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 2512258SA8RP1G
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[18:56:29] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 2512258SA8RP1G
)

============================================================

[18:56:29] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_2512258SA8RP1G.json
============================================================

[18:56:29] INFO: 📦 Item #0
Array
(
    [item_name] => PAPEL CRIATIVO A4 120G  8 CORES 24 FOLHAS PAGINA BRASIL
    [item_sku] => pap.criat.24fls.120g.PB
    [model_sku] => 
    [sku_usado] => pap.criat.24fls.120g.PB
    [tem_dpx] => 
)

============================================================

[18:56:29] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 2512258SA8RP1G
)

============================================================

[14:53:49] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251229KR5V68FP
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[14:53:49] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251229KR5V68FP
    [shop_id] => 504113848
)

============================================================

[14:53:49] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767452029
    [base_string] => 2009491/api/v2/order/get_order_detail1767452029eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEojrvkygYwvr_ulwM4AUAB.p8oM6IBG1yR3eJTU935j3oQ4Xns8-a-AL6Sl-D_R_nY504113848
    [signature] => 6c1e05a791b69420...
    [url_length] => 858
)

============================================================

[14:53:49] INFO: ⏳ Executando cURL...
============================================================

[14:53:51] INFO: ✅ cURL executado
============================================================

[14:53:51] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":10.83,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":312109667,"buyer_username":"michelesilvasilva","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1766979602,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":10.83,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"20971","series_number":"5","access_key":"41251232111081000193550050000209711855593799","issue_date":1766982518,"total_value":1.26,"products_total_value":1.26,"tax_code":"5102"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7ratc-mamv59prh4y816_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23998560376,"item_name":"Papel Sulfite A4 100 Folhas 21x 29,7cm A4 (Brancas e Coloridas - Amarelo Azul Rosa Verde) -  Report","item_sku":"SENINHA4COLO","main_item":false,"model_discounted_price":12.59,"model_id":199608168334,"model_name":"Report  (Branco 100 fls)","model_original_price":18,"model_quantity_purchased":1,"model_sku":"A4BRAN","order_item_id":23998560376,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":0.5,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251229KR5V68FP","order_status":"COMPLETED","package_list":[{"package_number":"OFG220678803100473","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23998560376,"model_id":199608168334,"model_quantity":1,"order_item_id":23998560376,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":750,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1766982310,"payment_method":"Pix","pickup_done_time":1767121763,"recipient_address":{"name":"M******a","phone":"******04","town":"","district":"Santa Rita","city":"Marmeleiro","state":"Paraná","region":"BR","zipcode":"85614106","full_address":"Ru******"},"region":"BR","return_request_due_date":1768056431,"reverse_shipping_fee":0,"ship_by_date":1767149999,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":12.41,"update_time":1767451989}]},"request_id":"e3e3e7f3477cfe7096d483122d00b300:01000226059cc047:000000e30e417166"}
    [curl_error] => 
)

============================================================

[14:53:51] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[14:53:51] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251229KR5V68FP
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[14:53:51] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251229KR5V68FP
)

============================================================

[14:53:51] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251229KR5V68FP.json
============================================================

[14:53:51] INFO: 📦 Item #0
Array
(
    [item_name] => Papel Sulfite A4 100 Folhas 21x 29,7cm A4 (Brancas e Coloridas - Amarelo Azul Rosa Verde) -  Report
    [item_sku] => SENINHA4COLO
    [model_sku] => A4BRAN
    [sku_usado] => SENINHA4COLO
    [tem_dpx] => 
)

============================================================

[14:53:51] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251229KR5V68FP
)

============================================================

[20:47:17] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251230NSDKX8JK
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[20:47:17] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251230NSDKX8JK
    [shop_id] => 504113848
)

============================================================

[20:47:17] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767732437
    [base_string] => 2009491/api/v2/order/get_order_detail1767732437eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEovs31ygYw7-PEsgY4AUAB.e1ZfWjANbuAUbclpLzH2LoWUgctmzqdSYjHG6UvOErE504113848
    [signature] => 76758c90ba7049ee...
    [url_length] => 858
)

============================================================

[20:47:17] INFO: ⏳ Executando cURL...
============================================================

[20:47:19] INFO: ✅ cURL executado
============================================================

[20:47:19] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":12.04,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":534461764,"buyer_username":"blgp3de3r6","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1767049655,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":12.04,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"21080","series_number":"5","access_key":"41251232111081000193550050000210801951338936","issue_date":1767049726,"total_value":2.1,"products_total_value":2.1,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-822za-mhy4wct4iiv49f_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":58251599881,"item_name":"Papel Fotográfico 180g A4 HighGlossy Alto Brilhante  à Prova D'água OFF PAPER","item_sku":"PAPELA4180GOFFPAPER","main_item":false,"model_discounted_price":20.99,"model_id":169723137068,"model_name":"50 FOLHAS","model_original_price":40,"model_quantity_purchased":1,"model_sku":"PAPELA4180GOFFPAPER50 FLS","order_item_id":58251599881,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":0.3,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251230NSDKX8JK","order_status":"COMPLETED","package_list":[{"package_number":"OFG220748855140570","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":58251599881,"model_id":169723137068,"model_quantity":1,"order_item_id":58251599881,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":500,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1767049730,"payment_method":"Pix","pickup_done_time":1767121676,"recipient_address":{"name":"S*****e","phone":"******71","town":"","district":"Nossa Senhora do Carmo","city":"Ouro Preto","state":"Minas Gerais","region":"BR","zipcode":"35400509","full_address":"Tr******"},"region":"BR","return_request_due_date":1768325364,"reverse_shipping_fee":0,"ship_by_date":1767149999,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":20.99,"update_time":1767732420}]},"request_id":"e3e3e7f347be480ef2097de6828dd600:0100025a19207ad9:000000ba09bbe6fb"}
    [curl_error] => 
)

============================================================

[20:47:19] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[20:47:19] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251230NSDKX8JK
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[20:47:19] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251230NSDKX8JK
)

============================================================

[20:47:19] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251230NSDKX8JK.json
============================================================

[20:47:19] INFO: 📦 Item #0
Array
(
    [item_name] => Papel Fotográfico 180g A4 HighGlossy Alto Brilhante  à Prova D'água OFF PAPER
    [item_sku] => PAPELA4180GOFFPAPER
    [model_sku] => PAPELA4180GOFFPAPER50 FLS
    [sku_usado] => PAPELA4180GOFFPAPER
    [tem_dpx] => 
)

============================================================

[20:47:19] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251230NSDKX8JK
)

============================================================

[21:58:41] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2512233M81KY7P
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[21:58:41] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2512233M81KY7P
    [shop_id] => 504113848
)

============================================================

[21:58:41] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767823121
    [base_string] => 2009491/api/v2/order/get_order_detail1767823121eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEorKn7ygYw3Neqywc4AUAB.s9UBcuw129jREwMJjKGLP8riZpqqC83tGChPTyULK4g504113848
    [signature] => 7b7647bfdf994a99...
    [url_length] => 858
)

============================================================

[21:58:41] INFO: ⏳ Executando cURL...
============================================================

[17:02:33] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2601021S1XUACU
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[17:02:33] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2601021S1XUACU
    [shop_id] => 504113848
)

============================================================

[17:02:33] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767891753
    [base_string] => 2009491/api/v2/order/get_order_detail1767891753eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEor5r_ygYwxZ-zlAU4AUAB.92ezh10mj0iU8GP7kJqTtPSGZdcgcwRPXjNdI3NYDnY504113848
    [signature] => 13f2e3436e86ce65...
    [url_length] => 858
)

============================================================

[17:02:33] INFO: ⏳ Executando cURL...
============================================================

[17:02:34] INFO: ✅ cURL executado
============================================================

[17:02:34] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":25.07,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1646355210,"buyer_username":"fc5p8p5v7j","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1767362070,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":25.07,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"21573","series_number":"5","access_key":"41260132111081000193550050000215731951932020","issue_date":1767362322,"total_value":6.59,"products_total_value":6.59,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-824hq-mf2ly5eigpoo5e_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23998924332,"item_name":"Kit 2 Pacotes Papel Sulfite Report Folha Ofício Para Impressão A4  com 500 Folhas","item_sku":"KIT2REPORTA4500","main_item":false,"model_discounted_price":65.85,"model_id":0,"model_name":"","model_original_price":65.85,"model_quantity_purchased":1,"model_sku":"","order_item_id":23998924332,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_type":"","weight":4.6,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"2601021S1XUACU","order_status":"COMPLETED","package_list":[{"package_number":"OFG221061270153131","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23998924332,"model_id":0,"model_quantity":1,"order_item_id":23998924332,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":4600,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1767362121,"payment_method":"Pix","pickup_done_time":1767667751,"recipient_address":{"name":"A******a","phone":"******80","town":"","district":"Nª Senhora do Perpétuo Socorro","city":"Santa Maria","state":"Rio Grande do Sul","region":"BR","zipcode":"97045130","full_address":"Ru******"},"region":"BR","return_request_due_date":1768496450,"reverse_shipping_fee":0,"ship_by_date":1767409199,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":70.92,"update_time":1767891730}]},"request_id":"e3e3e7f347e35ffdc55e8c6b4dd52900:010002bcf39c15c0:00000048508a554a"}
    [curl_error] => 
)

============================================================

[17:02:34] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[17:02:34] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 2601021S1XUACU
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[17:02:34] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 2601021S1XUACU
)

============================================================

[17:02:34] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_2601021S1XUACU.json
============================================================

[17:02:34] INFO: 📦 Item #0
Array
(
    [item_name] => Kit 2 Pacotes Papel Sulfite Report Folha Ofício Para Impressão A4  com 500 Folhas
    [item_sku] => KIT2REPORTA4500
    [model_sku] => 
    [sku_usado] => KIT2REPORTA4500
    [tem_dpx] => 
)

============================================================

[17:02:34] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 2601021S1XUACU
)

============================================================

[17:08:13] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2601021XTA6EQ1
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[17:08:13] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2601021XTA6EQ1
    [shop_id] => 504113848
)

============================================================

[17:08:13] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1767892093
    [base_string] => 2009491/api/v2/order/get_order_detail1767892093eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEor5r_ygYwxZ-zlAU4AUAB.92ezh10mj0iU8GP7kJqTtPSGZdcgcwRPXjNdI3NYDnY504113848
    [signature] => 2eaade099c927739...
    [url_length] => 858
)

============================================================

[17:08:13] INFO: ⏳ Executando cURL...
============================================================

[17:08:16] INFO: ✅ cURL executado
============================================================

[17:08:16] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":10.83,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":601387804,"buyer_username":"daianetrevizani0","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1767368255,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":10.83,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"21613","series_number":"5","access_key":"41260132111081000193550050000216131666076037","issue_date":1767368326,"total_value":1.63,"products_total_value":1.63,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/br-11134207-7r98o-ma969smktzllf9_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23498144258,"item_name":"Kit 3 Caixas de Massinha de Modelar 12 Cores 180g","item_sku":"mx180","main_item":false,"model_discounted_price":16.33,"model_id":0,"model_name":"","model_original_price":16.5,"model_quantity_purchased":1,"model_sku":"","order_item_id":23498144258,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":1,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"2601021XTA6EQ1","order_status":"COMPLETED","package_list":[{"package_number":"OFG221067455193789","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23498144258,"model_id":0,"model_quantity":1,"order_item_id":23498144258,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":1000,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1767368272,"payment_method":"SParcelado","pickup_done_time":1767631033,"recipient_address":{"name":"D******i","phone":"******57","town":"","district":"Centro","city":"Serra Azul","state":"São Paulo","region":"BR","zipcode":"14230029","full_address":"Ru******"},"region":"BR","return_request_due_date":1768482426,"reverse_shipping_fee":0,"ship_by_date":1767668399,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":16.33,"update_time":1767892078}]},"request_id":"e3e3e7f347e3745c86f38d83ab6f1000:010002b1c3b78015:00000034845e0f83"}
    [curl_error] => 
)

============================================================

[17:08:16] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[17:08:16] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 2601021XTA6EQ1
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[17:08:16] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 2601021XTA6EQ1
)

============================================================

[17:08:16] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_2601021XTA6EQ1.json
============================================================

[17:08:16] INFO: 📦 Item #0
Array
(
    [item_name] => Kit 3 Caixas de Massinha de Modelar 12 Cores 180g
    [item_sku] => mx180
    [model_sku] => 
    [sku_usado] => mx180
    [tem_dpx] => 
)

============================================================

[17:08:16] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 2601021XTA6EQ1
)

============================================================

[13:02:45] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2601057RRJ0YUJ
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[13:02:45] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2601057RRJ0YUJ
    [shop_id] => 504113848
)

============================================================

[13:02:45] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768136565
    [base_string] => 2009491/api/v2/order/get_order_detail1768136565eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo85qOywYwzfbSzgc4AUAB.hPPPBW5ud8dd3N0Y75WuIpsQWbWX1XG-4YZZ5giOb6Q504113848
    [signature] => 82bbd12112825b58...
    [url_length] => 858
)

============================================================

[13:02:45] INFO: ⏳ Executando cURL...
============================================================

[13:02:46] INFO: ✅ cURL executado
============================================================

[13:02:46] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":10.83,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":544137219,"buyer_username":"mariafernandaschmitt","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1767567912,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":10.83,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"22171","series_number":"5","access_key":"41260132111081000193550050000221711714156741","issue_date":1767568121,"total_value":3.6,"products_total_value":3.6,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-822za-mhy4wct4iiv49f_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":58251599881,"item_name":"Papel Fotográfico 180g A4 HighGlossy Alto Brilhante  à Prova D'água OFF PAPER","item_sku":"PAPELA4180GOFFPAPER","main_item":false,"model_discounted_price":35.99,"model_id":169723137069,"model_name":"100 FOLHAS","model_original_price":70,"model_quantity_purchased":1,"model_sku":"PAPELA4180GOFFPAPER100FLS","order_item_id":58251599881,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":0.3,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"2601057RRJ0YUJ","order_status":"COMPLETED","package_list":[{"package_number":"OFG221267112107032","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":58251599881,"model_id":169723137069,"model_quantity":1,"order_item_id":58251599881,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":500,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1767567941,"payment_method":"Pix","pickup_done_time":1767631927,"recipient_address":{"name":"M******t","phone":"******15","town":"","district":"Aririú","city":"Palhoça","state":"Santa Catarina","region":"BR","zipcode":"88135185","full_address":"Ru******"},"region":"BR","return_request_due_date":1768425995,"reverse_shipping_fee":0,"ship_by_date":1767754799,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":35.99,"update_time":1768136532}]},"request_id":"e3e3e7f3481c5feeff5101cfeedf0b00:0100025c03ba28f5:000000aab2d55573"}
    [curl_error] => 
)

============================================================

[13:02:46] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[13:02:46] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 2601057RRJ0YUJ
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[13:02:46] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 2601057RRJ0YUJ
)

============================================================

[13:02:46] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_2601057RRJ0YUJ.json
============================================================

[13:02:46] INFO: 📦 Item #0
Array
(
    [item_name] => Papel Fotográfico 180g A4 HighGlossy Alto Brilhante  à Prova D'água OFF PAPER
    [item_sku] => PAPELA4180GOFFPAPER
    [model_sku] => PAPELA4180GOFFPAPER100FLS
    [sku_usado] => PAPELA4180GOFFPAPER
    [tem_dpx] => 
)

============================================================

[13:02:46] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 2601057RRJ0YUJ
)

============================================================

[17:56:24] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260107CD6P8TNC
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[17:56:24] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260107CD6P8TNC
    [shop_id] => 504113848
)

============================================================

[17:56:24] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768154184
    [base_string] => 2009491/api/v2/order/get_order_detail1768154184eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEouoyPywYw67_BrgI4AUAB.qVtV1Jj2_GMpC8Aq9YJf0mA-c8bZbEIRUS0QNiWtPZc504113848
    [signature] => 7212d7813722a637...
    [url_length] => 858
)

============================================================

[17:56:24] INFO: ⏳ Executando cURL...
============================================================

[17:56:28] INFO: ✅ cURL executado
============================================================

[17:56:28] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":8.91,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":239608975,"buyer_username":"nathaliawillian","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1767727301,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":8.91,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"22691","series_number":"5","access_key":"41260132111081000193550050000226911529052919","issue_date":1767727428,"total_value":1.6,"products_total_value":1.6,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-81zto-miq2l7l2q682c3_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23798776467,"item_name":"PAPEL CRIATIVO A4 120G  8 CORES 24 FOLHAS PAGINA BRASIL","item_sku":"pap.criat.24fls.120g.PB","main_item":false,"model_discounted_price":15.99,"model_id":0,"model_name":"","model_original_price":40,"model_quantity_purchased":1,"model_sku":"","order_item_id":23798776467,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":0.2,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"260107CD6P8TNC","order_status":"COMPLETED","package_list":[{"package_number":"OFG221426501112050","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23798776467,"model_id":0,"model_quantity":1,"order_item_id":23798776467,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":420,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1767727306,"payment_method":"Credit Card","pickup_done_time":1767811347,"recipient_address":{"name":"W******a","phone":"******44","town":"","district":"Concórdia","city":"Belo Horizonte","state":"Minas Gerais","region":"BR","zipcode":"31110640","full_address":"Ru******"},"region":"BR","return_request_due_date":1768682266,"reverse_shipping_fee":0,"ship_by_date":1767841199,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":15.95,"update_time":1768154158}]},"request_id":"e3e3e7f348207a506c5d0b06092e4e00:0100024ec15c6b70:0000006f1ca6c908"}
    [curl_error] => 
)

============================================================

[17:56:28] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[17:56:28] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 260107CD6P8TNC
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[17:56:28] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 260107CD6P8TNC
)

============================================================

[17:56:28] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_260107CD6P8TNC.json
============================================================

[17:56:28] INFO: 📦 Item #0
Array
(
    [item_name] => PAPEL CRIATIVO A4 120G  8 CORES 24 FOLHAS PAGINA BRASIL
    [item_sku] => pap.criat.24fls.120g.PB
    [model_sku] => 
    [sku_usado] => pap.criat.24fls.120g.PB
    [tem_dpx] => 
)

============================================================

[17:56:28] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 260107CD6P8TNC
)

============================================================

[20:08:41] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260106BXNQ1CKS
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[20:08:41] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260106BXNQ1CKS
    [shop_id] => 504113848
)

============================================================

[20:08:41] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768162121
    [base_string] => 2009491/api/v2/order/get_order_detail1768162121eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoo_2PywYwz8-7SDgBQAE.OMifOHHewmSnDsIE5EeyPHlt66n1Gxb6XyKcvtGWPSE504113848
    [signature] => 7cc04323587e1600...
    [url_length] => 857
)

============================================================

[20:08:41] INFO: ⏳ Executando cURL...
============================================================

[20:08:43] INFO: ✅ cURL executado
============================================================

[20:08:43] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":12.04,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":288395872,"buyer_username":"anapaula.fidelis","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1767711698,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":12.04,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"22613","series_number":"5","access_key":"41260132111081000193550050000226131210591316","issue_date":1767713324,"total_value":7.72,"products_total_value":7.72,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7reod-m8by3vyzg8mhc4_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":22398396765,"item_name":"KIT 10 Caderno Jandaia Stiff com 96 folhas 140mmX200mm 1/4","item_sku":"KITCAJANSTIFF","main_item":false,"model_discounted_price":77.22,"model_id":129833228545,"model_name":"Vermelho","model_original_price":78,"model_quantity_purchased":1,"model_sku":"KITCAVERM","order_item_id":22398396765,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":0.5,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"260106BXNQ1CKS","order_status":"COMPLETED","package_list":[{"package_number":"OFG221410899126434","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":22398396765,"model_id":129833228545,"model_quantity":1,"order_item_id":22398396765,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":500,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1767713078,"payment_method":"Pix","pickup_done_time":1767819009,"recipient_address":{"name":"A******s","phone":"******15","town":"","district":"Grã-Duquesa","city":"Governador Valadares","state":"Minas Gerais","region":"BR","zipcode":"35057450","full_address":"Av******"},"region":"BR","return_request_due_date":1768753169,"reverse_shipping_fee":0,"ship_by_date":1767841199,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":77.22,"update_time":1768162082}]},"request_id":"e3e3e7f3482253387c741524878fe200:010002055bf031b2:000000e84516565d"}
    [curl_error] => 
)

============================================================

[20:08:43] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[20:08:43] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 260106BXNQ1CKS
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[20:08:43] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 260106BXNQ1CKS
)

============================================================

[20:08:43] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_260106BXNQ1CKS.json
============================================================

[20:08:43] INFO: 📦 Item #0
Array
(
    [item_name] => KIT 10 Caderno Jandaia Stiff com 96 folhas 140mmX200mm 1/4
    [item_sku] => KITCAJANSTIFF
    [model_sku] => KITCAVERM
    [sku_usado] => KITCAJANSTIFF
    [tem_dpx] => 
)

============================================================

[20:08:43] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 260106BXNQ1CKS
)

============================================================

[12:02:22] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260106ARH84914
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[12:02:22] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260106ARH84914
    [shop_id] => 504113848
)

============================================================

[12:02:22] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768219342
    [base_string] => 2009491/api/v2/order/get_order_detail1768219342eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo7uOSywYwsqjMqw84AUAB.dWEEqAuWUUXpR_VxagPORZMnGBuKvq5hic_UKtEfPOI504113848
    [signature] => dafad24f94d5b102...
    [url_length] => 858
)

============================================================

[12:02:22] INFO: ⏳ Executando cURL...
============================================================

[12:02:24] INFO: ✅ cURL executado
============================================================

[12:02:24] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":21.44,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":374063354,"buyer_username":"juliete2202","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1767670746,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":21.44,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"22543","series_number":"5","access_key":"41260132111081000193550050000225431239541590","issue_date":1767670726,"total_value":6.59,"products_total_value":6.59,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-824hq-mf2ly5eigpoo5e_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23998924332,"item_name":"Kit 2 Pacotes Papel Sulfite Report Folha Ofício Para Impressão A4  com 500 Folhas","item_sku":"KIT2REPORTA4500","main_item":false,"model_discounted_price":65.85,"model_id":0,"model_name":"","model_original_price":65.85,"model_quantity_purchased":1,"model_sku":"","order_item_id":23998924332,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_type":"","weight":4.6,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"260106ARH84914","order_status":"COMPLETED","package_list":[{"package_number":"OFG221369946133857","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23998924332,"model_id":0,"model_quantity":1,"order_item_id":23998924332,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":4600,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1767670766,"payment_method":"SParcelado","pickup_done_time":1767724937,"recipient_address":{"name":"J******a","phone":"******68","town":"","district":"Vila Cacarro","city":"Cachoeira Paulista","state":"São Paulo","region":"BR","zipcode":"12630000","full_address":"Pr******"},"region":"BR","return_request_due_date":1768588623,"reverse_shipping_fee":0,"ship_by_date":1767754799,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":67.29,"update_time":1768219325}]},"request_id":"e3e3e7f3482fa5dbe962183c12eb1200:0100029844871460:000000d00dc48515"}
    [curl_error] => 
)

============================================================

[12:02:24] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[12:02:24] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 260106ARH84914
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[12:02:24] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 260106ARH84914
)

============================================================

[12:02:24] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_260106ARH84914.json
============================================================

[12:02:24] INFO: 📦 Item #0
Array
(
    [item_name] => Kit 2 Pacotes Papel Sulfite Report Folha Ofício Para Impressão A4  com 500 Folhas
    [item_sku] => KIT2REPORTA4500
    [model_sku] => 
    [sku_usado] => KIT2REPORTA4500
    [tem_dpx] => 
)

============================================================

[12:02:24] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 260106ARH84914
)

============================================================

[20:20:23] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260108EPWXX11W
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[20:20:23] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260108EPWXX11W
    [shop_id] => 504113848
)

============================================================

[20:20:23] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768249223
    [base_string] => 2009491/api/v2/order/get_order_detail1768249223eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEonsWUywYwl9rC7Q84AUAB.4e3F0ShkkiGCaAgWHaT7ZRwsIH3R_JgMQA2nF23wHxY504113848
    [signature] => b3464eceeba723fe...
    [url_length] => 858
)

============================================================

[20:20:23] INFO: ⏳ Executando cURL...
============================================================

[20:25:33] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260108EPWXX11W
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[20:25:33] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260108EPWXX11W
    [shop_id] => 504113848
)

============================================================

[20:25:33] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768249533
    [base_string] => 2009491/api/v2/order/get_order_detail1768249533eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEonsWUywYwl9rC7Q84AUAB.4e3F0ShkkiGCaAgWHaT7ZRwsIH3R_JgMQA2nF23wHxY504113848
    [signature] => bab39397a2562d68...
    [url_length] => 858
)

============================================================

[20:25:33] INFO: ⏳ Executando cURL...
============================================================

[20:30:44] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260108EPWXX11W
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[20:30:44] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260108EPWXX11W
    [shop_id] => 504113848
)

============================================================

[20:30:44] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768249844
    [base_string] => 2009491/api/v2/order/get_order_detail1768249844eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEonsWUywYwl9rC7Q84AUAB.4e3F0ShkkiGCaAgWHaT7ZRwsIH3R_JgMQA2nF23wHxY504113848
    [signature] => 8bb60bb7531e627b...
    [url_length] => 858
)

============================================================

[20:30:44] INFO: ⏳ Executando cURL...
============================================================

[20:35:54] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260108EPWXX11W
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[20:35:54] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260108EPWXX11W
    [shop_id] => 504113848
)

============================================================

[20:35:54] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768250154
    [base_string] => 2009491/api/v2/order/get_order_detail1768250154eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEonsWUywYwl9rC7Q84AUAB.4e3F0ShkkiGCaAgWHaT7ZRwsIH3R_JgMQA2nF23wHxY504113848
    [signature] => a3b12d0670636d6d...
    [url_length] => 858
)

============================================================

[20:35:54] INFO: ⏳ Executando cURL...
============================================================

[18:22:05] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251221VFHXEF82
    [seller_id] => 362500690
    [user_id] => 629
    [status] => COMPLETED
)

============================================================

[18:22:05] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251221VFHXEF82
    [shop_id] => 362500690
)

============================================================

[18:22:05] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 362500690
    [timestamp] => 1768328525
    [base_string] => 2009491/api/v2/order/get_order_detail1768328525eyJhbGciOiJIUzI1NiJ9.CJPTehABGNKk7awBIAEoyZqaywYw0bHFzQQ4AUAB.5DUCxf1Noj7nA6X3zNI9sfsOUAq4O4LOcrGsK39aUYo362500690
    [signature] => 5de0f7b512f3d4ea...
    [url_length] => 858
)

============================================================

[18:22:05] INFO: ⏳ Executando cURL...
============================================================

[18:22:06] INFO: ✅ cURL executado
============================================================

[18:22:06] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":15.69,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1348822163,"buyer_username":"manuelbonfimmouralima","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress CPF","cod":false,"create_time":1766279582,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":15.69,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/br-11134207-81z1k-mi99x94c75kzc6_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":58201845050,"item_name":"Vídeo Game Portátil X7 Plus 5.1” 10.000 Jogos + 11 Emuladores Recarregáveis","item_sku":"DPX1814296700","main_item":false,"model_discounted_price":229.9,"model_id":0,"model_name":"","model_original_price":229.9,"model_quantity_purchased":1,"model_sku":"","order_item_id":58201845050,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_type":"","weight":1,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251221VFHXEF82","order_status":"COMPLETED","package_list":[{"package_number":"OFG219978782174659","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress CPF","item_list":[{"item_id":58201845050,"model_id":0,"model_quantity":1,"order_item_id":58201845050,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":1000,"allow_self_design_awb":true,"logistics_channel_id":90016,"sorting_group":""}],"pay_time":1766279679,"payment_method":"Pix","pickup_done_time":1766514037,"recipient_address":{"name":"C******a","phone":"******53","town":"","district":"Sol nascente","city":"Aquiraz","state":"Ceará","region":"BR","zipcode":"61700000","full_address":"Av******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766458799,"shipping_carrier":"Shopee Xpress CPF","split_up":false,"total_amount":244.06,"update_time":1768328523}]},"request_id":"e3e3e7f3484911a55b30cbe54c347500:0100025249566120:0000008024769cbc"}
    [curl_error] => 
)

============================================================

[18:22:06] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[18:22:06] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251221VFHXEF82
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[18:22:06] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251221VFHXEF82
)

============================================================

[18:22:06] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251221VFHXEF82.json
============================================================

[18:22:06] INFO: 📦 Item #0
Array
(
    [item_name] => Vídeo Game Portátil X7 Plus 5.1” 10.000 Jogos + 11 Emuladores Recarregáveis
    [item_sku] => DPX1814296700
    [model_sku] => 
    [sku_usado] => DPX1814296700
    [tem_dpx] => 1
)

============================================================

[18:22:06] INFO: 💾 INSERINDO EM MINHAS_VENDAS
Array
(
    [saleTitle] => 251221VFHXEF82
    [order_id] => 251221VFHXEF82
    [saleId] => 251221VFHXEF82
    [vlr_total] => 244.06
    [paid_amount] => 244.06
    [vlr_custo_pago] => 135.95
    [vlr_custo] => 135.95
    [vendido_dia] => 2025-12-21
    [usuario_id] => 629
    [integracao] => shopee
    [status_venda] => payment_pending
    [infos_comprador] => {"name":"C******a","phone":"******53","town":"","district":"Sol nascente","city":"Aquiraz","state":"Cear\u00e1","region":"BR","zipcode":"61700000","full_address":"Av******"}
    [loja_id] => 362500690
    [loja_nome] => Sparta Prime Store
    [shipping_id] => 251221VFHXEF82
    [fornecedor] => 
    [whitelabel] => spdrop
    [enviado] => 0
    [tipo_envio] => 
    [codigo_rastreio] => 
    [destinatario] => C******a
)

============================================================

[18:22:06] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251221VFHXEF82
    [error] => SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'vlr_custo_pago' at row 1
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 442
)

============================================================

[18:27:15] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251221VFHXEF82
    [seller_id] => 362500690
    [user_id] => 629
    [status] => COMPLETED
)

============================================================

[18:27:15] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251221VFHXEF82
    [shop_id] => 362500690
)

============================================================

[18:27:15] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 362500690
    [timestamp] => 1768328835
    [base_string] => 2009491/api/v2/order/get_order_detail1768328835eyJhbGciOiJIUzI1NiJ9.CJPTehABGNKk7awBIAEoyZqaywYw0bHFzQQ4AUAB.5DUCxf1Noj7nA6X3zNI9sfsOUAq4O4LOcrGsK39aUYo362500690
    [signature] => eb98bc1c43a6eeb9...
    [url_length] => 858
)

============================================================

[18:27:15] INFO: ⏳ Executando cURL...
============================================================

[18:27:17] INFO: ✅ cURL executado
============================================================

[18:27:17] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":15.69,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1348822163,"buyer_username":"manuelbonfimmouralima","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress CPF","cod":false,"create_time":1766279582,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":15.69,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"","series_number":"","access_key":"","issue_date":0,"total_value":0,"products_total_value":0,"tax_code":""},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/br-11134207-81z1k-mi99x94c75kzc6_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":58201845050,"item_name":"Vídeo Game Portátil X7 Plus 5.1” 10.000 Jogos + 11 Emuladores Recarregáveis","item_sku":"DPX1814296700","main_item":false,"model_discounted_price":229.9,"model_id":0,"model_name":"","model_original_price":229.9,"model_quantity_purchased":1,"model_sku":"","order_item_id":58201845050,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_type":"","weight":1,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251221VFHXEF82","order_status":"COMPLETED","package_list":[{"package_number":"OFG219978782174659","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress CPF","item_list":[{"item_id":58201845050,"model_id":0,"model_quantity":1,"order_item_id":58201845050,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":1000,"allow_self_design_awb":true,"logistics_channel_id":90016,"sorting_group":""}],"pay_time":1766279679,"payment_method":"Pix","pickup_done_time":1766514037,"recipient_address":{"name":"C******a","phone":"******53","town":"","district":"Sol nascente","city":"Aquiraz","state":"Ceará","region":"BR","zipcode":"61700000","full_address":"Av******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1766458799,"shipping_carrier":"Shopee Xpress CPF","split_up":false,"total_amount":244.06,"update_time":1768328533}]},"request_id":"e3e3e7f348492426a1f3445ccd00d800:0100021bc0d7fec9:000000355e8f85c6"}
    [curl_error] => 
)

============================================================

[18:27:17] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[18:27:17] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251221VFHXEF82
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[18:27:17] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251221VFHXEF82
)

============================================================

[18:27:17] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251221VFHXEF82.json
============================================================

[18:27:17] INFO: 📦 Item #0
Array
(
    [item_name] => Vídeo Game Portátil X7 Plus 5.1” 10.000 Jogos + 11 Emuladores Recarregáveis
    [item_sku] => DPX1814296700
    [model_sku] => 
    [sku_usado] => DPX1814296700
    [tem_dpx] => 1
)

============================================================

[18:27:17] INFO: 💾 INSERINDO EM MINHAS_VENDAS
Array
(
    [saleTitle] => 251221VFHXEF82
    [order_id] => 251221VFHXEF82
    [saleId] => 251221VFHXEF82
    [vlr_total] => 244.06
    [paid_amount] => 244.06
    [vlr_custo_pago] => 135.95
    [vlr_custo] => 135.95
    [vendido_dia] => 2025-12-21
    [usuario_id] => 629
    [integracao] => shopee
    [status_venda] => payment_pending
    [infos_comprador] => {"name":"C******a","phone":"******53","town":"","district":"Sol nascente","city":"Aquiraz","state":"Cear\u00e1","region":"BR","zipcode":"61700000","full_address":"Av******"}
    [loja_id] => 362500690
    [loja_nome] => Sparta Prime Store
    [shipping_id] => 251221VFHXEF82
    [fornecedor] => 
    [whitelabel] => spdrop
    [enviado] => 0
    [tipo_envio] => 
    [codigo_rastreio] => 
    [destinatario] => C******a
)

============================================================

[18:27:17] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251221VFHXEF82
    [error] => SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'vlr_custo_pago' at row 1
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 442
)

============================================================

[23:23:35] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260109JD5JFX73
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[23:23:35] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260109JD5JFX73
    [shop_id] => 504113848
)

============================================================

[23:23:35] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768346615
    [base_string] => 2009491/api/v2/order/get_order_detail1768346615eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo6PWaywYwyK-4ig04AUAB.8TnbU40fXOBnGbv9FRIij2yflvKxPsQ7uRKQ-aWId7Q504113848
    [signature] => cb0b1e444f8d49fd...
    [url_length] => 858
)

============================================================

[23:23:35] INFO: ⏳ Executando cURL...
============================================================

[23:23:36] INFO: ✅ cURL executado
============================================================

[23:23:36] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":9.62,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1037782600,"buyer_username":"nataliemarques557","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1767933421,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":9.62,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"23412","series_number":"5","access_key":"41260132111081000193550050000234121850990278","issue_date":1767933524,"total_value":1.21,"products_total_value":1.21,"tax_code":"5102"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rasn-mamv5aakmonk94_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23998560376,"item_name":"Papel Sulfite A4 100 Folhas 21x 29,7cm A4 (Brancas e Coloridas - Amarelo Azul Rosa Verde) -  Report","item_sku":"SENINHA4COLO","main_item":false,"model_discounted_price":12.06,"model_id":199608168335,"model_name":"Report (Azul 100 fls)","model_original_price":18,"model_quantity_purchased":1,"model_sku":"A4AZUL","order_item_id":23998560376,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":0.5,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"260109JD5JFX73","order_status":"COMPLETED","package_list":[{"package_number":"OFG221632622143993","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23998560376,"model_id":199608168335,"model_quantity":1,"order_item_id":23998560376,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":750,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1767933445,"payment_method":"SParcelado","pickup_done_time":1767976702,"recipient_address":{"name":"N******s","phone":"******55","town":"","district":"Parolin","city":"Curitiba","state":"Paraná","region":"BR","zipcode":"80220410","full_address":"Ru******"},"region":"BR","return_request_due_date":1768752748,"reverse_shipping_fee":0,"ship_by_date":1768013999,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":21.67,"update_time":1768336555}]},"request_id":"e3e3e7f3484d47e0ba8a4bb0be4c9500:010002d3ed92a95e:000000557d476649"}
    [curl_error] => 
)

============================================================

[23:23:36] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[23:23:36] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 260109JD5JFX73
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[23:23:36] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 260109JD5JFX73
)

============================================================

[23:23:36] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_260109JD5JFX73.json
============================================================

[23:23:36] INFO: 📦 Item #0
Array
(
    [item_name] => Papel Sulfite A4 100 Folhas 21x 29,7cm A4 (Brancas e Coloridas - Amarelo Azul Rosa Verde) -  Report
    [item_sku] => SENINHA4COLO
    [model_sku] => A4AZUL
    [sku_usado] => SENINHA4COLO
    [tem_dpx] => 
)

============================================================

[23:23:36] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 260109JD5JFX73
)

============================================================

[13:47:27] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260101VA8QG7VM
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[13:47:27] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260101VA8QG7VM
    [shop_id] => 504113848
)

============================================================

[13:47:27] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768398447
    [base_string] => 2009491/api/v2/order/get_order_detail1768398447eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEowNqdywYwxpqX-QM4AUAB.1so79fUM99HadP7xh4dx-APh8orZLSiW_9sqhc5T6ko504113848
    [signature] => 6edefa6a1f35c3f7...
    [url_length] => 858
)

============================================================

[13:47:27] INFO: ⏳ Executando cURL...
============================================================

[13:47:28] INFO: ✅ cURL executado
============================================================

[13:47:28] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":18.11,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":729490960,"buyer_username":"geannyalves839","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1767273903,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":18.11,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"21355","series_number":"5","access_key":"41260132111081000193550050000213551338193138","issue_date":1767274119,"total_value":9.3,"products_total_value":9.3,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-825bb-mfvhv0hqtibz3b_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23699023856,"item_name":"Kit 3 Pacotes de Papel Sulfite Report Folha Ofício Para Impressão A4  com 500 Folhas","item_sku":"KIT3REPORTA4500","main_item":false,"model_discounted_price":92.99,"model_id":0,"model_name":"","model_original_price":180,"model_quantity_purchased":1,"model_sku":"","order_item_id":23699023856,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":2.3,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"260101VA8QG7VM","order_status":"COMPLETED","package_list":[{"package_number":"OFG220973104109205","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23699023856,"model_id":0,"model_quantity":1,"order_item_id":23699023856,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":2300,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1767273913,"payment_method":"Credit Card","pickup_done_time":1767386988,"recipient_address":{"name":"G******a","phone":"******97","town":"","district":"Chácaras Tubalina e Quartel","city":"Uberlândia","state":"Minas Gerais","region":"BR","zipcode":"38413337","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1767409199,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":92.99,"update_time":1768398431}]},"request_id":"e3e3e7f34859595521a6dd4a5b57ff00:0100026245cd7d50:000000b764b864c8"}
    [curl_error] => 
)

============================================================

[13:47:28] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[13:47:28] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 260101VA8QG7VM
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[13:47:28] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 260101VA8QG7VM
)

============================================================

[13:47:28] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_260101VA8QG7VM.json
============================================================

[13:47:28] INFO: 📦 Item #0
Array
(
    [item_name] => Kit 3 Pacotes de Papel Sulfite Report Folha Ofício Para Impressão A4  com 500 Folhas
    [item_sku] => KIT3REPORTA4500
    [model_sku] => 
    [sku_usado] => KIT3REPORTA4500
    [tem_dpx] => 
)

============================================================

[13:47:28] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 260101VA8QG7VM
)

============================================================

[14:47:23] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251231STYYPXR4
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[14:47:23] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251231STYYPXR4
    [shop_id] => 504113848
)

============================================================

[14:47:23] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768402043
    [base_string] => 2009491/api/v2/order/get_order_detail1768402043eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo58ueywYwvOOMrgI4AUAB.oJowCeOb2B2CwUIIBW2NvLlhzHIP8i-QyRsMxTzgNt4504113848
    [signature] => 39de85a8585195ac...
    [url_length] => 858
)

============================================================

[14:47:23] INFO: ⏳ Executando cURL...
============================================================

[14:47:24] INFO: ✅ cURL executado
============================================================

[14:47:24] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":21.9,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1441906698,"buyer_username":"lanematos651","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1767188785,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":21.9,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"21290","series_number":"5","access_key":"41251232111081000193550050000212901802119644","issue_date":1767188918,"total_value":3.4,"products_total_value":3.4,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rasf-mamuo8et0f9s1a_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23694073611,"item_name":"PAPEL SULFITE SENNINHA BRANCO A4 75G 100 FOLHAS – ESCOLHA SUA QUANTIDADE 1 ATÉ 5 PACOTES","item_sku":"SENINHABRAN100A4","main_item":false,"model_discounted_price":33.99,"model_id":228785743008,"model_name":"4 PACOTES - 400 FOLHAS","model_original_price":50,"model_quantity_purchased":1,"model_sku":"A4BRA4P","order_item_id":23694073611,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":0.5,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251231STYYPXR4","order_status":"COMPLETED","package_list":[{"package_number":"OFG220887985184259","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23694073611,"model_id":228785743008,"model_quantity":1,"order_item_id":23694073611,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":900,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1767188835,"payment_method":"Pix","pickup_done_time":1767366859,"recipient_address":{"name":"I******z","phone":"******02","town":"","district":"Nelson Costa","city":"Ilhéus","state":"Bahia","region":"BR","zipcode":"45656040","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1767409199,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":35.89,"update_time":1768402020}]},"request_id":"e3e3e7f3485a2fa56fa2a1212d5f9600:010002dd8f8509a2:0000001ea96a2730"}
    [curl_error] => 
)

============================================================

[14:47:24] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[14:47:24] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251231STYYPXR4
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[14:47:24] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251231STYYPXR4
)

============================================================

[14:47:24] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251231STYYPXR4.json
============================================================

[14:47:24] INFO: 📦 Item #0
Array
(
    [item_name] => PAPEL SULFITE SENNINHA BRANCO A4 75G 100 FOLHAS – ESCOLHA SUA QUANTIDADE 1 ATÉ 5 PACOTES
    [item_sku] => SENINHABRAN100A4
    [model_sku] => A4BRA4P
    [sku_usado] => SENINHABRAN100A4
    [tem_dpx] => 
)

============================================================

[14:47:24] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251231STYYPXR4
)

============================================================

[19:32:23] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251228G3YK15YP
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:32:23] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251228G3YK15YP
    [shop_id] => 504113848
)

============================================================

[19:32:23] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768505543
    [base_string] => 2009491/api/v2/order/get_order_detail1768505543eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEojJWkywYwqajfmgI4AUAB.LHFfYoS84EBYNugyLQTZSwHoZLIB-Hfr8rm1y3Yctew504113848
    [signature] => 3ac9219000c3568f...
    [url_length] => 858
)

============================================================

[19:32:23] INFO: ⏳ Executando cURL...
============================================================

[19:32:24] INFO: ✅ cURL executado
============================================================

[19:32:24] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":12.29,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1567051321,"buyer_username":"2ko3ktqsw_","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1766854837,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":12.29,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"20820","series_number":"5","access_key":"41251232111081000193550050000208201134171286","issue_date":1766855624,"total_value":7.21,"products_total_value":7.21,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rfha-m9aibia9cqolbb_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":19899705070,"item_name":"KIT com 20 Caderno brochura Caligrafia Pedagogica 40  fls Jandainha 1/4","item_sku":"KIT20JANCALI","main_item":false,"model_discounted_price":36.05,"model_id":0,"model_name":"","model_original_price":51.5,"model_quantity_purchased":2,"model_sku":"","order_item_id":19899705070,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":1.4,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"251228G3YK15YP","order_status":"COMPLETED","package_list":[{"package_number":"OFG220554037153600","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":19899705070,"model_id":0,"model_quantity":2,"order_item_id":19899705070,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":2800,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1766855418,"payment_method":"Credit Card","pickup_done_time":1767026687,"recipient_address":{"name":"E******o","phone":"******36","town":"","district":"Vila Formosa","city":"São Paulo","state":"São Paulo","region":"BR","zipcode":"03363020","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1767063599,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":97.1,"update_time":1768505521}]},"request_id":"e3e3e7f3487248bd40977925a45ce400:010002c206c1f928:0000001a4d42c46d"}
    [curl_error] => 
)

============================================================

[19:32:24] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[19:32:24] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 251228G3YK15YP
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[19:32:24] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 251228G3YK15YP
)

============================================================

[19:32:24] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_251228G3YK15YP.json
============================================================

[19:32:24] INFO: 📦 Item #0
Array
(
    [item_name] => KIT com 20 Caderno brochura Caligrafia Pedagogica 40  fls Jandainha 1/4
    [item_sku] => KIT20JANCALI
    [model_sku] => 
    [sku_usado] => KIT20JANCALI
    [tem_dpx] => 
)

============================================================

[19:32:24] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 251228G3YK15YP
)

============================================================

[20:08:31] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2601021X7EHBUV
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[20:08:31] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2601021X7EHBUV
    [shop_id] => 504113848
)

============================================================

[20:08:31] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768507711
    [base_string] => 2009491/api/v2/order/get_order_detail1768507711eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo-YWlywYwgLKF5ww4AUAB.kRD8DTlT19mLkMREB55_6yfWY-uFe9mZpmJB8y86dUI504113848
    [signature] => ffacf53007b2ec99...
    [url_length] => 858
)

============================================================

[20:08:31] INFO: ⏳ Executando cURL...
============================================================

[20:08:33] INFO: ✅ cURL executado
============================================================

[20:08:33] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":15.69,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":788054744,"buyer_username":"larissawestphal","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1767367622,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":15.69,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"21605","series_number":"5","access_key":"41260132111081000193550050000216051485130607","issue_date":1767368027,"total_value":9.3,"products_total_value":9.3,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-825bb-mfvhv0hqtibz3b_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23699023856,"item_name":"Kit 3 Pacotes de Papel Sulfite Report Folha Ofício Para Impressão A4  com 500 Folhas","item_sku":"KIT3REPORTA4500","main_item":false,"model_discounted_price":92.99,"model_id":0,"model_name":"","model_original_price":180,"model_quantity_purchased":1,"model_sku":"","order_item_id":23699023856,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":2.3,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"2601021X7EHBUV","order_status":"COMPLETED","package_list":[{"package_number":"OFG221066823140125","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23699023856,"model_id":0,"model_quantity":1,"order_item_id":23699023856,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":2300,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1767367690,"payment_method":"Pix","pickup_done_time":1767667740,"recipient_address":{"name":"L******l","phone":"******68","town":"","district":"São João","city":"Itajaí","state":"Santa Catarina","region":"BR","zipcode":"88304540","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1767668399,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":108.68,"update_time":1768507672}]},"request_id":"e3e3e7f34872c9fa91088b63973bc200:0100027062f8f1ec:00000080a2f26079"}
    [curl_error] => 
)

============================================================

[20:08:33] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[20:08:33] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 2601021X7EHBUV
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[20:08:33] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 2601021X7EHBUV
)

============================================================

[20:08:33] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_2601021X7EHBUV.json
============================================================

[20:08:33] INFO: 📦 Item #0
Array
(
    [item_name] => Kit 3 Pacotes de Papel Sulfite Report Folha Ofício Para Impressão A4  com 500 Folhas
    [item_sku] => KIT3REPORTA4500
    [model_sku] => 
    [sku_usado] => KIT3REPORTA4500
    [tem_dpx] => 
)

============================================================

[20:08:33] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 2601021X7EHBUV
)

============================================================

[09:53:24] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2601069JYAETE4
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[09:53:24] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2601069JYAETE4
    [shop_id] => 504113848
)

============================================================

[09:53:24] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768643604
    [base_string] => 2009491/api/v2/order/get_order_detail1768643604eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEohsKsywYwvO7i5Ak4AUAB.zfg17L4nFuS4G8kgO6qLnVetUgo3a68CWouWvhwkorU504113848
    [signature] => eea8cede90ced2b6...
    [url_length] => 858
)

============================================================

[09:53:24] INFO: ⏳ Executando cURL...
============================================================

[09:53:25] INFO: ✅ cURL executado
============================================================

[09:53:25] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f348926dd4e4e6e0f7db185500"}
    [curl_error] => 
)

============================================================

[09:53:25] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[09:53:25] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[09:53:25] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 504113848
    [user_id] => 519
)

============================================================

[09:53:26] INFO: ✅ Token atualizado com sucesso
Array
(
    [new_token_preview] => eyJhbGciOiJIUzI1NiJ9...
)

============================================================

[09:53:26] INFO: ✅ Token atualizado com sucesso! Tentando novamente...
============================================================

[09:53:26] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2601069JYAETE4
    [shop_id] => 504113848
)

============================================================

[09:53:26] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768643606
    [base_string] => 2009491/api/v2/order/get_order_detail1768643606eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEolritywYw-c2g8gc4AUAB.M6r0d-TXCPrCVAsWvqA_29DuWHZmGnKmia0-ngXl26A504113848
    [signature] => 5d47dffc06723817...
    [url_length] => 858
)

============================================================

[09:53:26] INFO: ⏳ Executando cURL...
============================================================

[09:53:29] INFO: ✅ cURL executado
============================================================

[09:53:29] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":12.04,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":421504050,"buyer_username":"mariabianka14","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1767630416,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":12.04,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"22324","series_number":"5","access_key":"41260132111081000193550050000223241129445167","issue_date":1767630521,"total_value":5.49,"products_total_value":5.49,"tax_code":"5102"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rd4y-m7i2dr9lh04v12_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":22893826481,"item_name":"Bloco Desenho Branco A4 180g/m² 20 Folhas Filiperson","item_sku":"FP01652","main_item":false,"model_discounted_price":22.57,"model_id":0,"model_name":"","model_original_price":37,"model_quantity_purchased":1,"model_sku":"","order_item_id":22893826481,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":0.28,"wholesale":false},{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rdxq-mcw8tye268e894_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23794274743,"item_name":"Papel Criativo Usapel; Formato: A4; Gramatura: 85 G/m2; 45 Folhas.","item_sku":"pap.criat.85g.neon.45fls.usapel","main_item":false,"model_discounted_price":19.7,"model_id":0,"model_name":"","model_original_price":19.9,"model_quantity_purchased":1,"model_sku":"","order_item_id":23794274743,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":0.2,"wholesale":false},{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7ratc-mamv59prh4y816_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23998560376,"item_name":"Papel Sulfite A4 100 Folhas 21x 29,7cm A4 (Brancas e Coloridas - Amarelo Azul Rosa Verde) -  Report","item_sku":"SENINHA4COLO","main_item":false,"model_discounted_price":12.59,"model_id":199608168334,"model_name":"Report  (Branco 100 fls)","model_original_price":18,"model_quantity_purchased":1,"model_sku":"A4BRAN","order_item_id":23998560376,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":0.5,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"2601069JYAETE4","order_status":"COMPLETED","package_list":[{"package_number":"OFG221329616159292","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":22893826481,"model_id":0,"model_quantity":1,"order_item_id":22893826481,"promotion_group_id":0,"product_location_id":"BRZ"},{"item_id":23794274743,"model_id":0,"model_quantity":1,"order_item_id":23794274743,"promotion_group_id":0,"product_location_id":"BRZ"},{"item_id":23998560376,"model_id":199608168334,"model_quantity":1,"order_item_id":23998560376,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":1650,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1767630454,"payment_method":"Pix","pickup_done_time":1767897627,"recipient_address":{"name":"M******a","phone":"******49","town":"","district":"Planta Wagner","city":"Piraquara","state":"Paraná","region":"BR","zipcode":"83314335","full_address":"R ******"},"region":"BR","return_request_due_date":1768660056,"reverse_shipping_fee":0,"ship_by_date":1767754799,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":54.86,"update_time":1768643591}]},"request_id":"e3e3e7f348926e02ae78a6a89bee6f00:010002f31bd1fcf8:000000cc7887a428"}
    [curl_error] => 
)

============================================================

[09:53:29] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[09:53:29] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 2601069JYAETE4
    [order_status] => COMPLETED
    [items_count] => 3
)

============================================================

[09:53:29] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 3
    [order_sn] => 2601069JYAETE4
)

============================================================

[09:53:29] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_2601069JYAETE4.json
============================================================

[09:53:29] INFO: 📦 Item #0
Array
(
    [item_name] => Bloco Desenho Branco A4 180g/m² 20 Folhas Filiperson
    [item_sku] => FP01652
    [model_sku] => 
    [sku_usado] => FP01652
    [tem_dpx] => 
)

============================================================

[09:53:29] INFO: 📦 Item #1
Array
(
    [item_name] => Papel Criativo Usapel; Formato: A4; Gramatura: 85 G/m2; 45 Folhas.
    [item_sku] => pap.criat.85g.neon.45fls.usapel
    [model_sku] => 
    [sku_usado] => pap.criat.85g.neon.45fls.usapel
    [tem_dpx] => 
)

============================================================

[09:53:29] INFO: 📦 Item #2
Array
(
    [item_name] => Papel Sulfite A4 100 Folhas 21x 29,7cm A4 (Brancas e Coloridas - Amarelo Azul Rosa Verde) -  Report
    [item_sku] => SENINHA4COLO
    [model_sku] => A4BRAN
    [sku_usado] => SENINHA4COLO
    [tem_dpx] => 
)

============================================================

[09:53:29] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 2601069JYAETE4
)

============================================================

[16:56:51] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260105792134SD
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[16:56:51] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260105792134SD
    [shop_id] => 504113848
)

============================================================

[16:56:51] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768669011
    [base_string] => 2009491/api/v2/order/get_order_detail1768669011eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo2qmuywYw0aDCqQE4AUAB.naCxHU2-HppPk-dwSn-hVHiQk6gkGEMMgsrAp9yX96U504113848
    [signature] => a03d8af3af2ead93...
    [url_length] => 858
)

============================================================

[16:56:51] INFO: ⏳ Executando cURL...
============================================================

[16:56:53] INFO: ✅ cURL executado
============================================================

[16:56:53] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":10.83,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":402732717,"buyer_username":"shirleisantanas","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1767551050,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":10.83,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"22091","series_number":"5","access_key":"41260132111081000193550050000220911314995280","issue_date":1767551326,"total_value":1.29,"products_total_value":1.29,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rffx-m9ahxxg2pjtzd2_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23198451439,"item_name":"KIT com 5 Caderno brochura Caligrafia Pedagogica 40  fls Jandainha 1/4","item_sku":"KIT5JANCALI","main_item":false,"model_discounted_price":12.93,"model_id":0,"model_name":"","model_original_price":19.9,"model_quantity_purchased":1,"model_sku":"","order_item_id":23198451439,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":0.35,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"260105792134SD","order_status":"COMPLETED","package_list":[{"package_number":"OFG221250251100918","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23198451439,"model_id":0,"model_quantity":1,"order_item_id":23198451439,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":350,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1767551058,"payment_method":"Credit Card","pickup_done_time":1767631570,"recipient_address":{"name":"S*****i","phone":"******27","town":"","district":"Demboski","city":"Içara","state":"Santa Catarina","region":"BR","zipcode":"88823046","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1767668399,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":18.35,"update_time":1768668995}]},"request_id":"e3e3e7f348985836d1a55a74193ca800:0100028453f7eb53:000000e2939385aa"}
    [curl_error] => 
)

============================================================

[16:56:53] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[16:56:53] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 260105792134SD
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[16:56:53] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 260105792134SD
)

============================================================

[16:56:53] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_260105792134SD.json
============================================================

[16:56:53] INFO: 📦 Item #0
Array
(
    [item_name] => KIT com 5 Caderno brochura Caligrafia Pedagogica 40  fls Jandainha 1/4
    [item_sku] => KIT5JANCALI
    [model_sku] => 
    [sku_usado] => KIT5JANCALI
    [tem_dpx] => 
)

============================================================

[16:56:53] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 260105792134SD
)

============================================================

[02:26:33] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260111RGPT2EB6
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[02:26:33] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260111RGPT2EB6
    [shop_id] => 504113848
)

============================================================

[02:26:33] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768703193
    [base_string] => 2009491/api/v2/order/get_order_detail1768703193eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEo-oGxywYwi7C9iAg4AUAB.NSRtEbfvswgKsA8K371Z5hTvU8fnRR6CNRSgJr_LwGw504113848
    [signature] => 298422d2b79b72e3...
    [url_length] => 858
)

============================================================

[02:26:33] INFO: ⏳ Executando cURL...
============================================================

[02:26:34] INFO: ✅ cURL executado
============================================================

[02:26:34] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":12.04,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":415286501,"buyer_username":"carlosp92","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1768143379,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":12.04,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"23949","series_number":"5","access_key":"41260132111081000193550050000239491129496400","issue_date":1768143528,"total_value":1.43,"products_total_value":1.43,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-821dp-mh3rnc07o0lk44_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":22293883650,"item_name":"Tinta Guache Escolar Pira 12 Cores 15ml Cada","item_sku":"TINTAGUACHE15ML12CORESPIRATININGA","main_item":false,"model_discounted_price":14.25,"model_id":0,"model_name":"","model_original_price":23,"model_quantity_purchased":1,"model_sku":"","order_item_id":22293883650,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":0.8,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"260111RGPT2EB6","order_status":"COMPLETED","package_list":[{"package_number":"OFG221842579183233","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":22293883650,"model_id":0,"model_quantity":1,"order_item_id":22293883650,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":800,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1768143426,"payment_method":"Pix","pickup_done_time":1768236302,"recipient_address":{"name":"C******s","phone":"******32","town":"","district":"Boa vista","city":"Campos Novos","state":"Santa Catarina","region":"BR","zipcode":"89620000","full_address":"Bl******"},"region":"BR","return_request_due_date":1769296619,"reverse_shipping_fee":0,"ship_by_date":1768359599,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":14.25,"update_time":1768703171}]},"request_id":"e3e3e7f348a04d94b4658effdb0b6a00:0100027ae632fd0a:000000686486e90d"}
    [curl_error] => 
)

============================================================

[02:26:34] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[02:26:34] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 260111RGPT2EB6
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[02:26:34] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 260111RGPT2EB6
)

============================================================

[02:26:34] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_260111RGPT2EB6.json
============================================================

[02:26:34] INFO: 📦 Item #0
Array
(
    [item_name] => Tinta Guache Escolar Pira 12 Cores 15ml Cada
    [item_sku] => TINTAGUACHE15ML12CORESPIRATININGA
    [model_sku] => 
    [sku_usado] => TINTAGUACHE15ML12CORESPIRATININGA
    [tem_dpx] => 
)

============================================================

[02:26:34] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 260111RGPT2EB6
)

============================================================

[15:50:28] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 26011309MFNEE4
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[15:50:28] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 26011309MFNEE4
    [shop_id] => 504113848
)

============================================================

[15:50:28] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768751428
    [base_string] => 2009491/api/v2/order/get_order_detail1768751428eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEogeizywYw1M-59gg4AUAB.CfkrCFieQPmHGosqvktc64p5ms3nKes3YTV_-DsD39A504113848
    [signature] => e0535b10d040e6bb...
    [url_length] => 858
)

============================================================

[15:50:28] INFO: ⏳ Executando cURL...
============================================================

[15:50:30] INFO: ✅ cURL executado
============================================================

[15:50:30] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":10.83,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":546652207,"buyer_username":"naiaraalvarenga969","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1768311152,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":10.83,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"24744","series_number":"5","access_key":"41260132111081000193550050000247441946293670","issue_date":1768311531,"total_value":1.43,"products_total_value":1.43,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-821dp-mh3rnc07o0lk44_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":22293883650,"item_name":"Tinta Guache Escolar Pira 12 Cores 15ml Cada","item_sku":"TINTAGUACHE15ML12CORESPIRATININGA","main_item":false,"model_discounted_price":14.25,"model_id":0,"model_name":"","model_original_price":23,"model_quantity_purchased":1,"model_sku":"","order_item_id":22293883650,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":0.8,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"26011309MFNEE4","order_status":"COMPLETED","package_list":[{"package_number":"OFG222010352136556","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":22293883650,"model_id":0,"model_quantity":1,"order_item_id":22293883650,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":800,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1768311165,"payment_method":"Credit Card","pickup_done_time":1768329978,"recipient_address":{"name":"N******s","phone":"******67","town":"","district":"Jardim Aeroporto I","city":"Mirandópolis","state":"São Paulo","region":"BR","zipcode":"16804346","full_address":"Ru******"},"region":"BR","return_request_due_date":1769282069,"reverse_shipping_fee":0,"ship_by_date":1768359599,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":14.25,"update_time":1768751406}]},"request_id":"e3e3e7f348ab88a60d535cd823ddb500:010002a1b7eafdcb:000000af462b39b6"}
    [curl_error] => 
)

============================================================

[15:50:30] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[15:50:30] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 26011309MFNEE4
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[15:50:30] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 26011309MFNEE4
)

============================================================

[15:50:30] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_26011309MFNEE4.json
============================================================

[15:50:30] INFO: 📦 Item #0
Array
(
    [item_name] => Tinta Guache Escolar Pira 12 Cores 15ml Cada
    [item_sku] => TINTAGUACHE15ML12CORESPIRATININGA
    [model_sku] => 
    [sku_usado] => TINTAGUACHE15ML12CORESPIRATININGA
    [tem_dpx] => 
)

============================================================

[15:50:30] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 26011309MFNEE4
)

============================================================

[15:59:36] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260110KMHWF0MR
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[15:59:36] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260110KMHWF0MR
    [shop_id] => 504113848
)

============================================================

[15:59:36] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768838376
    [base_string] => 2009491/api/v2/order/get_order_detail1768838376eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEokqi5ywYw5Img1A44AUAB.gslB7DOCFNM49E-RzQzR3nBbuZ7JqdDHp9thMRUkMUs504113848
    [signature] => 3dd48b1b45db337f...
    [url_length] => 858
)

============================================================

[15:59:36] INFO: ⏳ Executando cURL...
============================================================

[15:59:39] INFO: ✅ cURL executado
============================================================

[15:59:39] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":30.13,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":346241241,"buyer_username":"xq5fdlqzp6","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1767975712,"currency":"BRL","days_to_ship":3,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":30.13,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"23573","series_number":"5","access_key":"41260132111081000193550050000235731757597066","issue_date":1767975829,"total_value":9.3,"products_total_value":9.3,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-825bb-mfvhv0hqtibz3b_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23699023856,"item_name":"Kit 3 Pacotes de Papel Sulfite Report Folha Ofício Para Impressão A4  com 500 Folhas","item_sku":"KIT3REPORTA4500","main_item":false,"model_discounted_price":92.99,"model_id":0,"model_name":"","model_original_price":180,"model_quantity_purchased":1,"model_sku":"","order_item_id":23699023856,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":2.3,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"260110KMHWF0MR","order_status":"COMPLETED","package_list":[{"package_number":"OFG221674912110486","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23699023856,"model_id":0,"model_quantity":1,"order_item_id":23699023856,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":2300,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1767975752,"payment_method":"Pix","pickup_done_time":1768256408,"recipient_address":{"name":"E******o","phone":"******48","town":"","district":"Centro","city":"Licínio de Almeida","state":"Bahia","region":"BR","zipcode":"46330000","full_address":"Ru******"},"region":"BR","return_request_due_date":1769436136,"reverse_shipping_fee":0,"ship_by_date":1768407753,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":103.12,"update_time":1768838356}]},"request_id":"e3e3e7f348bfc7413d21312030b38e00:01000220480b7ab9:00000074072531ea"}
    [curl_error] => 
)

============================================================

[15:59:39] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[15:59:39] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 260110KMHWF0MR
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[15:59:39] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 260110KMHWF0MR
)

============================================================

[15:59:39] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_260110KMHWF0MR.json
============================================================

[15:59:39] INFO: 📦 Item #0
Array
(
    [item_name] => Kit 3 Pacotes de Papel Sulfite Report Folha Ofício Para Impressão A4  com 500 Folhas
    [item_sku] => KIT3REPORTA4500
    [model_sku] => 
    [sku_usado] => KIT3REPORTA4500
    [tem_dpx] => 
)

============================================================

[15:59:39] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 260110KMHWF0MR
)

============================================================

[11:11:32] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2601141FT2RPHX
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[11:11:32] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2601141FT2RPHX
    [shop_id] => 504113848
)

============================================================

[11:11:32] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768907492
    [base_string] => 2009491/api/v2/order/get_order_detail1768907492eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEou429ywYwxYKZlQU4AUAB.9u0uGmZa6qtcvVk_wX-BGUMrcHCd6KTLC0iN28n10UA504113848
    [signature] => b6b1836fcc895d93...
    [url_length] => 858
)

============================================================

[11:11:32] INFO: ⏳ Executando cURL...
============================================================

[11:11:33] INFO: ✅ cURL executado
============================================================

[11:11:33] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":12.04,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1327389834,"buyer_username":"flviabroetto984","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1768352141,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":12.04,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"25067","series_number":"5","access_key":"41260132111081000193550050000250671381700464","issue_date":1768354131,"total_value":1.6,"products_total_value":1.6,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-81zto-miq2l7l2q682c3_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23798776467,"item_name":"PAPEL CRIATIVO A4 120G  8 CORES 24 FOLHAS PAGINA BRASIL","item_sku":"pap.criat.24fls.120g.PB","main_item":false,"model_discounted_price":15.99,"model_id":0,"model_name":"","model_original_price":40,"model_quantity_purchased":1,"model_sku":"","order_item_id":23798776467,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":0.2,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"2601141FT2RPHX","order_status":"COMPLETED","package_list":[{"package_number":"OFG222051341181371","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23798776467,"model_id":0,"model_quantity":1,"order_item_id":23798776467,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":420,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1768352156,"payment_method":"Credit Card","pickup_done_time":1768421755,"recipient_address":{"name":"F******s","phone":"******80","town":"","district":"Comunidade Urbde Barro Branco","city":"Guarapari","state":"Espírito Santo","region":"BR","zipcode":"29226400","full_address":"Es******"},"region":"BR","return_request_due_date":1769299735,"reverse_shipping_fee":0,"ship_by_date":1768445999,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":15.9,"update_time":1768907473}]},"request_id":"e3e3e7f348cfdec230e022399de01c00:0100029455c0930d:0000001badb1fb9a"}
    [curl_error] => 
)

============================================================

[11:11:33] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[11:11:33] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 2601141FT2RPHX
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[11:11:33] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 2601141FT2RPHX
)

============================================================

[11:11:33] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_2601141FT2RPHX.json
============================================================

[11:11:33] INFO: 📦 Item #0
Array
(
    [item_name] => PAPEL CRIATIVO A4 120G  8 CORES 24 FOLHAS PAGINA BRASIL
    [item_sku] => pap.criat.24fls.120g.PB
    [model_sku] => 
    [sku_usado] => pap.criat.24fls.120g.PB
    [tem_dpx] => 
)

============================================================

[11:11:33] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 2601141FT2RPHX
)

============================================================

[12:42:06] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260103276K8EYT
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[12:42:06] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260103276K8EYT
    [shop_id] => 504113848
)

============================================================

[12:42:06] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768912926
    [base_string] => 2009491/api/v2/order/get_order_detail1768912926eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEou429ywYwxYKZlQU4AUAB.9u0uGmZa6qtcvVk_wX-BGUMrcHCd6KTLC0iN28n10UA504113848
    [signature] => f660f6db8263317c...
    [url_length] => 858
)

============================================================

[12:42:06] INFO: ⏳ Executando cURL...
============================================================

[12:42:08] INFO: ✅ cURL executado
============================================================

[12:42:08] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":12.29,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":1162216197,"buyer_username":"t9uko1zsb8","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1767377258,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":12.29,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"21671","series_number":"5","access_key":"41260132111081000193550050000216711489337678","issue_date":1767377332,"total_value":9.3,"products_total_value":9.3,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-825bb-mfvhv0hqtibz3b_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23699023856,"item_name":"Kit 3 Pacotes de Papel Sulfite Report Folha Ofício Para Impressão A4  com 500 Folhas","item_sku":"KIT3REPORTA4500","main_item":false,"model_discounted_price":92.99,"model_id":0,"model_name":"","model_original_price":180,"model_quantity_purchased":1,"model_sku":"","order_item_id":23699023856,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":2.3,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"260103276K8EYT","order_status":"COMPLETED","package_list":[{"package_number":"OFG221076459116811","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23699023856,"model_id":0,"model_quantity":1,"order_item_id":23699023856,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":2300,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1767377307,"payment_method":"Pix","pickup_done_time":1767667870,"recipient_address":{"name":"R******a","phone":"******53","town":"","district":"Jardim São Paulo(Zona Leste)","city":"São Paulo","state":"São Paulo","region":"BR","zipcode":"08461530","full_address":"Ru******"},"region":"BR","return_request_due_date":1768933657,"reverse_shipping_fee":0,"ship_by_date":1767668399,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":92.99,"update_time":1768912889}]},"request_id":"e3e3e7f348d122afc523758884974f00:010002215ba147f3:00000041f349a641"}
    [curl_error] => 
)

============================================================

[12:42:08] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[12:42:08] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 260103276K8EYT
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[12:42:08] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 260103276K8EYT
)

============================================================

[12:42:08] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_260103276K8EYT.json
============================================================

[12:42:08] INFO: 📦 Item #0
Array
(
    [item_name] => Kit 3 Pacotes de Papel Sulfite Report Folha Ofício Para Impressão A4  com 500 Folhas
    [item_sku] => KIT3REPORTA4500
    [model_sku] => 
    [sku_usado] => KIT3REPORTA4500
    [tem_dpx] => 
)

============================================================

[12:42:08] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 260103276K8EYT
)

============================================================

[18:06:15] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260106BU6C1JK2
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[18:06:15] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260106BU6C1JK2
    [shop_id] => 504113848
)

============================================================

[18:06:15] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768932375
    [base_string] => 2009491/api/v2/order/get_order_detail1768932375eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEojvG-ywYwpu_qkAM4AUAB.I-jOOttEbwmtXmIbtD0-jw8YKxGl_utM7LHne_7bPVs504113848
    [signature] => a90e0e4ecfe46fa2...
    [url_length] => 858
)

============================================================

[18:06:15] INFO: ⏳ Executando cURL...
============================================================

[18:06:16] INFO: ✅ cURL executado
============================================================

[18:06:16] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":18.11,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":658566203,"buyer_username":"monicazaconeta","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1767707961,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":18.11,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"22584","series_number":"5","access_key":"41260132111081000193550050000225841601649777","issue_date":1767708233,"total_value":3.17,"products_total_value":3.17,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-821fg-mh0vvlv2jggbef_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23694680133,"item_name":"Kit 1/6/12 Tinta Guache 250ml Escolha sua cor Piratininga","item_sku":"TINTAGUACHE250ML","main_item":false,"model_discounted_price":31.67,"model_id":169410989362,"model_name":"6 cores","model_original_price":31.99,"model_quantity_purchased":1,"model_sku":"kitguache6cores250ml","order_item_id":23694680133,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":3.7,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"260106BU6C1JK2","order_status":"COMPLETED","package_list":[{"package_number":"OFG221407162107758","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23694680133,"model_id":169410989362,"model_quantity":1,"order_item_id":23694680133,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":3700,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1767708006,"payment_method":"Pix","pickup_done_time":1767811803,"recipient_address":{"name":"M******a","phone":"******03","town":"","district":"Shis","city":"Brasília","state":"Distrito Federal","region":"BR","zipcode":"71645110","full_address":"Qu******"},"region":"BR","return_request_due_date":1768959478,"reverse_shipping_fee":0,"ship_by_date":1767841199,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":31.67,"update_time":1768932337}]},"request_id":"e3e3e7f348d5a9ed8ab850a1a6ab7c00:01000245470f499b:0000004f3df92363"}
    [curl_error] => 
)

============================================================

[18:06:16] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[18:06:16] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 260106BU6C1JK2
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[18:06:16] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 260106BU6C1JK2
)

============================================================

[18:06:16] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_260106BU6C1JK2.json
============================================================

[18:06:16] INFO: 📦 Item #0
Array
(
    [item_name] => Kit 1/6/12 Tinta Guache 250ml Escolha sua cor Piratininga
    [item_sku] => TINTAGUACHE250ML
    [model_sku] => kitguache6cores250ml
    [sku_usado] => TINTAGUACHE250ML
    [tem_dpx] => 
)

============================================================

[18:06:16] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 260106BU6C1JK2
)

============================================================

[18:50:57] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 26011554YT08UU
    [seller_id] => 533042255
    [user_id] => 23862
    [status] => COMPLETED
)

============================================================

[18:50:57] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 26011554YT08UU
    [shop_id] => 533042255
)

============================================================

[18:50:57] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 533042255
    [timestamp] => 1768935057
    [base_string] => 2009491/api/v2/order/get_order_detail1768935057eyJhbGciOiJIUzI1NiJ9.CJPTehABGM-olv4BIAEo6ciYyQYwjNXvrAQ4AUAB.HPYNaOvFDySsG9Exk0-7Up8Xgg1WAw5lYOUnq4RC1QA533042255
    [signature] => 1e571d8db44e9ec3...
    [url_length] => 858
)

============================================================

[18:50:57] INFO: ⏳ Executando cURL...
============================================================

[18:50:58] INFO: ✅ cURL executado
============================================================

[18:50:58] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f348d649ca7fac7f491a68e000"}
    [curl_error] => 
)

============================================================

[18:50:58] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[18:50:58] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[18:50:58] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 533042255
    [user_id] => 23862
)

============================================================

[18:50:59] ERROR: ❌ Falha ao atualizar token - token inválido retornado
Array
(
    [error] => {"error":"refresh_token_expired","message":"Your refresh_token expired.","request_id":"e3e3e7f348d649dbdbdae040e563ca00"}
)

============================================================

[18:50:59] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 26011554YT08UU
    [error] => Token expirado e falha ao renovar. Reautorize sua conta Shopee nas configurações.
)

============================================================

[18:50:59] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 26011554YT08UU
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[18:56:05] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 26011554YT08UU
    [seller_id] => 533042255
    [user_id] => 23862
    [status] => COMPLETED
)

============================================================

[18:56:05] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 26011554YT08UU
    [shop_id] => 533042255
)

============================================================

[18:56:05] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 533042255
    [timestamp] => 1768935365
    [base_string] => 2009491/api/v2/order/get_order_detail1768935365eyJhbGciOiJIUzI1NiJ9.CJPTehABGM-olv4BIAEo6ciYyQYwjNXvrAQ4AUAB.HPYNaOvFDySsG9Exk0-7Up8Xgg1WAw5lYOUnq4RC1QA533042255
    [signature] => 2ca3ff011a6e4d1a...
    [url_length] => 858
)

============================================================

[18:56:05] INFO: ⏳ Executando cURL...
============================================================

[18:56:06] INFO: ✅ cURL executado
============================================================

[18:56:06] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f348d65c21e8f14b6e7d74ec00"}
    [curl_error] => 
)

============================================================

[18:56:06] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[18:56:06] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[18:56:06] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 533042255
    [user_id] => 23862
)

============================================================

[18:56:07] ERROR: ❌ Falha ao atualizar token - token inválido retornado
Array
(
    [error] => {"error":"refresh_token_expired","message":"Your refresh_token expired.","request_id":"e3e3e7f348d65c31cc31750ff07f6900"}
)

============================================================

[18:56:07] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 26011554YT08UU
    [error] => Token expirado e falha ao renovar. Reautorize sua conta Shopee nas configurações.
)

============================================================

[18:56:07] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 26011554YT08UU
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:03:12] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260112TW3PMD0R
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:03:12] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260112TW3PMD0R
    [shop_id] => 504113848
)

============================================================

[19:03:12] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768935792
    [base_string] => 2009491/api/v2/order/get_order_detail1768935792eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEojvG-ywYwpu_qkAM4AUAB.I-jOOttEbwmtXmIbtD0-jw8YKxGl_utM7LHne_7bPVs504113848
    [signature] => 24760d99fceaceef...
    [url_length] => 858
)

============================================================

[19:03:12] INFO: ⏳ Executando cURL...
============================================================

[19:03:14] INFO: ✅ cURL executado
============================================================

[19:03:14] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":22.18,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":485362857,"buyer_username":"suellenvko","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1768225416,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":22.18,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"24318","series_number":"5","access_key":"41260132111081000193550050000243181736062904","issue_date":1768225729,"total_value":3.2,"products_total_value":3.2,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-81zto-miq2l7l2q682c3_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23798776467,"item_name":"PAPEL CRIATIVO A4 120G  8 CORES 24 FOLHAS PAGINA BRASIL","item_sku":"pap.criat.24fls.120g.PB","main_item":false,"model_discounted_price":15.99,"model_id":0,"model_name":"","model_original_price":40,"model_quantity_purchased":2,"model_sku":"","order_item_id":23798776467,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":0.2,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"260112TW3PMD0R","order_status":"COMPLETED","package_list":[{"package_number":"OFG221924616153517","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23798776467,"model_id":0,"model_quantity":2,"order_item_id":23798776467,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":840,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1768225422,"payment_method":"Credit Card","pickup_done_time":1768257424,"recipient_address":{"name":"S******z","phone":"******07","town":"","district":"Guirai","city":"Ivinhema","state":"Mato Grosso do Sul","region":"BR","zipcode":"79740000","full_address":"Se******"},"region":"BR","return_request_due_date":1769267039,"reverse_shipping_fee":0,"ship_by_date":1768359599,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":34.16,"update_time":1768935767}]},"request_id":"e3e3e7f348d6759ccfc654e99cd04500:01000242313e9ce8:000000f9d6b716a7"}
    [curl_error] => 
)

============================================================

[19:03:14] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[19:03:14] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 260112TW3PMD0R
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[19:03:14] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 260112TW3PMD0R
)

============================================================

[19:03:14] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_260112TW3PMD0R.json
============================================================

[19:03:14] INFO: 📦 Item #0
Array
(
    [item_name] => PAPEL CRIATIVO A4 120G  8 CORES 24 FOLHAS PAGINA BRASIL
    [item_sku] => pap.criat.24fls.120g.PB
    [model_sku] => 
    [sku_usado] => pap.criat.24fls.120g.PB
    [tem_dpx] => 
)

============================================================

[19:03:14] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 260112TW3PMD0R
)

============================================================

[19:12:24] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260108FEQCC9B4
    [seller_id] => 533042255
    [user_id] => 23862
    [status] => COMPLETED
)

============================================================

[19:12:24] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260108FEQCC9B4
    [shop_id] => 533042255
)

============================================================

[19:12:24] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 533042255
    [timestamp] => 1768936344
    [base_string] => 2009491/api/v2/order/get_order_detail1768936344eyJhbGciOiJIUzI1NiJ9.CJPTehABGM-olv4BIAEo6ciYyQYwjNXvrAQ4AUAB.HPYNaOvFDySsG9Exk0-7Up8Xgg1WAw5lYOUnq4RC1QA533042255
    [signature] => d6ffb46af21444e7...
    [url_length] => 858
)

============================================================

[19:12:24] INFO: ⏳ Executando cURL...
============================================================

[19:12:25] INFO: ✅ cURL executado
============================================================

[19:12:25] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f348d69682bb44247326563d00"}
    [curl_error] => 
)

============================================================

[19:12:25] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[19:12:25] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[19:12:25] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 533042255
    [user_id] => 23862
)

============================================================

[19:12:26] ERROR: ❌ Falha ao atualizar token - token inválido retornado
Array
(
    [error] => {"error":"refresh_token_expired","message":"Your refresh_token expired.","request_id":"e3e3e7f348d69691ea1255bfb2f70700"}
)

============================================================

[19:12:26] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 260108FEQCC9B4
    [error] => Token expirado e falha ao renovar. Reautorize sua conta Shopee nas configurações.
)

============================================================

[19:12:26] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 260108FEQCC9B4
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:17:32] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260108FEQCC9B4
    [seller_id] => 533042255
    [user_id] => 23862
    [status] => COMPLETED
)

============================================================

[19:17:32] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260108FEQCC9B4
    [shop_id] => 533042255
)

============================================================

[19:17:32] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 533042255
    [timestamp] => 1768936652
    [base_string] => 2009491/api/v2/order/get_order_detail1768936652eyJhbGciOiJIUzI1NiJ9.CJPTehABGM-olv4BIAEo6ciYyQYwjNXvrAQ4AUAB.HPYNaOvFDySsG9Exk0-7Up8Xgg1WAw5lYOUnq4RC1QA533042255
    [signature] => b26cfc547d11d309...
    [url_length] => 858
)

============================================================

[19:17:32] INFO: ⏳ Executando cURL...
============================================================

[19:17:37] INFO: ✅ cURL executado
============================================================

[19:17:37] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f348d6a915c3e3296057b6aa00"}
    [curl_error] => 
)

============================================================

[19:17:37] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[19:17:37] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[19:17:37] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 533042255
    [user_id] => 23862
)

============================================================

[19:17:40] ERROR: ❌ Falha ao atualizar token - token inválido retornado
Array
(
    [error] => {"error":"refresh_token_expired","message":"Your refresh_token expired.","request_id":"e3e3e7f348d6a943b32ec138cf262500"}
)

============================================================

[19:17:40] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 260108FEQCC9B4
    [error] => Token expirado e falha ao renovar. Reautorize sua conta Shopee nas configurações.
)

============================================================

[19:17:40] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 260108FEQCC9B4
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[19:56:26] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260109KHY173PR
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[19:56:26] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260109KHY173PR
    [shop_id] => 504113848
)

============================================================

[19:56:26] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768938986
    [base_string] => 2009491/api/v2/order/get_order_detail1768938986eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEojvG-ywYwpu_qkAM4AUAB.I-jOOttEbwmtXmIbtD0-jw8YKxGl_utM7LHne_7bPVs504113848
    [signature] => efdc45bfb459eed9...
    [url_length] => 858
)

============================================================

[19:56:26] INFO: ⏳ Executando cURL...
============================================================

[19:56:27] INFO: ✅ cURL executado
============================================================

[19:56:27] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":12.04,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":555203426,"buyer_username":"iso6hd8zie","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1767972930,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":12.04,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"23556","series_number":"5","access_key":"41260132111081000193550050000235561835709083","issue_date":1767973130,"total_value":1.36,"products_total_value":1.36,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-7rd4w-m7xsvuqn1t12c8_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23998351300,"item_name":"Kit com 5 Capas Plásticas Transparente para Cadernos e livros.","item_sku":"","main_item":false,"model_discounted_price":13.6,"model_id":0,"model_name":"","model_original_price":25,"model_quantity_purchased":1,"model_sku":"","order_item_id":23998351300,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":226060188991488,"promotion_list":[{"promotion_type":"in_shop_flash_sale","promotion_id":226060188991488}],"promotion_type":"flash_sale","weight":0.2,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"260109KHY173PR","order_status":"COMPLETED","package_list":[{"package_number":"OFG221672130116289","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23998351300,"model_id":0,"model_quantity":1,"order_item_id":23998351300,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":280,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1767972940,"payment_method":"Credit Card","pickup_done_time":1767989176,"recipient_address":{"name":"V******r","phone":"******03","town":"","district":"Gilson Carone","city":"Cachoeiro de Itapemirim","state":"Espírito Santo","region":"BR","zipcode":"29310584","full_address":"Ru******"},"region":"BR","reverse_shipping_fee":0,"ship_by_date":1768273199,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":13.6,"update_time":1768938966}]},"request_id":"e3e3e7f348d733f5d6365630c8498f00:010002613622acf0:000000f5ecb50746"}
    [curl_error] => 
)

============================================================

[19:56:27] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[19:56:27] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 260109KHY173PR
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[19:56:27] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 260109KHY173PR
)

============================================================

[19:56:27] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_260109KHY173PR.json
============================================================

[19:56:27] INFO: 📦 Item #0
Array
(
    [item_name] => Kit com 5 Capas Plásticas Transparente para Cadernos e livros.
    [item_sku] => 
    [model_sku] => 
    [sku_usado] => 
    [tem_dpx] => 
)

============================================================

[19:56:27] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 260109KHY173PR
)

============================================================

[21:15:08] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260111PK42FU6R
    [seller_id] => 533042255
    [user_id] => 23862
    [status] => COMPLETED
)

============================================================

[21:15:08] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260111PK42FU6R
    [shop_id] => 533042255
)

============================================================

[21:15:08] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 533042255
    [timestamp] => 1768943708
    [base_string] => 2009491/api/v2/order/get_order_detail1768943708eyJhbGciOiJIUzI1NiJ9.CJPTehABGM-olv4BIAEo6ciYyQYwjNXvrAQ4AUAB.HPYNaOvFDySsG9Exk0-7Up8Xgg1WAw5lYOUnq4RC1QA533042255
    [signature] => b9f8014ed67ee8aa...
    [url_length] => 858
)

============================================================

[21:15:08] INFO: ⏳ Executando cURL...
============================================================

[21:15:09] INFO: ✅ cURL executado
============================================================

[21:15:09] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f348d84d6c2f61f03551f00b00"}
    [curl_error] => 
)

============================================================

[21:15:09] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[21:15:09] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[21:15:09] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 533042255
    [user_id] => 23862
)

============================================================

[21:15:10] ERROR: ❌ Falha ao atualizar token - token inválido retornado
Array
(
    [error] => {"error":"refresh_token_expired","message":"Your refresh_token expired.","request_id":"e3e3e7f348d84d7b727a09eb31129a00"}
)

============================================================

[21:15:10] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 260111PK42FU6R
    [error] => Token expirado e falha ao renovar. Reautorize sua conta Shopee nas configurações.
)

============================================================

[21:15:10] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 260111PK42FU6R
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[21:15:45] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260112SW13DK4E
    [seller_id] => 533042255
    [user_id] => 23862
    [status] => COMPLETED
)

============================================================

[21:15:45] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260112SW13DK4E
    [shop_id] => 533042255
)

============================================================

[21:15:45] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 533042255
    [timestamp] => 1768943745
    [base_string] => 2009491/api/v2/order/get_order_detail1768943745eyJhbGciOiJIUzI1NiJ9.CJPTehABGM-olv4BIAEo6ciYyQYwjNXvrAQ4AUAB.HPYNaOvFDySsG9Exk0-7Up8Xgg1WAw5lYOUnq4RC1QA533042255
    [signature] => 24d3672c22b81cbc...
    [url_length] => 858
)

============================================================

[21:15:45] INFO: ⏳ Executando cURL...
============================================================

[21:15:46] INFO: ✅ cURL executado
============================================================

[21:15:46] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f348d84fa2bf1963353958a300"}
    [curl_error] => 
)

============================================================

[21:15:46] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[21:15:46] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[21:15:46] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 533042255
    [user_id] => 23862
)

============================================================

[21:15:47] ERROR: ❌ Falha ao atualizar token - token inválido retornado
Array
(
    [error] => {"error":"refresh_token_expired","message":"Your refresh_token expired.","request_id":"e3e3e7f348d84fb1efc39007177c0d00"}
)

============================================================

[21:15:47] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 260112SW13DK4E
    [error] => Token expirado e falha ao renovar. Reautorize sua conta Shopee nas configurações.
)

============================================================

[21:15:47] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 260112SW13DK4E
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[21:20:52] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260112SW13DK4E
    [seller_id] => 533042255
    [user_id] => 23862
    [status] => COMPLETED
)

============================================================

[21:20:52] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260112SW13DK4E
    [shop_id] => 533042255
)

============================================================

[21:20:52] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 533042255
    [timestamp] => 1768944052
    [base_string] => 2009491/api/v2/order/get_order_detail1768944052eyJhbGciOiJIUzI1NiJ9.CJPTehABGM-olv4BIAEo6ciYyQYwjNXvrAQ4AUAB.HPYNaOvFDySsG9Exk0-7Up8Xgg1WAw5lYOUnq4RC1QA533042255
    [signature] => f9dba16fde8a1fe4...
    [url_length] => 858
)

============================================================

[21:20:52] INFO: ⏳ Executando cURL...
============================================================

[21:20:53] INFO: ✅ cURL executado
============================================================

[21:20:53] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f348d861f1da500f670d098400"}
    [curl_error] => 
)

============================================================

[21:20:53] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[21:20:53] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[21:20:53] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 533042255
    [user_id] => 23862
)

============================================================

[21:20:54] ERROR: ❌ Falha ao atualizar token - token inválido retornado
Array
(
    [error] => {"error":"refresh_token_expired","message":"Your refresh_token expired.","request_id":"e3e3e7f348d86200cfad346a1c943e00"}
)

============================================================

[21:20:54] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 260112SW13DK4E
    [error] => Token expirado e falha ao renovar. Reautorize sua conta Shopee nas configurações.
)

============================================================

[21:20:54] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 260112SW13DK4E
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[23:05:36] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260112SDJ1YJ20
    [seller_id] => 504113848
    [user_id] => 519
    [status] => COMPLETED
)

============================================================

[23:05:36] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260112SDJ1YJ20
    [shop_id] => 504113848
)

============================================================

[23:05:36] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 504113848
    [timestamp] => 1768950336
    [base_string] => 2009491/api/v2/order/get_order_detail1768950336eyJhbGciOiJIUzI1NiJ9.CJPTehABGLjVsPABIAEoq-K_ywYwgbrH-wY4AUAB.XC1oG0MkC7M00F9rAjB8i7IIi_lLFtbrVVJbAZA3GBY504113848
    [signature] => 2845cba2bd14afb7...
    [url_length] => 858
)

============================================================

[23:05:36] INFO: ⏳ Executando cURL...
============================================================

[23:05:38] INFO: ✅ cURL executado
============================================================

[23:05:38] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":27.3,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":409322423,"buyer_username":"rafael_ohhai","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1768174358,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":27.3,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"24174","series_number":"5","access_key":"41260132111081000193550050000241741560334816","issue_date":1768174411,"total_value":1.63,"products_total_value":1.63,"tax_code":"6104"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/sg-11134201-8260u-mjbznq6b9n2d6d_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":23498144258,"item_name":"Kit 3 Caixas de Massinha de Modelar 12 Cores 130g","item_sku":"mx130","main_item":false,"model_discounted_price":16.33,"model_id":0,"model_name":"","model_original_price":16.5,"model_quantity_purchased":1,"model_sku":"","order_item_id":23498144258,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":789258852286464}],"promotion_type":"","weight":1,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"260112SDJ1YJ20","order_status":"COMPLETED","package_list":[{"package_number":"OFG221873558178522","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":23498144258,"model_id":0,"model_quantity":1,"order_item_id":23498144258,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":1000,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1768174368,"payment_method":"SParcelado","pickup_done_time":1768236660,"recipient_address":{"name":"R******o","phone":"******30","town":"","district":"Vila garça branca","city":"Pedra Preta","state":"Mato Grosso","region":"BR","zipcode":"78795000","full_address":"Jo******"},"region":"BR","return_request_due_date":1769479646,"reverse_shipping_fee":0,"ship_by_date":1768359599,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":23.63,"update_time":1768950306}]},"request_id":"e3e3e7f348d9d8881523312a6db1ae00:0100022f01d4cfbc:0000005acdd2398e"}
    [curl_error] => 
)

============================================================

[23:05:38] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[23:05:38] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 260112SDJ1YJ20
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[23:05:38] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 260112SDJ1YJ20
)

============================================================

[23:05:38] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_260112SDJ1YJ20.json
============================================================

[23:05:38] INFO: 📦 Item #0
Array
(
    [item_name] => Kit 3 Caixas de Massinha de Modelar 12 Cores 130g
    [item_sku] => mx130
    [model_sku] => 
    [sku_usado] => mx130
    [tem_dpx] => 
)

============================================================

[23:05:38] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 260112SDJ1YJ20
)

============================================================

[04:17:32] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260101UVTN04GX
    [seller_id] => 1366051567
    [user_id] => 426
    [status] => COMPLETED
)

============================================================

[04:17:32] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260101UVTN04GX
    [shop_id] => 1366051567
)

============================================================

[04:17:32] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 1366051567
    [timestamp] => 1768969052
    [base_string] => 2009491/api/v2/order/get_order_detail1768969052eyJhbGciOiJIUzI1NiJ9.CJPTehABGO-VsYsFIAEo_eGXygYwjpa0rA84AUAB.RtdFAz26Xix5V0uUzinbKGP0MWcbn1H8pl-b7uPNnBI1366051567
    [signature] => 12b0aff3cbc7fc7b...
    [url_length] => 859
)

============================================================

[04:17:32] INFO: ⏳ Executando cURL...
============================================================

[04:17:34] INFO: ✅ cURL executado
============================================================

[04:17:34] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f348de3413f9ec42d15691eb00"}
    [curl_error] => 
)

============================================================

[04:17:34] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[04:17:34] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[04:17:34] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 1366051567
    [user_id] => 426
)

============================================================

[04:17:35] ERROR: ❌ Falha ao atualizar token - token inválido retornado
Array
(
    [error] => {"error":"refresh_token_expired","message":"Your refresh_token expired.","request_id":"e3e3e7f348de34235e7ebf922a469700"}
)

============================================================

[04:17:35] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 260101UVTN04GX
    [error] => Token expirado e falha ao renovar. Reautorize sua conta Shopee nas configurações.
)

============================================================

[04:17:35] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 260101UVTN04GX
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[04:22:40] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260101UVTN04GX
    [seller_id] => 1366051567
    [user_id] => 426
    [status] => COMPLETED
)

============================================================

[04:22:40] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260101UVTN04GX
    [shop_id] => 1366051567
)

============================================================

[04:22:40] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 1366051567
    [timestamp] => 1768969360
    [base_string] => 2009491/api/v2/order/get_order_detail1768969360eyJhbGciOiJIUzI1NiJ9.CJPTehABGO-VsYsFIAEo_eGXygYwjpa0rA84AUAB.RtdFAz26Xix5V0uUzinbKGP0MWcbn1H8pl-b7uPNnBI1366051567
    [signature] => 6dad9aa7f14b92f9...
    [url_length] => 859
)

============================================================

[04:22:40] INFO: ⏳ Executando cURL...
============================================================

[04:22:41] INFO: ✅ cURL executado
============================================================

[04:22:41] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f348de466402509033dba5bb00"}
    [curl_error] => 
)

============================================================

[04:22:41] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[04:22:41] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[04:22:41] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 1366051567
    [user_id] => 426
)

============================================================

[04:22:42] ERROR: ❌ Falha ao atualizar token - token inválido retornado
Array
(
    [error] => {"error":"refresh_token_expired","message":"Your refresh_token expired.","request_id":"e3e3e7f348de46736903a589a8c35800"}
)

============================================================

[04:22:42] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 260101UVTN04GX
    [error] => Token expirado e falha ao renovar. Reautorize sua conta Shopee nas configurações.
)

============================================================

[04:22:42] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 260101UVTN04GX
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[12:37:04] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2601153TNYFGSJ
    [seller_id] => 796461485
    [user_id] => 581
    [status] => COMPLETED
)

============================================================

[12:37:04] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2601153TNYFGSJ
    [shop_id] => 796461485
)

============================================================

[12:37:04] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 796461485
    [timestamp] => 1768999024
    [base_string] => 2009491/api/v2/order/get_order_detail1768999024eyJhbGciOiJIUzI1NiJ9.CJPTehABGK2T5PsCIAEow7zCywYw6N-6ZDgBQAE.gqKD0saexNn5QLE-HynkSlzvYkWurlNZGLcjuszLHdg796461485
    [signature] => 78569177a427be6d...
    [url_length] => 857
)

============================================================

[12:37:04] INFO: ⏳ Executando cURL...
============================================================

[12:37:05] INFO: ✅ cURL executado
============================================================

[12:37:05] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 200
    [response] => {"error":"","message":"","response":{"order_list":[{"actual_shipping_fee":8.39,"actual_shipping_fee_confirmed":true,"advance_package":false,"booking_sn":"","buyer_cancel_reason":"","buyer_cpf_id":"******","buyer_user_id":782117146,"buyer_username":"renatateixeira803","cancel_by":"","cancel_reason":"","checkout_shipping_carrier":"Shopee Xpress","cod":false,"create_time":1768432534,"currency":"BRL","days_to_ship":2,"dropshipper":null,"dropshipper_phone":null,"estimated_shipping_fee":8.39,"fulfillment_flag":"fulfilled_by_local_seller","goods_to_declare":false,"hot_listing_order":false,"invoice_data":{"number":"95","series_number":"1","access_key":"35260145877601000115550010000000951869666010","issue_date":1768477378,"total_value":29.7,"products_total_value":29.9,"tax_code":"6108"},"is_buyer_shop_collection":false,"item_list":[{"add_on_deal":false,"add_on_deal_id":0,"consultation_id":"","hot_listing_item":false,"image_info":{"image_url":"https://cf.shopee.com.br/file/br-11134207-81z1k-mfxya25ud3b812_tn"},"is_b2c_owned_item":false,"is_prescription_item":false,"item_id":58251362790,"item_name":"Blusa Regata  Básica Alça Fina Tecido Duna Elegante Leve e Confortável Varias Cores","item_sku":"","main_item":false,"model_discounted_price":29.9,"model_id":189182839632,"model_name":"Roxo,G","model_original_price":49.9,"model_quantity_purchased":1,"model_sku":"","order_item_id":58251362790,"product_location_id":["BRZ"],"promotion_group_id":0,"promotion_id":0,"promotion_list":[{"promotion_type":"seller_discount","promotion_id":801137683251200}],"promotion_type":"","weight":0.5,"wholesale":false}],"message_to_seller":"","note":"","note_update_time":0,"order_sn":"2601153TNYFGSJ","order_status":"COMPLETED","package_list":[{"package_number":"OFG222131734192816","group_shipment_id":null,"logistics_status":"LOGISTICS_DELIVERY_DONE","shipping_carrier":"Shopee Xpress","item_list":[{"item_id":58251362790,"model_id":189182839632,"model_quantity":1,"order_item_id":58251362790,"promotion_group_id":0,"product_location_id":"BRZ"}],"parcel_chargeable_weight_gram":500,"allow_self_design_awb":true,"logistics_channel_id":91003,"sorting_group":""}],"pay_time":1768432543,"payment_method":"Credit Card","pickup_done_time":1768497435,"recipient_address":{"name":"R******o","phone":"******93","town":"","district":"Vista Alegre","city":"Rio de Janeiro","state":"Rio de Janeiro","region":"BR","zipcode":"21230355","full_address":"Es******"},"region":"BR","return_request_due_date":1769443704,"reverse_shipping_fee":0,"ship_by_date":1768532399,"shipping_carrier":"Shopee Xpress","split_up":false,"total_amount":38.09,"update_time":1768998376}]},"request_id":"e3e3e7f348e52e83baca2542c2573900:010002958d00b110:0000009c939a6e16"}
    [curl_error] => 
)

============================================================

[12:37:05] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 200
    [is_403] => 
    [type] => integer
)

============================================================

[12:37:05] INFO: ✅ Detalhes do pedido obtidos com sucesso
Array
(
    [order_sn] => 2601153TNYFGSJ
    [order_status] => COMPLETED
    [items_count] => 1
)

============================================================

[12:37:05] INFO: 🔍 Analisando items do pedido
Array
(
    [total_items] => 1
    [order_sn] => 2601153TNYFGSJ
)

============================================================

[12:37:05] INFO: 📝 Resposta completa salva em: /tmp/shopee_order_2601153TNYFGSJ.json
============================================================

[12:37:05] INFO: 📦 Item #0
Array
(
    [item_name] => Blusa Regata  Básica Alça Fina Tecido Duna Elegante Leve e Confortável Varias Cores
    [item_sku] => 
    [model_sku] => 
    [sku_usado] => 
    [tem_dpx] => 
)

============================================================

[12:37:05] INFO: ℹ️ Pedido não contém produtos DPX
Array
(
    [order_sn] => 2601153TNYFGSJ
)

============================================================

[15:17:30] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2601153EA8JQNH
    [seller_id] => 533042255
    [user_id] => 23862
    [status] => COMPLETED
)

============================================================

[15:17:30] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2601153EA8JQNH
    [shop_id] => 533042255
)

============================================================

[15:17:30] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 533042255
    [timestamp] => 1769008650
    [base_string] => 2009491/api/v2/order/get_order_detail1769008650eyJhbGciOiJIUzI1NiJ9.CJPTehABGM-olv4BIAEo6ciYyQYwjNXvrAQ4AUAB.HPYNaOvFDySsG9Exk0-7Up8Xgg1WAw5lYOUnq4RC1QA533042255
    [signature] => 641eff0c7663ef32...
    [url_length] => 858
)

============================================================

[15:17:30] INFO: ⏳ Executando cURL...
============================================================

[15:17:34] INFO: ✅ cURL executado
============================================================

[15:17:34] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f348e76c74ecd3dbbc922b5e00"}
    [curl_error] => 
)

============================================================

[15:17:34] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[15:17:34] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[15:17:34] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 533042255
    [user_id] => 23862
)

============================================================

[15:17:40] ERROR: ❌ Falha ao atualizar token - token inválido retornado
Array
(
    [error] => {"error":"refresh_token_expired","message":"Your refresh_token expired.","request_id":"e3e3e7f348e76cd4615faf98d04d2b00"}
)

============================================================

[15:17:40] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 2601153EA8JQNH
    [error] => Token expirado e falha ao renovar. Reautorize sua conta Shopee nas configurações.
)

============================================================

[15:17:40] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 2601153EA8JQNH
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[15:22:46] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2601153EA8JQNH
    [seller_id] => 533042255
    [user_id] => 23862
    [status] => COMPLETED
)

============================================================

[15:22:46] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2601153EA8JQNH
    [shop_id] => 533042255
)

============================================================

[15:22:46] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 533042255
    [timestamp] => 1769008966
    [base_string] => 2009491/api/v2/order/get_order_detail1769008966eyJhbGciOiJIUzI1NiJ9.CJPTehABGM-olv4BIAEo6ciYyQYwjNXvrAQ4AUAB.HPYNaOvFDySsG9Exk0-7Up8Xgg1WAw5lYOUnq4RC1QA533042255
    [signature] => b327c15dbf1d0faa...
    [url_length] => 858
)

============================================================

[15:22:46] INFO: ⏳ Executando cURL...
============================================================

[15:22:47] INFO: ✅ cURL executado
============================================================

[15:22:47] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f348e77f160832cfe9af496b00"}
    [curl_error] => 
)

============================================================

[15:22:47] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[15:22:47] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[15:22:47] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 533042255
    [user_id] => 23862
)

============================================================

[15:22:48] ERROR: ❌ Falha ao atualizar token - token inválido retornado
Array
(
    [error] => {"error":"refresh_token_expired","message":"Your refresh_token expired.","request_id":"e3e3e7f348e77f25649d5582e3643e00"}
)

============================================================

[15:22:48] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 2601153EA8JQNH
    [error] => Token expirado e falha ao renovar. Reautorize sua conta Shopee nas configurações.
)

============================================================

[15:22:48] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 2601153EA8JQNH
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[16:56:15] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260118B3K33QY4
    [seller_id] => 533042255
    [user_id] => 23862
    [status] => COMPLETED
)

============================================================

[16:56:15] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260118B3K33QY4
    [shop_id] => 533042255
)

============================================================

[16:56:15] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 533042255
    [timestamp] => 1769014575
    [base_string] => 2009491/api/v2/order/get_order_detail1769014575eyJhbGciOiJIUzI1NiJ9.CJPTehABGM-olv4BIAEo6ciYyQYwjNXvrAQ4AUAB.HPYNaOvFDySsG9Exk0-7Up8Xgg1WAw5lYOUnq4RC1QA533042255
    [signature] => 198db922a5846cce...
    [url_length] => 858
)

============================================================

[16:56:15] INFO: ⏳ Executando cURL...
============================================================

[16:56:17] INFO: ✅ cURL executado
============================================================

[16:56:17] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f348e8cd74f596a4ee4d234700"}
    [curl_error] => 
)

============================================================

[16:56:17] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[16:56:17] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[16:56:17] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 533042255
    [user_id] => 23862
)

============================================================

[16:56:18] ERROR: ❌ Falha ao atualizar token - token inválido retornado
Array
(
    [error] => {"error":"refresh_token_expired","message":"Your refresh_token expired.","request_id":"e3e3e7f348e8cd8469f9a88dff5a0100"}
)

============================================================

[16:56:18] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 260118B3K33QY4
    [error] => Token expirado e falha ao renovar. Reautorize sua conta Shopee nas configurações.
)

============================================================

[16:56:18] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 260118B3K33QY4
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[17:13:18] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2601165WFC22N8
    [seller_id] => 533042255
    [user_id] => 23862
    [status] => COMPLETED
)

============================================================

[17:13:18] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2601165WFC22N8
    [shop_id] => 533042255
)

============================================================

[17:13:18] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 533042255
    [timestamp] => 1769015598
    [base_string] => 2009491/api/v2/order/get_order_detail1769015598eyJhbGciOiJIUzI1NiJ9.CJPTehABGM-olv4BIAEo6ciYyQYwjNXvrAQ4AUAB.HPYNaOvFDySsG9Exk0-7Up8Xgg1WAw5lYOUnq4RC1QA533042255
    [signature] => bf69bf0c028db042...
    [url_length] => 858
)

============================================================

[17:13:18] INFO: ⏳ Executando cURL...
============================================================

[17:13:19] INFO: ✅ cURL executado
============================================================

[17:13:19] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f348e90a6dfc45a2146b59c300"}
    [curl_error] => 
)

============================================================

[17:13:19] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[17:13:19] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[17:13:19] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 533042255
    [user_id] => 23862
)

============================================================

[17:13:21] ERROR: ❌ Falha ao atualizar token - token inválido retornado
Array
(
    [error] => {"error":"refresh_token_expired","message":"Your refresh_token expired.","request_id":"e3e3e7f348e90a7d8cd9b6adf7c54400"}
)

============================================================

[17:13:21] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 2601165WFC22N8
    [error] => Token expirado e falha ao renovar. Reautorize sua conta Shopee nas configurações.
)

============================================================

[17:13:21] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 2601165WFC22N8
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[17:18:26] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 2601165WFC22N8
    [seller_id] => 533042255
    [user_id] => 23862
    [status] => COMPLETED
)

============================================================

[17:18:26] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 2601165WFC22N8
    [shop_id] => 533042255
)

============================================================

[17:18:26] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 533042255
    [timestamp] => 1769015906
    [base_string] => 2009491/api/v2/order/get_order_detail1769015906eyJhbGciOiJIUzI1NiJ9.CJPTehABGM-olv4BIAEo6ciYyQYwjNXvrAQ4AUAB.HPYNaOvFDySsG9Exk0-7Up8Xgg1WAw5lYOUnq4RC1QA533042255
    [signature] => 34b527ddabd8c36d...
    [url_length] => 858
)

============================================================

[17:18:26] INFO: ⏳ Executando cURL...
============================================================

[17:18:27] INFO: ✅ cURL executado
============================================================

[17:18:27] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f348e91cc05be6925d2fc60800"}
    [curl_error] => 
)

============================================================

[17:18:27] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[17:18:27] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[17:18:27] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 533042255
    [user_id] => 23862
)

============================================================

[17:18:28] ERROR: ❌ Falha ao atualizar token - token inválido retornado
Array
(
    [error] => {"error":"refresh_token_expired","message":"Your refresh_token expired.","request_id":"e3e3e7f348e91ccfe96edf0d3aba8400"}
)

============================================================

[17:18:28] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 2601165WFC22N8
    [error] => Token expirado e falha ao renovar. Reautorize sua conta Shopee nas configurações.
)

============================================================

[17:18:28] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 2601165WFC22N8
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[17:44:44] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251228J0TMENCW
    [seller_id] => 1366051567
    [user_id] => 426
    [status] => COMPLETED
)

============================================================

[17:44:44] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251228J0TMENCW
    [shop_id] => 1366051567
)

============================================================

[17:44:44] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 1366051567
    [timestamp] => 1769017484
    [base_string] => 2009491/api/v2/order/get_order_detail1769017484eyJhbGciOiJIUzI1NiJ9.CJPTehABGO-VsYsFIAEo_eGXygYwjpa0rA84AUAB.RtdFAz26Xix5V0uUzinbKGP0MWcbn1H8pl-b7uPNnBI1366051567
    [signature] => 9c40d8e6ef2f2c46...
    [url_length] => 859
)

============================================================

[17:44:44] INFO: ⏳ Executando cURL...
============================================================

[17:44:45] INFO: ✅ cURL executado
============================================================

[17:44:45] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f348e97ad0f6afeb1b0b8b8700"}
    [curl_error] => 
)

============================================================

[17:44:45] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[17:44:45] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[17:44:45] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 1366051567
    [user_id] => 426
)

============================================================

[17:44:46] ERROR: ❌ Falha ao atualizar token - token inválido retornado
Array
(
    [error] => {"error":"refresh_token_expired","message":"Your refresh_token expired.","request_id":"e3e3e7f348e97ae5f2ac08d7378acc00"}
)

============================================================

[17:44:46] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251228J0TMENCW
    [error] => Token expirado e falha ao renovar. Reautorize sua conta Shopee nas configurações.
)

============================================================

[17:44:46] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251228J0TMENCW
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[17:49:53] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 251228J0TMENCW
    [seller_id] => 1366051567
    [user_id] => 426
    [status] => COMPLETED
)

============================================================

[17:49:53] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 251228J0TMENCW
    [shop_id] => 1366051567
)

============================================================

[17:49:53] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 1366051567
    [timestamp] => 1769017793
    [base_string] => 2009491/api/v2/order/get_order_detail1769017793eyJhbGciOiJIUzI1NiJ9.CJPTehABGO-VsYsFIAEo_eGXygYwjpa0rA84AUAB.RtdFAz26Xix5V0uUzinbKGP0MWcbn1H8pl-b7uPNnBI1366051567
    [signature] => 9f22735beaf0bd88...
    [url_length] => 859
)

============================================================

[17:49:53] INFO: ⏳ Executando cURL...
============================================================

[17:49:54] INFO: ✅ cURL executado
============================================================

[17:49:54] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f348e98d3f869b59f6e5746e00"}
    [curl_error] => 
)

============================================================

[17:49:54] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[17:49:54] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[17:49:54] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 1366051567
    [user_id] => 426
)

============================================================

[17:49:55] ERROR: ❌ Falha ao atualizar token - token inválido retornado
Array
(
    [error] => {"error":"refresh_token_expired","message":"Your refresh_token expired.","request_id":"e3e3e7f348e98d4ede32e8f63bc0d600"}
)

============================================================

[17:49:55] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 251228J0TMENCW
    [error] => Token expirado e falha ao renovar. Reautorize sua conta Shopee nas configurações.
)

============================================================

[17:49:55] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 251228J0TMENCW
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[18:30:29] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260118AUP58DMG
    [seller_id] => 533042255
    [user_id] => 23862
    [status] => COMPLETED
)

============================================================

[18:30:29] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260118AUP58DMG
    [shop_id] => 533042255
)

============================================================

[18:30:29] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 533042255
    [timestamp] => 1769020229
    [base_string] => 2009491/api/v2/order/get_order_detail1769020229eyJhbGciOiJIUzI1NiJ9.CJPTehABGM-olv4BIAEo6ciYyQYwjNXvrAQ4AUAB.HPYNaOvFDySsG9Exk0-7Up8Xgg1WAw5lYOUnq4RC1QA533042255
    [signature] => 51eeade1c37dcf82...
    [url_length] => 858
)

============================================================

[18:30:29] INFO: ⏳ Executando cURL...
============================================================

[18:30:31] INFO: ✅ cURL executado
============================================================

[18:30:31] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f348ea1e7e3301907dd74be300"}
    [curl_error] => 
)

============================================================

[18:30:31] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[18:30:31] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[18:30:31] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 533042255
    [user_id] => 23862
)

============================================================

[18:30:33] ERROR: ❌ Falha ao atualizar token - token inválido retornado
Array
(
    [error] => {"error":"refresh_token_expired","message":"Your refresh_token expired.","request_id":"e3e3e7f348ea1e9dd44255ba9187e900"}
)

============================================================

[18:30:33] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 260118AUP58DMG
    [error] => Token expirado e falha ao renovar. Reautorize sua conta Shopee nas configurações.
)

============================================================

[18:30:33] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 260118AUP58DMG
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================

[18:35:47] INFO: 🚀 Iniciando processamento de venda Shopee
Array
(
    [order_sn] => 260118AUP58DMG
    [seller_id] => 533042255
    [user_id] => 23862
    [status] => COMPLETED
)

============================================================

[18:35:47] INFO: 📡 Buscando detalhes do pedido na API Shopee
Array
(
    [order_sn] => 260118AUP58DMG
    [shop_id] => 533042255
)

============================================================

[18:35:47] INFO: 🔗 URL da API construída
Array
(
    [partner_id] => 2009491
    [shop_id] => 533042255
    [timestamp] => 1769020547
    [base_string] => 2009491/api/v2/order/get_order_detail1769020547eyJhbGciOiJIUzI1NiJ9.CJPTehABGM-olv4BIAEo6ciYyQYwjNXvrAQ4AUAB.HPYNaOvFDySsG9Exk0-7Up8Xgg1WAw5lYOUnq4RC1QA533042255
    [signature] => 13e29677ab396b51...
    [url_length] => 858
)

============================================================

[18:35:47] INFO: ⏳ Executando cURL...
============================================================

[18:35:49] INFO: ✅ cURL executado
============================================================

[18:35:49] INFO: 📥 Resposta da API Shopee
Array
(
    [http_code] => 403
    [response] => {"error":"invalid_acceess_token","message":"Invalid access_token, please have a check.","request_id":"e3e3e7f348ea31701bf380261c145200"}
    [curl_error] => 
)

============================================================

[18:35:49] INFO: 🔍 Verificando HTTP code
Array
(
    [http_code] => 403
    [is_403] => 1
    [type] => integer
)

============================================================

[18:35:49] INFO: 🔄 HTTP 403 detectado - Tentando refresh do access_token...
============================================================

[18:35:49] INFO: 🔄 Iniciando refresh do access_token Shopee
Array
(
    [shop_id] => 533042255
    [user_id] => 23862
)

============================================================

[18:35:50] ERROR: ❌ Falha ao atualizar token - token inválido retornado
Array
(
    [error] => {"error":"refresh_token_expired","message":"Your refresh_token expired.","request_id":"e3e3e7f348ea317f6ba7e4989255de00"}
)

============================================================

[18:35:50] ERROR: ❌ Erro ao buscar detalhes do pedido
Array
(
    [order_sn] => 260118AUP58DMG
    [error] => Token expirado e falha ao renovar. Reautorize sua conta Shopee nas configurações.
)

============================================================

[18:35:50] ERROR: ❌ Erro ao processar venda
Array
(
    [order_sn] => 260118AUP58DMG
    [error] => Não foi possível buscar detalhes do pedido na API da Shopee
    [file] => /var/www/whitelabels/spdrop/assets/ajax/plataformas/shopee/classes/WebhookVendasProcessorShopee.php
    [line] => 46
)

============================================================
