Order: {"benefits":[],"orderType":"DELIVERY","scheduled":false,"payments":{"methods":[{"method":"CREDIT","prepaid":true,"currency":"BRL","type":"ONLINE","value":52.79,"card":{"brand":"MASTERCARD"}}],"pending":0,"prepaid":52.79},"engineType":"IFOOD","salesChannel":"IFOOD","reference":"44fa3837-bce1-4717-b888-798ded9e3f29","createdAt":"2023-12-05T10:14:40.462Z","total":{"benefits":0,"deliveryFee":6.99,"orderAmount":52.79,"subTotal":45.8,"additionalFees":0},"additionalInfo":{"metadata":{"logisticProduct":"FULL_SERVICE"}},"id":"IFOOD_44fa3837-bce1-4717-b888-798ded9e3f29","containerId":"47C54FD811024ACE9F4D3CD52E785952","delivery":{"mode":"DEFAULT","deliveredBy":"IFOOD","deliveryAddress":{"country":"BR","streetName":"Rua M\u00e1rio Whately","formattedAddress":"Rua M\u00e1rio Whately, 368","streetNumber":"368","city":"S\u00e3o Paulo","postalCode":"05083140","coordinates":{"latitude":-23.534628,"longitude":-46.718062},"neighborhood":"Alto da Lapa","state":"SP","complement":"Apto 84"},"deliveryDateTime":"2023-12-05T10:45:40.462Z","pickupCode":"9327"},"merchant":{"name":"Padaria Villagio","id":"0d22cf29-021d-4d59-afeb-6aa822060e7c"},"version":"0.0.3","orderTiming":"IMMEDIATE","companyId":"2DAD377AB8944304AB214A17CA34EE32","preparationStartDateTime":"2023-12-05T10:14:40.462Z","isTest":false,"refId":"44fa3837-bce1-4717-b888-798ded9e3f29","displayId":"5030","engineName":"IFOODV2","items":[{"unitPrice":28.9,"unit":"UN","quantity":1,"externalCode":"235","totalPrice":28.9,"price":28.9,"imageUrl":"https:\/\/static-images.ifood.com.br\/image\/upload\/t_high\/pratos\/0d22cf29-021d-4d59-afeb-6aa822060e7c\/202303281103_6HS0_i.jpg","name":"Suco a\u00e7a\u00ed 500ml","index":1,"id":"e77955cc-8eb6-4b89-84db-f44ffe29bf88","optionsPrice":0,"uniqueId":"6038474d-2888-4d1d-9ab7-be7252d222b6"},{"unitPrice":2,"unit":"GRAMS","quantity":4,"externalCode":"1349","totalPrice":8,"price":8,"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":2,"id":"d245fa35-c76e-4a71-9204-69608bb929b0","optionsPrice":0,"uniqueId":"0556123c-845f-413b-9269-7902f6dcdef7"},{"unitPrice":8.9,"quantity":1,"externalCode":"7898080640611","totalPrice":8.9,"index":3,"unit":"GRAMS","ean":"7898080640611","price":8.9,"imageUrl":"https:\/\/static-images.ifood.com.br\/image\/upload\/t_high\/pratos\/820af392-002c-47b1-bfae-d7ef31743c7f\/202310121045_4vnpcsl1jh3.jpg","name":"Leite Uht Integral Italac 1l","id":"d800e21d-bdb5-43a6-b4c8-84ba0984eab7","optionsPrice":0,"uniqueId":"47638ceb-f1f0-46d0-9959-50a4fa93a3f3"}],"scheduledAt":"2023-12-05T10:45:40.462Z","customer":{"phone":{"number":"0800 705 6070","localizer":"69805404","localizerExpiration":"2023-12-05T14:14:40.462Z"},"documentNumber":"33943596850","name":"GUSTAVO BRAGA","ordersCountOnMerchant":7,"segmentation":"Cliente Frequente","id":"9826be5e-6f4b-4b11-b9a0-6e9f472c34a9"},"engineId":"3108CAD7500647C185E9594FA5946D9B","actions":[{"createdAt":"2023-12-05T10:14:52.951Z","status":"PLACED"},{"createdAt":"2023-12-05T10:14:53.226Z","user":"updateOrder [EED1]","status":"CONFIRMED"}],"updatedAt":"2023-12-05T10:14:53.387Z","status":"CONFIRMED"} Error: Undefined index: deliveryMethod