Order: {"benefits":[],"orderType":"DELIVERY","scheduled":false,"payments":{"methods":[{"method":"PIX","prepaid":true,"currency":"BRL","type":"ONLINE","value":117.36,"card":{"brand":"PIX"}}],"pending":0,"prepaid":117.36},"engineType":"IFOOD","salesChannel":"IFOOD","reference":"e562c8ce-a21b-4669-b779-6b616f824bf2","createdAt":"2023-12-06T11:35:06.170Z","total":{"benefits":0,"deliveryFee":4.99,"orderAmount":117.36,"subTotal":112.37,"additionalFees":0},"additionalInfo":{"metadata":{"logisticProduct":"FULL_SERVICE"}},"id":"IFOOD_e562c8ce-a21b-4669-b779-6b616f824bf2","containerId":"47C54FD811024ACE9F4D3CD52E785952","delivery":{"mode":"DEFAULT","deliveredBy":"IFOOD","deliveryAddress":{"country":"BR","streetName":"Rua Dr. Seidel","formattedAddress":"Rua Dr. Seidel, 425","streetNumber":"425","city":"S\u00e3o Paulo","postalCode":"05315000","coordinates":{"latitude":-23.532482,"longitude":-46.734629},"neighborhood":"Vila Leopoldina","state":"SP"},"deliveryDateTime":"2023-12-06T12:01:06.170Z","pickupCode":"3060"},"merchant":{"name":"Padaria Villagio","id":"0d22cf29-021d-4d59-afeb-6aa822060e7c"},"version":"0.0.3","orderTiming":"IMMEDIATE","companyId":"2DAD377AB8944304AB214A17CA34EE32","preparationStartDateTime":"2023-12-06T11:35:06.170Z","isTest":false,"refId":"e562c8ce-a21b-4669-b779-6b616f824bf2","displayId":"8268","engineName":"IFOODV2","items":[{"unitPrice":8.99,"unit":"GRAMS","quantity":3,"externalCode":"2556","totalPrice":26.97,"price":26.97,"imageUrl":"https:\/\/static-images.ifood.com.br\/image\/upload\/t_high\/pratos\/0d22cf29-021d-4d59-afeb-6aa822060e7c\/202303290837_0ER4_i.jpg","name":"Mini p\u00e3o de queijo recheado","index":1,"id":"382f013c-1ae6-4e35-986d-4ec1748243ac","optionsPrice":0,"uniqueId":"ffa64eee-81c6-4f4e-9f18-a3b2b5e0fd30"},{"unitPrice":11.5,"unit":"GRAMS","quantity":7,"externalCode":"613","totalPrice":80.5,"price":80.5,"imageUrl":"https:\/\/static-images.ifood.com.br\/image\/upload\/t_high\/pratos\/0d22cf29-021d-4d59-afeb-6aa822060e7c\/202307060713_0336_i.jpg","name":"P\u00e3o de queijo grande tradicional","index":2,"id":"2786b4a8-d0e1-4ae2-82b1-436d75e956eb","optionsPrice":0,"uniqueId":"e85189d2-6461-43a0-8a5c-5e4aef6b5ae9"},{"unitPrice":4.9,"quantity":1,"externalCode":"69","totalPrice":4.9,"index":3,"unit":"GRAMS","ean":"7896065880069","price":4.9,"imageUrl":"https:\/\/static-images.ifood.com.br\/image\/upload\/t_high\/pratos\/820af392-002c-47b1-bfae-d7ef31743c7f\/202305051058_myt8gedrbx.jpg","name":"\u00c1gua Mineral sem G\u00e1s Minalba 510ml","id":"a7dae812-29ea-4044-a991-8baa97dfd8c2","optionsPrice":0,"uniqueId":"7a7da3dd-737c-4e03-a86a-3a9d2866d075"}],"scheduledAt":"2023-12-06T12:01:06.170Z","customer":{"phone":{"number":"0800 705 4050","localizer":"39315432","localizerExpiration":"2023-12-06T15:35:06.170Z"},"documentNumber":"42966239824","name":"JOAO","ordersCountOnMerchant":0,"segmentation":"Cliente Frequente","id":"f0201637-b845-42ec-bf7a-85e72ba7bcf2"},"engineId":"3108CAD7500647C185E9594FA5946D9B","actions":[{"createdAt":"2023-12-06T11:36:27.153Z","status":"PLACED"},{"createdAt":"2023-12-06T11:36:27.399Z","user":"updateOrder [EED1]","status":"CONFIRMED"}],"updatedAt":"2023-12-06T11:36:27.554Z","status":"CONFIRMED"} Error: Undefined index: deliveryMethod