The answer is: She wants to gain the trust of the soldiers. She wants to gain their trust so she can steal the plans for the bridge. Hope this helps!
Question:
What is Granny's motivation for selling food to the army without getting paid for her time?
Answer:
She wants to gain the trust of the soldiers.