1) Go to Settings --> General --> Restrictions.
2) Tap Enable Restrictions.
3) Set a Restrictions Passcode.
4) Re-enter the Passcode.
5) Scroll down to In-App Purchases and move the switch to Off.