To prevent you from any accidental In-App Purchases, you can set a password that will need to be entered before finalizing a purchase.
■ How to set your Google Play password for purchases
- Run the Google Play Store → Menu → Settings → Require Authentication for Purchases → Select "For all purchases through Google Play on this device" → Confirm password