You never have to pay for a passport to get passport photos! You need such photos before you ever apply for a passport - or a visa, or other purposes.
You can get passport photos at AAA (the auto club), and if you're a member, you get a discount. Very reliable, quality service. Walgreen's often has passport photo services, so call them & ask hours, etc. Or you can go to a professional photographer, but of course that's a costly option. You might also find passport photo services at other drug stores, perhaps larger Walmarts (SuperWalmart) if they have a photo service, and any good travel agent knows where you can get passport photos in your city/town.