Order: {"benefits":[],"orderType":"DELIVERY","scheduled":false,"payments":{"methods":[{"method":"CREDIT","prepaid":true,"currency":"BRL","type":"ONLINE","value":47.88,"card":{"brand":"MASTERCARD"}}],"pending":0,"prepaid":47.88},"engineType":"IFOOD","salesChannel":"IFOOD","reference":"f8520f22-30b2-4dc4-8a96-b59eafa3789b","createdAt":"2023-12-05T12:05:03.061Z","total":{"benefits":0,"deliveryFee":6.99,"orderAmount":47.88,"subTotal":40.89,"additionalFees":0},"additionalInfo":{"metadata":{"logisticProduct":"FULL_SERVICE"}},"id":"IFOOD_f8520f22-30b2-4dc4-8a96-b59eafa3789b","containerId":"47C54FD811024ACE9F4D3CD52E785952","delivery":{"mode":"DEFAULT","deliveredBy":"IFOOD","deliveryAddress":{"reference":"Le havre","country":"BR","streetName":"Av. Mofarrej","formattedAddress":"Av. Mofarrej, 706","streetNumber":"706","city":"S\u00e3o Paulo","postalCode":"05311000","coordinates":{"latitude":-23.528475,"longitude":-46.742488},"neighborhood":"Vila Leopoldina","state":"SP","complement":"Ap 105"},"deliveryDateTime":"2023-12-05T12:36:03.061Z","pickupCode":"7051"},"merchant":{"name":"Padaria Villagio","id":"0d22cf29-021d-4d59-afeb-6aa822060e7c"},"version":"0.0.3","orderTiming":"IMMEDIATE","companyId":"2DAD377AB8944304AB214A17CA34EE32","preparationStartDateTime":"2023-12-05T12:05:03.061Z","isTest":false,"refId":"f8520f22-30b2-4dc4-8a96-b59eafa3789b","displayId":"8661","engineName":"IFOODV2","items":[{"unitPrice":25.99,"unit":"UN","quantity":1,"totalPrice":25.99,"price":25.99,"imageUrl":"https:\/\/static-images.ifood.com.br\/image\/upload\/t_high\/pratos\/0d22cf29-021d-4d59-afeb-6aa822060e7c\/202306191119_585Y_i.jpg","name":"Misto quente","index":1,"id":"48cc7594-0cd3-4e80-b9cf-c8e8ddcd7511","optionsPrice":0,"uniqueId":"4b2458d1-4de0-4394-a2b6-81b10aa64bf7"},{"unitPrice":8.9,"unit":"UN","quantity":1,"externalCode":"631","totalPrice":8.9,"price":8.9,"imageUrl":"https:\/\/static-images.ifood.com.br\/image\/upload\/t_high\/pratos\/0d22cf29-021d-4d59-afeb-6aa822060e7c\/202303310907_2BHE_i.jpg","name":"Franc\u00eas na chapa com manteiga","index":2,"id":"e073aaa8-682c-4665-aee0-abceac626562","optionsPrice":0,"uniqueId":"76022446-1d49-4024-99e9-688d3d761776"},{"unitPrice":2,"unit":"GRAMS","quantity":3,"externalCode":"1349","totalPrice":6,"price":6,"imageUrl":"https:\/\/static-images.ifood.com.br\/image\/upload\/t_high\/pratos\/0d22cf29-021d-4d59-afeb-6aa822060e7c\/202303220708_A0M0_i.jpg","name":"P\u00e3o franc\u00eas","index":3,"id":"d245fa35-c76e-4a71-9204-69608bb929b0","optionsPrice":0,"uniqueId":"abf58d0d-3096-4ff8-a1b7-c37fd57a893d"}],"scheduledAt":"2023-12-05T12:36:03.061Z","customer":{"phone":{"number":"0800 705 3040","localizer":"62306436","localizerExpiration":"2023-12-05T16:05:03.061Z"},"documentNumber":"74590537249","name":"BRUNA MENESCAL","ordersCountOnMerchant":9,"segmentation":"Cliente Frequente","id":"5fdad8a5-348a-4a26-b1e4-742c4be6e333"},"engineId":"3108CAD7500647C185E9594FA5946D9B","actions":[{"createdAt":"2023-12-05T12:05:27.382Z","status":"PLACED"},{"createdAt":"2023-12-05T12:05:27.643Z","user":"updateOrder [EED1]","status":"CONFIRMED"}],"updatedAt":"2023-12-05T12:05:27.793Z","status":"CONFIRMED"} Error: Undefined index: deliveryMethod