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