I think I accidentally bought something off App Store?

I have a iPhone and this app I have says to get rid of adds pay for premium and now after I clicked it the adds are gone and I have the new stuff like it said? I didn't even enter the password?!What's should I say to my parents? Aldo I thought that in order to buy stuff you have to enter the password it was in app I never was told to enter the password?

I don't really know. If I'm correct, it's probably just a glitch, but just to be safe, check your credit card account.

Even if you did it was probably only a buck.