Change hook_farm_delivery_order_items() to hook_farm_delivery_orders(). Return an array of order ids.