I honestly don’t know the answer. This is a WC thing. You are displaying the order page, the fields are saved against the “order” post. You need to supply the ID of that order post. So what you need to do is look into the WC documentation on how to get the ID of the order being shown.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users