2025-04-25T18:01:17+02:00 - Script appelé 2025-04-25T18:04:25+02:00 - Script appelé M3_CLIENT_CODE="C1045303" 2025-04-25T18:17:29+02:00 - Script appelé M3_CLIENT_CODE="C1045303" REQUEST_METHOD : POST Content-Type : application/json Headers : Array ( [Remote-Ip] => 35.246.223.154 [X-Shopify-Webhook-Id] => 2c3d4261-7a27-4f36-be35-c02743c63ad7 [X-Shopify-Triggered-At] => 2025-04-25T16:17:29.766076064Z [X-Shopify-Topic] => orders/create [X-Shopify-Test] => true [X-Shopify-Shop-Domain] => mystarwax.myshopify.com [X-Shopify-Hmac-Sha256] => yfOBR9WMazx6Hqq4Buw1qCoRdgBeAqf4P8ZWUEYKo6I= [X-Shopify-Event-Id] => 2d05c57d-4c5a-4ac7-9497-67c1d46b0398 [X-Shopify-Api-Version] => 2025-04 [Content-Type] => application/json [Accept-Encoding] => gzip;q=1.0,deflate;q=0.6,identity;q=0.3 [Accept] => */* [User-Agent] => Shopify-Captain-Hook [Content-Length] => 8902 [X-Ovhrequest-Id] => a880825ebf0c4018d50a711c0459d6cf [X-Forwarded-Proto] => https [X-Forwarded-For] => 35.246.223.154 [X-Predictor] => 1 [Host] => www.mystarwax.fr ) 2025-04-25T18:20:34+02:00 - Script appelé M3_CLIENT_CODE="C1045303" REQUEST_METHOD : POST Content-Type : application/json Headers : Array ( [Remote-Ip] => 34.159.114.187 [X-Shopify-Webhook-Id] => f0bbaaac-74db-4f2d-b22b-c7bec5ce4168 [X-Shopify-Triggered-At] => 2025-04-25T16:20:31.015712408Z [X-Shopify-Topic] => orders/create [X-Shopify-Test] => true [X-Shopify-Shop-Domain] => mystarwax.myshopify.com [X-Shopify-Order-Id] => 6616181866825 [X-Shopify-Hmac-Sha256] => vNjBA6+FIfk4HULB/1p3WWbBhiPLWAycMkr9fQLUfA0= [X-Shopify-Event-Id] => ab076cd9-2a4c-4cca-938d-1e6c20719904 [X-Shopify-Api-Version] => 2025-04 [Content-Type] => application/json [Accept-Encoding] => gzip;q=1.0,deflate;q=0.6,identity;q=0.3 [Accept] => */* [User-Agent] => Shopify-Captain-Hook [Content-Length] => 8633 [X-Ovhrequest-Id] => 2cf8f95d2263f263b91a84bcb6197e38 [X-Forwarded-Proto] => https [X-Forwarded-For] => 34.159.114.187 [X-Predictor] => 1 [Host] => www.mystarwax.fr ) 2025-04-25T18:23:00+02:00 - Script appelé M3_CLIENT_CODE="C1045303" PHP ERROR [8192] Constant FILTER_SANITIZE_STRING is deprecated in /home/wlkrpss/mystarwax/app_shopify_m3_starwax/src/webhook_order.php:30 REQUEST_METHOD : POST Content-Type : application/json Headers : Array ( [Remote-Ip] => 35.246.223.154 [X-Shopify-Webhook-Id] => 17d7f0ec-e2c0-46d5-8d82-3d6332055754 [X-Shopify-Triggered-At] => 2025-04-25T16:23:00.004531871Z [X-Shopify-Topic] => orders/create [X-Shopify-Test] => true [X-Shopify-Shop-Domain] => mystarwax.myshopify.com [X-Shopify-Hmac-Sha256] => Aw0WhFqCwnYVplAwRQQQoStW/qMlgJswDCWud8rPwuQ= [X-Shopify-Event-Id] => 881322d7-1db1-4dfb-8cdd-e0e252e6060e [X-Shopify-Api-Version] => 2025-04 [Content-Type] => application/json [Accept-Encoding] => gzip;q=1.0,deflate;q=0.6,identity;q=0.3 [Accept] => */* [User-Agent] => Shopify-Captain-Hook [Content-Length] => 8902 [X-Ovhrequest-Id] => 0e2d79c0bef856ebb7b072897b2fe442 [X-Forwarded-Proto] => https [X-Forwarded-For] => 35.246.223.154 [X-Predictor] => 1 [Host] => www.mystarwax.fr ) FATAL ERROR: Array ( [type] => 1 [message] => Uncaught Error: Class "App\Utils\Logger" not found in /home/wlkrpss/mystarwax/app_shopify_m3_starwax/src/webhook_order.php:38 Stack trace: #0 {main} thrown [file] => /home/wlkrpss/mystarwax/app_shopify_m3_starwax/src/webhook_order.php [line] => 38 ) 2025-04-25T18:25:44+02:00 - Script appelé M3_CLIENT_CODE="C1045303" REQUEST_METHOD : POST Content-Type : application/json Headers : Array ( [Remote-Ip] => 35.246.223.154 [X-Shopify-Webhook-Id] => 215fd1b9-4840-49de-b832-c6832f1404c1 [X-Shopify-Triggered-At] => 2025-04-25T16:25:44.099082011Z [X-Shopify-Topic] => orders/create [X-Shopify-Test] => true [X-Shopify-Shop-Domain] => mystarwax.myshopify.com [X-Shopify-Hmac-Sha256] => pS4tYhcExj0fUktBg8/i/QdBn/PjAzgkMIuiC017sIQ= [X-Shopify-Event-Id] => eab5f6d7-9d61-4cb1-99e8-e867f77379f5 [X-Shopify-Api-Version] => 2025-04 [Content-Type] => application/json [Accept-Encoding] => gzip;q=1.0,deflate;q=0.6,identity;q=0.3 [Accept] => */* [User-Agent] => Shopify-Captain-Hook [Content-Length] => 8902 [X-Ovhrequest-Id] => 338f7d4bec96f862d07d57e59c8dd947 [X-Forwarded-Proto] => https [X-Forwarded-For] => 35.246.223.154 [X-Predictor] => 1 [Host] => www.mystarwax.fr ) DEBUG: Avant lecture php://input Payload brut : '{"id":820982911946154508,"admin_graphql_api_id":"gid:\\/\\/shopify\\/Order\\/820982911946154508","app_id":null,"browser_ip":null,"buyer_accepts_marketing":true,"cancel_reason":"customer","cancelled_at":"2025-04-25T18:25:43+02:00","cart_token":null,"checkout_id":null,"checkout_token":null,"client_details":null,"closed_at":null,"company":null,"confirmation_number":null,"confirmed":false,"contact_email":"jon@example.com","created_at":"2025-04-25T18:25:43+02:00","currency":"EUR","current_shipping_price_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"current_subtotal_price":"27.19","current_subtotal_price_set":{"shop_money":{"amount":"27.19","currency_code":"EUR"},"presentment_money":{"amount":"27.19","currency_code":"EUR"}},"current_total_additional_fees_set":null,"current_total_discounts":"0.00","current_total_discounts_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"current_total_duties_set":null,"current_total_price":"27.19","current_total_price_set":{"shop_money":{"amount":"27.19","currency_code":"EUR"},"presentment_money":{"amount":"27.19","currency_code":"EUR"}},"current_total_tax":"0.00","current_total_tax_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"customer_locale":"fr","device_id":null,"discount_codes":[],"duties_included":false,"email":"jon@example.com","estimated_taxes":false,"financial_status":"voided","fulfillment_status":null,"landing_site":null,"landing_site_ref":null,"location_id":null,"merchant_business_entity_id":"MTkzODM1MTMzMjU3","merchant_of_record_app_id":null,"name":"#9999","note":null,"note_attributes":[],"number":234,"order_number":1234,"order_status_url":"https:\\/\\/mystarwax.myshopify.com\\/93835133257\\/orders\\/123456abcd\\/authenticate?key=abcdefg","original_total_additional_fees_set":null,"original_total_duties_set":null,"payment_gateway_names":["visa","bogus"],"phone":null,"po_number":null,"presentment_currency":"EUR","processed_at":"2025-04-25T18:25:43+02:00","reference":null,"referring_site":null,"source_identifier":null,"source_name":"web","source_url":null,"subtotal_price":"17.19","subtotal_price_set":{"shop_money":{"amount":"17.19","currency_code":"EUR"},"presentment_money":{"amount":"17.19","currency_code":"EUR"}},"tags":"tag1, tag2","tax_exempt":false,"tax_lines":[],"taxes_included":false,"test":true,"token":"123456abcd","total_cash_rounding_payment_adjustment_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"total_cash_rounding_refund_adjustment_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"total_discounts":"20.00","total_discounts_set":{"shop_money":{"amount":"20.00","currency_code":"EUR"},"presentment_money":{"amount":"20.00","currency_code":"EUR"}},"total_line_items_price":"27.19","total_line_items_price_set":{"shop_money":{"amount":"27.19","currency_code":"EUR"},"presentment_money":{"amount":"27.19","currency_code":"EUR"}},"total_outstanding":"27.19","total_price":"17.19","total_price_set":{"shop_money":{"amount":"17.19","currency_code":"EUR"},"presentment_money":{"amount":"17.19","currency_code":"EUR"}},"total_shipping_price_set":{"shop_money":{"amount":"10.00","currency_code":"EUR"},"presentment_money":{"amount":"10.00","currency_code":"EUR"}},"total_tax":"0.00","total_tax_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"total_tip_received":"0.00","total_weight":0,"updated_at":"2025-04-25T18:25:43+02:00","user_id":null,"billing_address":{"first_name":"Steve","address1":"123 Shipping Street","phone":"555-555-SHIP","city":"Shippington","zip":"40003","province":"Kentucky","country":"United States","last_name":"Shipper","address2":null,"company":"Shipping Company","latitude":null,"longitude":null,"name":"Steve Shipper","country_code":"US","province_code":"KY"},"customer":{"id":115310627314723954,"email":"john@example.com","created_at":null,"updated_at":null,"first_name":"John","last_name":"Smith","state":"disabled","note":null,"verified_email":true,"multipass_identifier":null,"tax_exempt":false,"phone":null,"currency":"EUR","tax_exemptions":[],"admin_graphql_api_id":"gid:\\/\\/shopify\\/Customer\\/115310627314723954","default_address":{"id":715243470612851245,"customer_id":115310627314723954,"first_name":null,"last_name":null,"company":null,"address1":"123 Elm St.","address2":null,"city":"Ottawa","province":"Ontario","country":"Canada","zip":"K2H7A8","phone":"123-123-1234","name":"","province_code":"ON","country_code":"CA","country_name":"Canada","default":true}},"discount_applications":[],"fulfillments":[],"line_items":[{"id":866550311766439020,"admin_graphql_api_id":"gid:\\/\\/shopify\\/LineItem\\/866550311766439020","attributed_staffs":[{"id":"gid:\\/\\/shopify\\/StaffMember\\/902541635","quantity":1}],"current_quantity":1,"fulfillable_quantity":1,"fulfillment_service":"manual","fulfillment_status":null,"gift_card":false,"grams":1000,"name":"Produit Starwax","price":"5.99","price_set":{"shop_money":{"amount":"5.99","currency_code":"EUR"},"presentment_money":{"amount":"5.99","currency_code":"EUR"}},"product_exists":true,"product_id":9573619237193,"properties":[],"quantity":1,"requires_shipping":true,"sales_line_item_group_id":null,"sku":"000666","taxable":true,"title":"Produit Starwax","total_discount":"0.00","total_discount_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"variant_id":51850344661321,"variant_inventory_management":"shopify","variant_title":null,"vendor":null,"tax_lines":[],"duties":[],"discount_allocations":[]},{"id":141249953214522974,"admin_graphql_api_id":"gid:\\/\\/shopify\\/LineItem\\/141249953214522974","attributed_staffs":[],"current_quantity":1,"fulfillable_quantity":1,"fulfillment_service":"manual","fulfillment_status":null,"gift_card":false,"grams":1000,"name":"Nettoyant désodorisant surodorant","price":"10.60","price_set":{"shop_money":{"amount":"10.60","currency_code":"EUR"},"presentment_money":{"amount":"10.60","currency_code":"EUR"}},"product_exists":true,"product_id":9627800863049,"properties":[],"quantity":1,"requires_shipping":true,"sales_line_item_group_id":142831562,"sku":"005464","taxable":true,"title":"Nettoyant désodorisant surodorant","total_discount":"0.00","total_discount_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"variant_id":52119811981641,"variant_inventory_management":"shopify","variant_title":null,"vendor":null,"tax_lines":[],"duties":[],"discount_allocations":[]},{"id":257004973105704598,"admin_graphql_api_id":"gid:\\/\\/shopify\\/LineItem\\/257004973105704598","attributed_staffs":[],"current_quantity":1,"fulfillable_quantity":1,"fulfillment_service":"manual","fulfillment_status":null,"gift_card":false,"grams":1000,"name":"Nettoyant désodorisant surodorant","price":"10.60","price_set":{"shop_money":{"amount":"10.60","currency_code":"EUR"},"presentment_money":{"amount":"10.60","currency_code":"EUR"}},"product_exists":true,"product_id":9627800863049,"properties":[],"quantity":1,"requires_shipping":true,"sales_line_item_group_id":142831562,"sku":"005464","taxable":true,"title":"Nettoyant désodorisant surodorant","total_discount":"0.00","total_discount_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"variant_id":52119811981641,"variant_inventory_management":"shopify","variant_title":null,"vendor":null,"tax_lines":[],"duties":[],"discount_allocations":[]}],"payment_terms":null,"refunds":[],"shipping_address":{"first_name":"Steve","address1":"123 Shipping Street","phone":"555-555-SHIP","city":"Shippington","zip":"40003","province":"Kentucky","country":"United States","last_name":"Shipper","address2":null,"company":"Shipping Company","latitude":null,"longitude":null,"name":"Steve Shipper","country_code":"US","province_code":"KY"},"shipping_lines":[{"id":271878346596884015,"carrier_identifier":null,"code":null,"current_discounted_price_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"discounted_price":"10.00","discounted_price_set":{"shop_money":{"amount":"10.00","currency_code":"EUR"},"presentment_money":{"amount":"10.00","currency_code":"EUR"}},"is_removed":false,"phone":null,"price":"10.00","price_set":{"shop_money":{"amount":"10.00","currency_code":"EUR"},"presentment_money":{"amount":"10.00","currency_code":"EUR"}},"requested_fulfillment_service_id":null,"source":"shopify","title":"Generic Shipping","tax_lines":[],"discount_allocations":[]}],"returns":[]}' DEBUG: Avant json_decode Payload décodé : array ( 'id' => 820982911946154508, 'admin_graphql_api_id' => 'gid://shopify/Order/820982911946154508', 'app_id' => NULL, 'browser_ip' => NULL, 'buyer_accepts_marketing' => true, 'cancel_reason' => 'customer', 'cancelled_at' => '2025-04-25T18:25:43+02:00', 'cart_token' => NULL, 'checkout_id' => NULL, 'checkout_token' => NULL, 'client_details' => NULL, 'closed_at' => NULL, 'company' => NULL, 'confirmation_number' => NULL, 'confirmed' => false, 'contact_email' => 'jon@example.com', 'created_at' => '2025-04-25T18:25:43+02:00', 'currency' => 'EUR', 'current_shipping_price_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'current_subtotal_price' => '27.19', 'current_subtotal_price_set' => array ( 'shop_money' => array ( 'amount' => '27.19', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '27.19', 'currency_code' => 'EUR', ), ), 'current_total_additional_fees_set' => NULL, 'current_total_discounts' => '0.00', 'current_total_discounts_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'current_total_duties_set' => NULL, 'current_total_price' => '27.19', 'current_total_price_set' => array ( 'shop_money' => array ( 'amount' => '27.19', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '27.19', 'currency_code' => 'EUR', ), ), 'current_total_tax' => '0.00', 'current_total_tax_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'customer_locale' => 'fr', 'device_id' => NULL, 'discount_codes' => array ( ), 'duties_included' => false, 'email' => 'jon@example.com', 'estimated_taxes' => false, 'financial_status' => 'voided', 'fulfillment_status' => NULL, 'landing_site' => NULL, 'landing_site_ref' => NULL, 'location_id' => NULL, 'merchant_business_entity_id' => 'MTkzODM1MTMzMjU3', 'merchant_of_record_app_id' => NULL, 'name' => '#9999', 'note' => NULL, 'note_attributes' => array ( ), 'number' => 234, 'order_number' => 1234, 'order_status_url' => 'https://mystarwax.myshopify.com/93835133257/orders/123456abcd/authenticate?key=abcdefg', 'original_total_additional_fees_set' => NULL, 'original_total_duties_set' => NULL, 'payment_gateway_names' => array ( 0 => 'visa', 1 => 'bogus', ), 'phone' => NULL, 'po_number' => NULL, 'presentment_currency' => 'EUR', 'processed_at' => '2025-04-25T18:25:43+02:00', 'reference' => NULL, 'referring_site' => NULL, 'source_identifier' => NULL, 'source_name' => 'web', 'source_url' => NULL, 'subtotal_price' => '17.19', 'subtotal_price_set' => array ( 'shop_money' => array ( 'amount' => '17.19', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '17.19', 'currency_code' => 'EUR', ), ), 'tags' => 'tag1, tag2', 'tax_exempt' => false, 'tax_lines' => array ( ), 'taxes_included' => false, 'test' => true, 'token' => '123456abcd', 'total_cash_rounding_payment_adjustment_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'total_cash_rounding_refund_adjustment_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'total_discounts' => '20.00', 'total_discounts_set' => array ( 'shop_money' => array ( 'amount' => '20.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '20.00', 'currency_code' => 'EUR', ), ), 'total_line_items_price' => '27.19', 'total_line_items_price_set' => array ( 'shop_money' => array ( 'amount' => '27.19', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '27.19', 'currency_code' => 'EUR', ), ), 'total_outstanding' => '27.19', 'total_price' => '17.19', 'total_price_set' => array ( 'shop_money' => array ( 'amount' => '17.19', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '17.19', 'currency_code' => 'EUR', ), ), 'total_shipping_price_set' => array ( 'shop_money' => array ( 'amount' => '10.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '10.00', 'currency_code' => 'EUR', ), ), 'total_tax' => '0.00', 'total_tax_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'total_tip_received' => '0.00', 'total_weight' => 0, 'updated_at' => '2025-04-25T18:25:43+02:00', 'user_id' => NULL, 'billing_address' => array ( 'first_name' => 'Steve', 'address1' => '123 Shipping Street', 'phone' => '555-555-SHIP', 'city' => 'Shippington', 'zip' => '40003', 'province' => 'Kentucky', 'country' => 'United States', 'last_name' => 'Shipper', 'address2' => NULL, 'company' => 'Shipping Company', 'latitude' => NULL, 'longitude' => NULL, 'name' => 'Steve Shipper', 'country_code' => 'US', 'province_code' => 'KY', ), 'customer' => array ( 'id' => 115310627314723954, 'email' => 'john@example.com', 'created_at' => NULL, 'updated_at' => NULL, 'first_name' => 'John', 'last_name' => 'Smith', 'state' => 'disabled', 'note' => NULL, 'verified_email' => true, 'multipass_identifier' => NULL, 'tax_exempt' => false, 'phone' => NULL, 'currency' => 'EUR', 'tax_exemptions' => array ( ), 'admin_graphql_api_id' => 'gid://shopify/Customer/115310627314723954', 'default_address' => array ( 'id' => 715243470612851245, 'customer_id' => 115310627314723954, 'first_name' => NULL, 'last_name' => NULL, 'company' => NULL, 'address1' => '123 Elm St.', 'address2' => NULL, 'city' => 'Ottawa', 'province' => 'Ontario', 'country' => 'Canada', 'zip' => 'K2H7A8', 'phone' => '123-123-1234', 'name' => '', 'province_code' => 'ON', 'country_code' => 'CA', 'country_name' => 'Canada', 'default' => true, ), ), 'discount_applications' => array ( ), 'fulfillments' => array ( ), 'line_items' => array ( 0 => array ( 'id' => 866550311766439020, 'admin_graphql_api_id' => 'gid://shopify/LineItem/866550311766439020', 'attributed_staffs' => array ( 0 => array ( 'id' => 'gid://shopify/StaffMember/902541635', 'quantity' => 1, ), ), 'current_quantity' => 1, 'fulfillable_quantity' => 1, 'fulfillment_service' => 'manual', 'fulfillment_status' => NULL, 'gift_card' => false, 'grams' => 1000, 'name' => 'Produit Starwax', 'price' => '5.99', 'price_set' => array ( 'shop_money' => array ( 'amount' => '5.99', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '5.99', 'currency_code' => 'EUR', ), ), 'product_exists' => true, 'product_id' => 9573619237193, 'properties' => array ( ), 'quantity' => 1, 'requires_shipping' => true, 'sales_line_item_group_id' => NULL, 'sku' => '000666', 'taxable' => true, 'title' => 'Produit Starwax', 'total_discount' => '0.00', 'total_discount_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'variant_id' => 51850344661321, 'variant_inventory_management' => 'shopify', 'variant_title' => NULL, 'vendor' => NULL, 'tax_lines' => array ( ), 'duties' => array ( ), 'discount_allocations' => array ( ), ), 1 => array ( 'id' => 141249953214522974, 'admin_graphql_api_id' => 'gid://shopify/LineItem/141249953214522974', 'attributed_staffs' => array ( ), 'current_quantity' => 1, 'fulfillable_quantity' => 1, 'fulfillment_service' => 'manual', 'fulfillment_status' => NULL, 'gift_card' => false, 'grams' => 1000, 'name' => 'Nettoyant désodorisant surodorant', 'price' => '10.60', 'price_set' => array ( 'shop_money' => array ( 'amount' => '10.60', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '10.60', 'currency_code' => 'EUR', ), ), 'product_exists' => true, 'product_id' => 9627800863049, 'properties' => array ( ), 'quantity' => 1, 'requires_shipping' => true, 'sales_line_item_group_id' => 142831562, 'sku' => '005464', 'taxable' => true, 'title' => 'Nettoyant désodorisant surodorant', 'total_discount' => '0.00', 'total_discount_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'variant_id' => 52119811981641, 'variant_inventory_management' => 'shopify', 'variant_title' => NULL, 'vendor' => NULL, 'tax_lines' => array ( ), 'duties' => array ( ), 'discount_allocations' => array ( ), ), 2 => array ( 'id' => 257004973105704598, 'admin_graphql_api_id' => 'gid://shopify/LineItem/257004973105704598', 'attributed_staffs' => array ( ), 'current_quantity' => 1, 'fulfillable_quantity' => 1, 'fulfillment_service' => 'manual', 'fulfillment_status' => NULL, 'gift_card' => false, 'grams' => 1000, 'name' => 'Nettoyant désodorisant surodorant', 'price' => '10.60', 'price_set' => array ( 'shop_money' => array ( 'amount' => '10.60', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '10.60', 'currency_code' => 'EUR', ), ), 'product_exists' => true, 'product_id' => 9627800863049, 'properties' => array ( ), 'quantity' => 1, 'requires_shipping' => true, 'sales_line_item_group_id' => 142831562, 'sku' => '005464', 'taxable' => true, 'title' => 'Nettoyant désodorisant surodorant', 'total_discount' => '0.00', 'total_discount_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'variant_id' => 52119811981641, 'variant_inventory_management' => 'shopify', 'variant_title' => NULL, 'vendor' => NULL, 'tax_lines' => array ( ), 'duties' => array ( ), 'discount_allocations' => array ( ), ), ), 'payment_terms' => NULL, 'refunds' => array ( ), 'shipping_address' => array ( 'first_name' => 'Steve', 'address1' => '123 Shipping Street', 'phone' => '555-555-SHIP', 'city' => 'Shippington', 'zip' => '40003', 'province' => 'Kentucky', 'country' => 'United States', 'last_name' => 'Shipper', 'address2' => NULL, 'company' => 'Shipping Company', 'latitude' => NULL, 'longitude' => NULL, 'name' => 'Steve Shipper', 'country_code' => 'US', 'province_code' => 'KY', ), 'shipping_lines' => array ( 0 => array ( 'id' => 271878346596884015, 'carrier_identifier' => NULL, 'code' => NULL, 'current_discounted_price_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'discounted_price' => '10.00', 'discounted_price_set' => array ( 'shop_money' => array ( 'amount' => '10.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '10.00', 'currency_code' => 'EUR', ), ), 'is_removed' => false, 'phone' => NULL, 'price' => '10.00', 'price_set' => array ( 'shop_money' => array ( 'amount' => '10.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '10.00', 'currency_code' => 'EUR', ), ), 'requested_fulfillment_service_id' => NULL, 'source' => 'shopify', 'title' => 'Generic Shipping', 'tax_lines' => array ( ), 'discount_allocations' => array ( ), ), ), 'returns' => array ( ), ) DEBUG: Après json_decode ExportDir: "M3/OUT" Env: Array ( [M3_CLIENT_CODE] => "C1045303" [DPD_CONTRAT_RELAIS] => "59-28834" [DPD_CONTRAT_DOMICILE] => "59-28833" ) Fichier CSV écrit : "M3/OUT"/STX_#9999_20250425_182544.csv 2025-04-25T18:32:29+02:00 - Script appelé M3_CLIENT_CODE="C1045303" REQUEST_METHOD : POST Content-Type : application/json Headers : Array ( [Remote-Ip] => 35.246.223.154 [X-Shopify-Webhook-Id] => 60bf8d0c-5da1-44d0-8b2e-2e61d78de836 [X-Shopify-Triggered-At] => 2025-04-25T16:32:28.967537881Z [X-Shopify-Topic] => orders/create [X-Shopify-Test] => true [X-Shopify-Shop-Domain] => mystarwax.myshopify.com [X-Shopify-Hmac-Sha256] => tg4QS2sWrF0qpJx7E80eb06suTLXjI2if0aw7OPnkfw= [X-Shopify-Event-Id] => 52946da2-2acc-4fbf-9aa3-fa462a05a95e [X-Shopify-Api-Version] => 2025-04 [Content-Type] => application/json [Accept-Encoding] => gzip;q=1.0,deflate;q=0.6,identity;q=0.3 [Accept] => */* [User-Agent] => Shopify-Captain-Hook [Content-Length] => 8902 [X-Ovhrequest-Id] => b65c33f6d483fdf8ea402972bf04aefe [X-Forwarded-Proto] => https [X-Forwarded-For] => 35.246.223.154 [X-Predictor] => 1 [Host] => www.mystarwax.fr ) DEBUG: Avant lecture php://input Payload brut : '{"id":820982911946154508,"admin_graphql_api_id":"gid:\\/\\/shopify\\/Order\\/820982911946154508","app_id":null,"browser_ip":null,"buyer_accepts_marketing":true,"cancel_reason":"customer","cancelled_at":"2025-04-25T18:32:28+02:00","cart_token":null,"checkout_id":null,"checkout_token":null,"client_details":null,"closed_at":null,"company":null,"confirmation_number":null,"confirmed":false,"contact_email":"jon@example.com","created_at":"2025-04-25T18:32:28+02:00","currency":"EUR","current_shipping_price_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"current_subtotal_price":"27.19","current_subtotal_price_set":{"shop_money":{"amount":"27.19","currency_code":"EUR"},"presentment_money":{"amount":"27.19","currency_code":"EUR"}},"current_total_additional_fees_set":null,"current_total_discounts":"0.00","current_total_discounts_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"current_total_duties_set":null,"current_total_price":"27.19","current_total_price_set":{"shop_money":{"amount":"27.19","currency_code":"EUR"},"presentment_money":{"amount":"27.19","currency_code":"EUR"}},"current_total_tax":"0.00","current_total_tax_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"customer_locale":"fr","device_id":null,"discount_codes":[],"duties_included":false,"email":"jon@example.com","estimated_taxes":false,"financial_status":"voided","fulfillment_status":null,"landing_site":null,"landing_site_ref":null,"location_id":null,"merchant_business_entity_id":"MTkzODM1MTMzMjU3","merchant_of_record_app_id":null,"name":"#9999","note":null,"note_attributes":[],"number":234,"order_number":1234,"order_status_url":"https:\\/\\/mystarwax.myshopify.com\\/93835133257\\/orders\\/123456abcd\\/authenticate?key=abcdefg","original_total_additional_fees_set":null,"original_total_duties_set":null,"payment_gateway_names":["visa","bogus"],"phone":null,"po_number":null,"presentment_currency":"EUR","processed_at":"2025-04-25T18:32:28+02:00","reference":null,"referring_site":null,"source_identifier":null,"source_name":"web","source_url":null,"subtotal_price":"17.19","subtotal_price_set":{"shop_money":{"amount":"17.19","currency_code":"EUR"},"presentment_money":{"amount":"17.19","currency_code":"EUR"}},"tags":"tag1, tag2","tax_exempt":false,"tax_lines":[],"taxes_included":false,"test":true,"token":"123456abcd","total_cash_rounding_payment_adjustment_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"total_cash_rounding_refund_adjustment_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"total_discounts":"20.00","total_discounts_set":{"shop_money":{"amount":"20.00","currency_code":"EUR"},"presentment_money":{"amount":"20.00","currency_code":"EUR"}},"total_line_items_price":"27.19","total_line_items_price_set":{"shop_money":{"amount":"27.19","currency_code":"EUR"},"presentment_money":{"amount":"27.19","currency_code":"EUR"}},"total_outstanding":"27.19","total_price":"17.19","total_price_set":{"shop_money":{"amount":"17.19","currency_code":"EUR"},"presentment_money":{"amount":"17.19","currency_code":"EUR"}},"total_shipping_price_set":{"shop_money":{"amount":"10.00","currency_code":"EUR"},"presentment_money":{"amount":"10.00","currency_code":"EUR"}},"total_tax":"0.00","total_tax_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"total_tip_received":"0.00","total_weight":0,"updated_at":"2025-04-25T18:32:28+02:00","user_id":null,"billing_address":{"first_name":"Steve","address1":"123 Shipping Street","phone":"555-555-SHIP","city":"Shippington","zip":"40003","province":"Kentucky","country":"United States","last_name":"Shipper","address2":null,"company":"Shipping Company","latitude":null,"longitude":null,"name":"Steve Shipper","country_code":"US","province_code":"KY"},"customer":{"id":115310627314723954,"email":"john@example.com","created_at":null,"updated_at":null,"first_name":"John","last_name":"Smith","state":"disabled","note":null,"verified_email":true,"multipass_identifier":null,"tax_exempt":false,"phone":null,"currency":"EUR","tax_exemptions":[],"admin_graphql_api_id":"gid:\\/\\/shopify\\/Customer\\/115310627314723954","default_address":{"id":715243470612851245,"customer_id":115310627314723954,"first_name":null,"last_name":null,"company":null,"address1":"123 Elm St.","address2":null,"city":"Ottawa","province":"Ontario","country":"Canada","zip":"K2H7A8","phone":"123-123-1234","name":"","province_code":"ON","country_code":"CA","country_name":"Canada","default":true}},"discount_applications":[],"fulfillments":[],"line_items":[{"id":866550311766439020,"admin_graphql_api_id":"gid:\\/\\/shopify\\/LineItem\\/866550311766439020","attributed_staffs":[{"id":"gid:\\/\\/shopify\\/StaffMember\\/902541635","quantity":1}],"current_quantity":1,"fulfillable_quantity":1,"fulfillment_service":"manual","fulfillment_status":null,"gift_card":false,"grams":1000,"name":"Produit Starwax","price":"5.99","price_set":{"shop_money":{"amount":"5.99","currency_code":"EUR"},"presentment_money":{"amount":"5.99","currency_code":"EUR"}},"product_exists":true,"product_id":9573619237193,"properties":[],"quantity":1,"requires_shipping":true,"sales_line_item_group_id":null,"sku":"000666","taxable":true,"title":"Produit Starwax","total_discount":"0.00","total_discount_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"variant_id":51850344661321,"variant_inventory_management":"shopify","variant_title":null,"vendor":null,"tax_lines":[],"duties":[],"discount_allocations":[]},{"id":141249953214522974,"admin_graphql_api_id":"gid:\\/\\/shopify\\/LineItem\\/141249953214522974","attributed_staffs":[],"current_quantity":1,"fulfillable_quantity":1,"fulfillment_service":"manual","fulfillment_status":null,"gift_card":false,"grams":1000,"name":"Nettoyant désodorisant surodorant","price":"10.60","price_set":{"shop_money":{"amount":"10.60","currency_code":"EUR"},"presentment_money":{"amount":"10.60","currency_code":"EUR"}},"product_exists":true,"product_id":9627800863049,"properties":[],"quantity":1,"requires_shipping":true,"sales_line_item_group_id":142831562,"sku":"005464","taxable":true,"title":"Nettoyant désodorisant surodorant","total_discount":"0.00","total_discount_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"variant_id":52119811981641,"variant_inventory_management":"shopify","variant_title":null,"vendor":null,"tax_lines":[],"duties":[],"discount_allocations":[]},{"id":257004973105704598,"admin_graphql_api_id":"gid:\\/\\/shopify\\/LineItem\\/257004973105704598","attributed_staffs":[],"current_quantity":1,"fulfillable_quantity":1,"fulfillment_service":"manual","fulfillment_status":null,"gift_card":false,"grams":1000,"name":"Nettoyant désodorisant surodorant","price":"10.60","price_set":{"shop_money":{"amount":"10.60","currency_code":"EUR"},"presentment_money":{"amount":"10.60","currency_code":"EUR"}},"product_exists":true,"product_id":9627800863049,"properties":[],"quantity":1,"requires_shipping":true,"sales_line_item_group_id":142831562,"sku":"005464","taxable":true,"title":"Nettoyant désodorisant surodorant","total_discount":"0.00","total_discount_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"variant_id":52119811981641,"variant_inventory_management":"shopify","variant_title":null,"vendor":null,"tax_lines":[],"duties":[],"discount_allocations":[]}],"payment_terms":null,"refunds":[],"shipping_address":{"first_name":"Steve","address1":"123 Shipping Street","phone":"555-555-SHIP","city":"Shippington","zip":"40003","province":"Kentucky","country":"United States","last_name":"Shipper","address2":null,"company":"Shipping Company","latitude":null,"longitude":null,"name":"Steve Shipper","country_code":"US","province_code":"KY"},"shipping_lines":[{"id":271878346596884015,"carrier_identifier":null,"code":null,"current_discounted_price_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"discounted_price":"10.00","discounted_price_set":{"shop_money":{"amount":"10.00","currency_code":"EUR"},"presentment_money":{"amount":"10.00","currency_code":"EUR"}},"is_removed":false,"phone":null,"price":"10.00","price_set":{"shop_money":{"amount":"10.00","currency_code":"EUR"},"presentment_money":{"amount":"10.00","currency_code":"EUR"}},"requested_fulfillment_service_id":null,"source":"shopify","title":"Generic Shipping","tax_lines":[],"discount_allocations":[]}],"returns":[]}' DEBUG: Avant json_decode Payload décodé : array ( 'id' => 820982911946154508, 'admin_graphql_api_id' => 'gid://shopify/Order/820982911946154508', 'app_id' => NULL, 'browser_ip' => NULL, 'buyer_accepts_marketing' => true, 'cancel_reason' => 'customer', 'cancelled_at' => '2025-04-25T18:32:28+02:00', 'cart_token' => NULL, 'checkout_id' => NULL, 'checkout_token' => NULL, 'client_details' => NULL, 'closed_at' => NULL, 'company' => NULL, 'confirmation_number' => NULL, 'confirmed' => false, 'contact_email' => 'jon@example.com', 'created_at' => '2025-04-25T18:32:28+02:00', 'currency' => 'EUR', 'current_shipping_price_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'current_subtotal_price' => '27.19', 'current_subtotal_price_set' => array ( 'shop_money' => array ( 'amount' => '27.19', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '27.19', 'currency_code' => 'EUR', ), ), 'current_total_additional_fees_set' => NULL, 'current_total_discounts' => '0.00', 'current_total_discounts_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'current_total_duties_set' => NULL, 'current_total_price' => '27.19', 'current_total_price_set' => array ( 'shop_money' => array ( 'amount' => '27.19', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '27.19', 'currency_code' => 'EUR', ), ), 'current_total_tax' => '0.00', 'current_total_tax_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'customer_locale' => 'fr', 'device_id' => NULL, 'discount_codes' => array ( ), 'duties_included' => false, 'email' => 'jon@example.com', 'estimated_taxes' => false, 'financial_status' => 'voided', 'fulfillment_status' => NULL, 'landing_site' => NULL, 'landing_site_ref' => NULL, 'location_id' => NULL, 'merchant_business_entity_id' => 'MTkzODM1MTMzMjU3', 'merchant_of_record_app_id' => NULL, 'name' => '#9999', 'note' => NULL, 'note_attributes' => array ( ), 'number' => 234, 'order_number' => 1234, 'order_status_url' => 'https://mystarwax.myshopify.com/93835133257/orders/123456abcd/authenticate?key=abcdefg', 'original_total_additional_fees_set' => NULL, 'original_total_duties_set' => NULL, 'payment_gateway_names' => array ( 0 => 'visa', 1 => 'bogus', ), 'phone' => NULL, 'po_number' => NULL, 'presentment_currency' => 'EUR', 'processed_at' => '2025-04-25T18:32:28+02:00', 'reference' => NULL, 'referring_site' => NULL, 'source_identifier' => NULL, 'source_name' => 'web', 'source_url' => NULL, 'subtotal_price' => '17.19', 'subtotal_price_set' => array ( 'shop_money' => array ( 'amount' => '17.19', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '17.19', 'currency_code' => 'EUR', ), ), 'tags' => 'tag1, tag2', 'tax_exempt' => false, 'tax_lines' => array ( ), 'taxes_included' => false, 'test' => true, 'token' => '123456abcd', 'total_cash_rounding_payment_adjustment_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'total_cash_rounding_refund_adjustment_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'total_discounts' => '20.00', 'total_discounts_set' => array ( 'shop_money' => array ( 'amount' => '20.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '20.00', 'currency_code' => 'EUR', ), ), 'total_line_items_price' => '27.19', 'total_line_items_price_set' => array ( 'shop_money' => array ( 'amount' => '27.19', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '27.19', 'currency_code' => 'EUR', ), ), 'total_outstanding' => '27.19', 'total_price' => '17.19', 'total_price_set' => array ( 'shop_money' => array ( 'amount' => '17.19', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '17.19', 'currency_code' => 'EUR', ), ), 'total_shipping_price_set' => array ( 'shop_money' => array ( 'amount' => '10.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '10.00', 'currency_code' => 'EUR', ), ), 'total_tax' => '0.00', 'total_tax_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'total_tip_received' => '0.00', 'total_weight' => 0, 'updated_at' => '2025-04-25T18:32:28+02:00', 'user_id' => NULL, 'billing_address' => array ( 'first_name' => 'Steve', 'address1' => '123 Shipping Street', 'phone' => '555-555-SHIP', 'city' => 'Shippington', 'zip' => '40003', 'province' => 'Kentucky', 'country' => 'United States', 'last_name' => 'Shipper', 'address2' => NULL, 'company' => 'Shipping Company', 'latitude' => NULL, 'longitude' => NULL, 'name' => 'Steve Shipper', 'country_code' => 'US', 'province_code' => 'KY', ), 'customer' => array ( 'id' => 115310627314723954, 'email' => 'john@example.com', 'created_at' => NULL, 'updated_at' => NULL, 'first_name' => 'John', 'last_name' => 'Smith', 'state' => 'disabled', 'note' => NULL, 'verified_email' => true, 'multipass_identifier' => NULL, 'tax_exempt' => false, 'phone' => NULL, 'currency' => 'EUR', 'tax_exemptions' => array ( ), 'admin_graphql_api_id' => 'gid://shopify/Customer/115310627314723954', 'default_address' => array ( 'id' => 715243470612851245, 'customer_id' => 115310627314723954, 'first_name' => NULL, 'last_name' => NULL, 'company' => NULL, 'address1' => '123 Elm St.', 'address2' => NULL, 'city' => 'Ottawa', 'province' => 'Ontario', 'country' => 'Canada', 'zip' => 'K2H7A8', 'phone' => '123-123-1234', 'name' => '', 'province_code' => 'ON', 'country_code' => 'CA', 'country_name' => 'Canada', 'default' => true, ), ), 'discount_applications' => array ( ), 'fulfillments' => array ( ), 'line_items' => array ( 0 => array ( 'id' => 866550311766439020, 'admin_graphql_api_id' => 'gid://shopify/LineItem/866550311766439020', 'attributed_staffs' => array ( 0 => array ( 'id' => 'gid://shopify/StaffMember/902541635', 'quantity' => 1, ), ), 'current_quantity' => 1, 'fulfillable_quantity' => 1, 'fulfillment_service' => 'manual', 'fulfillment_status' => NULL, 'gift_card' => false, 'grams' => 1000, 'name' => 'Produit Starwax', 'price' => '5.99', 'price_set' => array ( 'shop_money' => array ( 'amount' => '5.99', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '5.99', 'currency_code' => 'EUR', ), ), 'product_exists' => true, 'product_id' => 9573619237193, 'properties' => array ( ), 'quantity' => 1, 'requires_shipping' => true, 'sales_line_item_group_id' => NULL, 'sku' => '000666', 'taxable' => true, 'title' => 'Produit Starwax', 'total_discount' => '0.00', 'total_discount_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'variant_id' => 51850344661321, 'variant_inventory_management' => 'shopify', 'variant_title' => NULL, 'vendor' => NULL, 'tax_lines' => array ( ), 'duties' => array ( ), 'discount_allocations' => array ( ), ), 1 => array ( 'id' => 141249953214522974, 'admin_graphql_api_id' => 'gid://shopify/LineItem/141249953214522974', 'attributed_staffs' => array ( ), 'current_quantity' => 1, 'fulfillable_quantity' => 1, 'fulfillment_service' => 'manual', 'fulfillment_status' => NULL, 'gift_card' => false, 'grams' => 1000, 'name' => 'Nettoyant désodorisant surodorant', 'price' => '10.60', 'price_set' => array ( 'shop_money' => array ( 'amount' => '10.60', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '10.60', 'currency_code' => 'EUR', ), ), 'product_exists' => true, 'product_id' => 9627800863049, 'properties' => array ( ), 'quantity' => 1, 'requires_shipping' => true, 'sales_line_item_group_id' => 142831562, 'sku' => '005464', 'taxable' => true, 'title' => 'Nettoyant désodorisant surodorant', 'total_discount' => '0.00', 'total_discount_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'variant_id' => 52119811981641, 'variant_inventory_management' => 'shopify', 'variant_title' => NULL, 'vendor' => NULL, 'tax_lines' => array ( ), 'duties' => array ( ), 'discount_allocations' => array ( ), ), 2 => array ( 'id' => 257004973105704598, 'admin_graphql_api_id' => 'gid://shopify/LineItem/257004973105704598', 'attributed_staffs' => array ( ), 'current_quantity' => 1, 'fulfillable_quantity' => 1, 'fulfillment_service' => 'manual', 'fulfillment_status' => NULL, 'gift_card' => false, 'grams' => 1000, 'name' => 'Nettoyant désodorisant surodorant', 'price' => '10.60', 'price_set' => array ( 'shop_money' => array ( 'amount' => '10.60', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '10.60', 'currency_code' => 'EUR', ), ), 'product_exists' => true, 'product_id' => 9627800863049, 'properties' => array ( ), 'quantity' => 1, 'requires_shipping' => true, 'sales_line_item_group_id' => 142831562, 'sku' => '005464', 'taxable' => true, 'title' => 'Nettoyant désodorisant surodorant', 'total_discount' => '0.00', 'total_discount_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'variant_id' => 52119811981641, 'variant_inventory_management' => 'shopify', 'variant_title' => NULL, 'vendor' => NULL, 'tax_lines' => array ( ), 'duties' => array ( ), 'discount_allocations' => array ( ), ), ), 'payment_terms' => NULL, 'refunds' => array ( ), 'shipping_address' => array ( 'first_name' => 'Steve', 'address1' => '123 Shipping Street', 'phone' => '555-555-SHIP', 'city' => 'Shippington', 'zip' => '40003', 'province' => 'Kentucky', 'country' => 'United States', 'last_name' => 'Shipper', 'address2' => NULL, 'company' => 'Shipping Company', 'latitude' => NULL, 'longitude' => NULL, 'name' => 'Steve Shipper', 'country_code' => 'US', 'province_code' => 'KY', ), 'shipping_lines' => array ( 0 => array ( 'id' => 271878346596884015, 'carrier_identifier' => NULL, 'code' => NULL, 'current_discounted_price_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'discounted_price' => '10.00', 'discounted_price_set' => array ( 'shop_money' => array ( 'amount' => '10.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '10.00', 'currency_code' => 'EUR', ), ), 'is_removed' => false, 'phone' => NULL, 'price' => '10.00', 'price_set' => array ( 'shop_money' => array ( 'amount' => '10.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '10.00', 'currency_code' => 'EUR', ), ), 'requested_fulfillment_service_id' => NULL, 'source' => 'shopify', 'title' => 'Generic Shipping', 'tax_lines' => array ( ), 'discount_allocations' => array ( ), ), ), 'returns' => array ( ), ) DEBUG: Après json_decode ExportDir: "M3/OUT" Env: Array ( [M3_CLIENT_CODE] => "C1045303" [DPD_CONTRAT_RELAIS] => "59-28834" [DPD_CONTRAT_DOMICILE] => "59-28833" ) DEBUG: Chemin absolu d'écriture : "M3/OUT"/STX_9999_20250425_183229.csv DEBUG: __DIR__ vaut : /home/wlkrpss/mystarwax/app_shopify_m3_starwax/src DEBUG: is_dir("M3/OUT")=oui DEBUG: is_writable("M3/OUT")=oui Fichier CSV écrit : "M3/OUT"/STX_9999_20250425_183229.csv 2025-04-25T18:37:56+02:00 - Script appelé M3_CLIENT_CODE="C1045303" REQUEST_METHOD : POST Content-Type : application/json Headers : Array ( [Remote-Ip] => 35.246.223.154 [X-Shopify-Webhook-Id] => f9d60f58-7849-4946-bf00-ca5d06917fcb [X-Shopify-Triggered-At] => 2025-04-25T16:37:56.587958544Z [X-Shopify-Topic] => orders/create [X-Shopify-Test] => true [X-Shopify-Shop-Domain] => mystarwax.myshopify.com [X-Shopify-Hmac-Sha256] => 08/77fg01euSXIFJ6ABxUOZgNDNBzL4s5zTBJWk6uN0= [X-Shopify-Event-Id] => 137b5134-2a31-4353-9165-e44e2623021f [X-Shopify-Api-Version] => 2025-04 [Content-Type] => application/json [Accept-Encoding] => gzip;q=1.0,deflate;q=0.6,identity;q=0.3 [Accept] => */* [User-Agent] => Shopify-Captain-Hook [Content-Length] => 8902 [X-Ovhrequest-Id] => 18291d99bcbab73408ed833dde9b3c55 [X-Forwarded-Proto] => https [X-Forwarded-For] => 35.246.223.154 [X-Predictor] => 1 [Host] => www.mystarwax.fr ) DEBUG: Avant lecture php://input Payload brut : '{"id":820982911946154508,"admin_graphql_api_id":"gid:\\/\\/shopify\\/Order\\/820982911946154508","app_id":null,"browser_ip":null,"buyer_accepts_marketing":true,"cancel_reason":"customer","cancelled_at":"2025-04-25T18:37:56+02:00","cart_token":null,"checkout_id":null,"checkout_token":null,"client_details":null,"closed_at":null,"company":null,"confirmation_number":null,"confirmed":false,"contact_email":"jon@example.com","created_at":"2025-04-25T18:37:56+02:00","currency":"EUR","current_shipping_price_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"current_subtotal_price":"27.19","current_subtotal_price_set":{"shop_money":{"amount":"27.19","currency_code":"EUR"},"presentment_money":{"amount":"27.19","currency_code":"EUR"}},"current_total_additional_fees_set":null,"current_total_discounts":"0.00","current_total_discounts_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"current_total_duties_set":null,"current_total_price":"27.19","current_total_price_set":{"shop_money":{"amount":"27.19","currency_code":"EUR"},"presentment_money":{"amount":"27.19","currency_code":"EUR"}},"current_total_tax":"0.00","current_total_tax_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"customer_locale":"fr","device_id":null,"discount_codes":[],"duties_included":false,"email":"jon@example.com","estimated_taxes":false,"financial_status":"voided","fulfillment_status":null,"landing_site":null,"landing_site_ref":null,"location_id":null,"merchant_business_entity_id":"MTkzODM1MTMzMjU3","merchant_of_record_app_id":null,"name":"#9999","note":null,"note_attributes":[],"number":234,"order_number":1234,"order_status_url":"https:\\/\\/mystarwax.myshopify.com\\/93835133257\\/orders\\/123456abcd\\/authenticate?key=abcdefg","original_total_additional_fees_set":null,"original_total_duties_set":null,"payment_gateway_names":["visa","bogus"],"phone":null,"po_number":null,"presentment_currency":"EUR","processed_at":"2025-04-25T18:37:56+02:00","reference":null,"referring_site":null,"source_identifier":null,"source_name":"web","source_url":null,"subtotal_price":"17.19","subtotal_price_set":{"shop_money":{"amount":"17.19","currency_code":"EUR"},"presentment_money":{"amount":"17.19","currency_code":"EUR"}},"tags":"tag1, tag2","tax_exempt":false,"tax_lines":[],"taxes_included":false,"test":true,"token":"123456abcd","total_cash_rounding_payment_adjustment_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"total_cash_rounding_refund_adjustment_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"total_discounts":"20.00","total_discounts_set":{"shop_money":{"amount":"20.00","currency_code":"EUR"},"presentment_money":{"amount":"20.00","currency_code":"EUR"}},"total_line_items_price":"27.19","total_line_items_price_set":{"shop_money":{"amount":"27.19","currency_code":"EUR"},"presentment_money":{"amount":"27.19","currency_code":"EUR"}},"total_outstanding":"27.19","total_price":"17.19","total_price_set":{"shop_money":{"amount":"17.19","currency_code":"EUR"},"presentment_money":{"amount":"17.19","currency_code":"EUR"}},"total_shipping_price_set":{"shop_money":{"amount":"10.00","currency_code":"EUR"},"presentment_money":{"amount":"10.00","currency_code":"EUR"}},"total_tax":"0.00","total_tax_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"total_tip_received":"0.00","total_weight":0,"updated_at":"2025-04-25T18:37:56+02:00","user_id":null,"billing_address":{"first_name":"Steve","address1":"123 Shipping Street","phone":"555-555-SHIP","city":"Shippington","zip":"40003","province":"Kentucky","country":"United States","last_name":"Shipper","address2":null,"company":"Shipping Company","latitude":null,"longitude":null,"name":"Steve Shipper","country_code":"US","province_code":"KY"},"customer":{"id":115310627314723954,"email":"john@example.com","created_at":null,"updated_at":null,"first_name":"John","last_name":"Smith","state":"disabled","note":null,"verified_email":true,"multipass_identifier":null,"tax_exempt":false,"phone":null,"currency":"EUR","tax_exemptions":[],"admin_graphql_api_id":"gid:\\/\\/shopify\\/Customer\\/115310627314723954","default_address":{"id":715243470612851245,"customer_id":115310627314723954,"first_name":null,"last_name":null,"company":null,"address1":"123 Elm St.","address2":null,"city":"Ottawa","province":"Ontario","country":"Canada","zip":"K2H7A8","phone":"123-123-1234","name":"","province_code":"ON","country_code":"CA","country_name":"Canada","default":true}},"discount_applications":[],"fulfillments":[],"line_items":[{"id":866550311766439020,"admin_graphql_api_id":"gid:\\/\\/shopify\\/LineItem\\/866550311766439020","attributed_staffs":[{"id":"gid:\\/\\/shopify\\/StaffMember\\/902541635","quantity":1}],"current_quantity":1,"fulfillable_quantity":1,"fulfillment_service":"manual","fulfillment_status":null,"gift_card":false,"grams":1000,"name":"Produit Starwax","price":"5.99","price_set":{"shop_money":{"amount":"5.99","currency_code":"EUR"},"presentment_money":{"amount":"5.99","currency_code":"EUR"}},"product_exists":true,"product_id":9573619237193,"properties":[],"quantity":1,"requires_shipping":true,"sales_line_item_group_id":null,"sku":"000666","taxable":true,"title":"Produit Starwax","total_discount":"0.00","total_discount_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"variant_id":51850344661321,"variant_inventory_management":"shopify","variant_title":null,"vendor":null,"tax_lines":[],"duties":[],"discount_allocations":[]},{"id":141249953214522974,"admin_graphql_api_id":"gid:\\/\\/shopify\\/LineItem\\/141249953214522974","attributed_staffs":[],"current_quantity":1,"fulfillable_quantity":1,"fulfillment_service":"manual","fulfillment_status":null,"gift_card":false,"grams":1000,"name":"Nettoyant désodorisant surodorant","price":"10.60","price_set":{"shop_money":{"amount":"10.60","currency_code":"EUR"},"presentment_money":{"amount":"10.60","currency_code":"EUR"}},"product_exists":true,"product_id":9627800863049,"properties":[],"quantity":1,"requires_shipping":true,"sales_line_item_group_id":142831562,"sku":"005464","taxable":true,"title":"Nettoyant désodorisant surodorant","total_discount":"0.00","total_discount_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"variant_id":52119811981641,"variant_inventory_management":"shopify","variant_title":null,"vendor":null,"tax_lines":[],"duties":[],"discount_allocations":[]},{"id":257004973105704598,"admin_graphql_api_id":"gid:\\/\\/shopify\\/LineItem\\/257004973105704598","attributed_staffs":[],"current_quantity":1,"fulfillable_quantity":1,"fulfillment_service":"manual","fulfillment_status":null,"gift_card":false,"grams":1000,"name":"Nettoyant désodorisant surodorant","price":"10.60","price_set":{"shop_money":{"amount":"10.60","currency_code":"EUR"},"presentment_money":{"amount":"10.60","currency_code":"EUR"}},"product_exists":true,"product_id":9627800863049,"properties":[],"quantity":1,"requires_shipping":true,"sales_line_item_group_id":142831562,"sku":"005464","taxable":true,"title":"Nettoyant désodorisant surodorant","total_discount":"0.00","total_discount_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"variant_id":52119811981641,"variant_inventory_management":"shopify","variant_title":null,"vendor":null,"tax_lines":[],"duties":[],"discount_allocations":[]}],"payment_terms":null,"refunds":[],"shipping_address":{"first_name":"Steve","address1":"123 Shipping Street","phone":"555-555-SHIP","city":"Shippington","zip":"40003","province":"Kentucky","country":"United States","last_name":"Shipper","address2":null,"company":"Shipping Company","latitude":null,"longitude":null,"name":"Steve Shipper","country_code":"US","province_code":"KY"},"shipping_lines":[{"id":271878346596884015,"carrier_identifier":null,"code":null,"current_discounted_price_set":{"shop_money":{"amount":"0.00","currency_code":"EUR"},"presentment_money":{"amount":"0.00","currency_code":"EUR"}},"discounted_price":"10.00","discounted_price_set":{"shop_money":{"amount":"10.00","currency_code":"EUR"},"presentment_money":{"amount":"10.00","currency_code":"EUR"}},"is_removed":false,"phone":null,"price":"10.00","price_set":{"shop_money":{"amount":"10.00","currency_code":"EUR"},"presentment_money":{"amount":"10.00","currency_code":"EUR"}},"requested_fulfillment_service_id":null,"source":"shopify","title":"Generic Shipping","tax_lines":[],"discount_allocations":[]}],"returns":[]}' DEBUG: Avant json_decode Payload décodé : array ( 'id' => 820982911946154508, 'admin_graphql_api_id' => 'gid://shopify/Order/820982911946154508', 'app_id' => NULL, 'browser_ip' => NULL, 'buyer_accepts_marketing' => true, 'cancel_reason' => 'customer', 'cancelled_at' => '2025-04-25T18:37:56+02:00', 'cart_token' => NULL, 'checkout_id' => NULL, 'checkout_token' => NULL, 'client_details' => NULL, 'closed_at' => NULL, 'company' => NULL, 'confirmation_number' => NULL, 'confirmed' => false, 'contact_email' => 'jon@example.com', 'created_at' => '2025-04-25T18:37:56+02:00', 'currency' => 'EUR', 'current_shipping_price_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'current_subtotal_price' => '27.19', 'current_subtotal_price_set' => array ( 'shop_money' => array ( 'amount' => '27.19', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '27.19', 'currency_code' => 'EUR', ), ), 'current_total_additional_fees_set' => NULL, 'current_total_discounts' => '0.00', 'current_total_discounts_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'current_total_duties_set' => NULL, 'current_total_price' => '27.19', 'current_total_price_set' => array ( 'shop_money' => array ( 'amount' => '27.19', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '27.19', 'currency_code' => 'EUR', ), ), 'current_total_tax' => '0.00', 'current_total_tax_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'customer_locale' => 'fr', 'device_id' => NULL, 'discount_codes' => array ( ), 'duties_included' => false, 'email' => 'jon@example.com', 'estimated_taxes' => false, 'financial_status' => 'voided', 'fulfillment_status' => NULL, 'landing_site' => NULL, 'landing_site_ref' => NULL, 'location_id' => NULL, 'merchant_business_entity_id' => 'MTkzODM1MTMzMjU3', 'merchant_of_record_app_id' => NULL, 'name' => '#9999', 'note' => NULL, 'note_attributes' => array ( ), 'number' => 234, 'order_number' => 1234, 'order_status_url' => 'https://mystarwax.myshopify.com/93835133257/orders/123456abcd/authenticate?key=abcdefg', 'original_total_additional_fees_set' => NULL, 'original_total_duties_set' => NULL, 'payment_gateway_names' => array ( 0 => 'visa', 1 => 'bogus', ), 'phone' => NULL, 'po_number' => NULL, 'presentment_currency' => 'EUR', 'processed_at' => '2025-04-25T18:37:56+02:00', 'reference' => NULL, 'referring_site' => NULL, 'source_identifier' => NULL, 'source_name' => 'web', 'source_url' => NULL, 'subtotal_price' => '17.19', 'subtotal_price_set' => array ( 'shop_money' => array ( 'amount' => '17.19', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '17.19', 'currency_code' => 'EUR', ), ), 'tags' => 'tag1, tag2', 'tax_exempt' => false, 'tax_lines' => array ( ), 'taxes_included' => false, 'test' => true, 'token' => '123456abcd', 'total_cash_rounding_payment_adjustment_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'total_cash_rounding_refund_adjustment_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'total_discounts' => '20.00', 'total_discounts_set' => array ( 'shop_money' => array ( 'amount' => '20.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '20.00', 'currency_code' => 'EUR', ), ), 'total_line_items_price' => '27.19', 'total_line_items_price_set' => array ( 'shop_money' => array ( 'amount' => '27.19', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '27.19', 'currency_code' => 'EUR', ), ), 'total_outstanding' => '27.19', 'total_price' => '17.19', 'total_price_set' => array ( 'shop_money' => array ( 'amount' => '17.19', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '17.19', 'currency_code' => 'EUR', ), ), 'total_shipping_price_set' => array ( 'shop_money' => array ( 'amount' => '10.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '10.00', 'currency_code' => 'EUR', ), ), 'total_tax' => '0.00', 'total_tax_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'total_tip_received' => '0.00', 'total_weight' => 0, 'updated_at' => '2025-04-25T18:37:56+02:00', 'user_id' => NULL, 'billing_address' => array ( 'first_name' => 'Steve', 'address1' => '123 Shipping Street', 'phone' => '555-555-SHIP', 'city' => 'Shippington', 'zip' => '40003', 'province' => 'Kentucky', 'country' => 'United States', 'last_name' => 'Shipper', 'address2' => NULL, 'company' => 'Shipping Company', 'latitude' => NULL, 'longitude' => NULL, 'name' => 'Steve Shipper', 'country_code' => 'US', 'province_code' => 'KY', ), 'customer' => array ( 'id' => 115310627314723954, 'email' => 'john@example.com', 'created_at' => NULL, 'updated_at' => NULL, 'first_name' => 'John', 'last_name' => 'Smith', 'state' => 'disabled', 'note' => NULL, 'verified_email' => true, 'multipass_identifier' => NULL, 'tax_exempt' => false, 'phone' => NULL, 'currency' => 'EUR', 'tax_exemptions' => array ( ), 'admin_graphql_api_id' => 'gid://shopify/Customer/115310627314723954', 'default_address' => array ( 'id' => 715243470612851245, 'customer_id' => 115310627314723954, 'first_name' => NULL, 'last_name' => NULL, 'company' => NULL, 'address1' => '123 Elm St.', 'address2' => NULL, 'city' => 'Ottawa', 'province' => 'Ontario', 'country' => 'Canada', 'zip' => 'K2H7A8', 'phone' => '123-123-1234', 'name' => '', 'province_code' => 'ON', 'country_code' => 'CA', 'country_name' => 'Canada', 'default' => true, ), ), 'discount_applications' => array ( ), 'fulfillments' => array ( ), 'line_items' => array ( 0 => array ( 'id' => 866550311766439020, 'admin_graphql_api_id' => 'gid://shopify/LineItem/866550311766439020', 'attributed_staffs' => array ( 0 => array ( 'id' => 'gid://shopify/StaffMember/902541635', 'quantity' => 1, ), ), 'current_quantity' => 1, 'fulfillable_quantity' => 1, 'fulfillment_service' => 'manual', 'fulfillment_status' => NULL, 'gift_card' => false, 'grams' => 1000, 'name' => 'Produit Starwax', 'price' => '5.99', 'price_set' => array ( 'shop_money' => array ( 'amount' => '5.99', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '5.99', 'currency_code' => 'EUR', ), ), 'product_exists' => true, 'product_id' => 9573619237193, 'properties' => array ( ), 'quantity' => 1, 'requires_shipping' => true, 'sales_line_item_group_id' => NULL, 'sku' => '000666', 'taxable' => true, 'title' => 'Produit Starwax', 'total_discount' => '0.00', 'total_discount_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'variant_id' => 51850344661321, 'variant_inventory_management' => 'shopify', 'variant_title' => NULL, 'vendor' => NULL, 'tax_lines' => array ( ), 'duties' => array ( ), 'discount_allocations' => array ( ), ), 1 => array ( 'id' => 141249953214522974, 'admin_graphql_api_id' => 'gid://shopify/LineItem/141249953214522974', 'attributed_staffs' => array ( ), 'current_quantity' => 1, 'fulfillable_quantity' => 1, 'fulfillment_service' => 'manual', 'fulfillment_status' => NULL, 'gift_card' => false, 'grams' => 1000, 'name' => 'Nettoyant désodorisant surodorant', 'price' => '10.60', 'price_set' => array ( 'shop_money' => array ( 'amount' => '10.60', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '10.60', 'currency_code' => 'EUR', ), ), 'product_exists' => true, 'product_id' => 9627800863049, 'properties' => array ( ), 'quantity' => 1, 'requires_shipping' => true, 'sales_line_item_group_id' => 142831562, 'sku' => '005464', 'taxable' => true, 'title' => 'Nettoyant désodorisant surodorant', 'total_discount' => '0.00', 'total_discount_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'variant_id' => 52119811981641, 'variant_inventory_management' => 'shopify', 'variant_title' => NULL, 'vendor' => NULL, 'tax_lines' => array ( ), 'duties' => array ( ), 'discount_allocations' => array ( ), ), 2 => array ( 'id' => 257004973105704598, 'admin_graphql_api_id' => 'gid://shopify/LineItem/257004973105704598', 'attributed_staffs' => array ( ), 'current_quantity' => 1, 'fulfillable_quantity' => 1, 'fulfillment_service' => 'manual', 'fulfillment_status' => NULL, 'gift_card' => false, 'grams' => 1000, 'name' => 'Nettoyant désodorisant surodorant', 'price' => '10.60', 'price_set' => array ( 'shop_money' => array ( 'amount' => '10.60', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '10.60', 'currency_code' => 'EUR', ), ), 'product_exists' => true, 'product_id' => 9627800863049, 'properties' => array ( ), 'quantity' => 1, 'requires_shipping' => true, 'sales_line_item_group_id' => 142831562, 'sku' => '005464', 'taxable' => true, 'title' => 'Nettoyant désodorisant surodorant', 'total_discount' => '0.00', 'total_discount_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'variant_id' => 52119811981641, 'variant_inventory_management' => 'shopify', 'variant_title' => NULL, 'vendor' => NULL, 'tax_lines' => array ( ), 'duties' => array ( ), 'discount_allocations' => array ( ), ), ), 'payment_terms' => NULL, 'refunds' => array ( ), 'shipping_address' => array ( 'first_name' => 'Steve', 'address1' => '123 Shipping Street', 'phone' => '555-555-SHIP', 'city' => 'Shippington', 'zip' => '40003', 'province' => 'Kentucky', 'country' => 'United States', 'last_name' => 'Shipper', 'address2' => NULL, 'company' => 'Shipping Company', 'latitude' => NULL, 'longitude' => NULL, 'name' => 'Steve Shipper', 'country_code' => 'US', 'province_code' => 'KY', ), 'shipping_lines' => array ( 0 => array ( 'id' => 271878346596884015, 'carrier_identifier' => NULL, 'code' => NULL, 'current_discounted_price_set' => array ( 'shop_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '0.00', 'currency_code' => 'EUR', ), ), 'discounted_price' => '10.00', 'discounted_price_set' => array ( 'shop_money' => array ( 'amount' => '10.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '10.00', 'currency_code' => 'EUR', ), ), 'is_removed' => false, 'phone' => NULL, 'price' => '10.00', 'price_set' => array ( 'shop_money' => array ( 'amount' => '10.00', 'currency_code' => 'EUR', ), 'presentment_money' => array ( 'amount' => '10.00', 'currency_code' => 'EUR', ), ), 'requested_fulfillment_service_id' => NULL, 'source' => 'shopify', 'title' => 'Generic Shipping', 'tax_lines' => array ( ), 'discount_allocations' => array ( ), ), ), 'returns' => array ( ), ) DEBUG: Après json_decode ExportDir (corrigé): /home/wlkrpss/mystarwax/app_shopify_m3_starwax/M3/OUT Env: Array ( [M3_CLIENT_CODE] => "C1045303" [DPD_CONTRAT_RELAIS] => "59-28834" [DPD_CONTRAT_DOMICILE] => "59-28833" ) DEBUG: Chemin absolu d'écriture : /home/wlkrpss/mystarwax/app_shopify_m3_starwax/M3/OUT/STX_9999_20250425_183756.csv DEBUG: __DIR__ vaut : /home/wlkrpss/mystarwax/app_shopify_m3_starwax/src DEBUG: is_dir(/home/wlkrpss/mystarwax/app_shopify_m3_starwax/M3/OUT)=oui DEBUG: is_writable(/home/wlkrpss/mystarwax/app_shopify_m3_starwax/M3/OUT)=oui Fichier CSV écrit : /home/wlkrpss/mystarwax/app_shopify_m3_starwax/M3/OUT/STX_9999_20250425_183756.csv