In order to avoid in-app purchases, you will need to adjust your Google Play Store settings.
Please try the following:
Access the Google Play Store.
Go to the "Settings" menu.
Look for "User Controls" and activate "Use password to restrict purchases" .
Enter your password and tap confirm when finished.
Any subsequent in-game purchase after you have changed your settings will require you to first input your security password.