In-app purchases cannot be turned off completely, but to protect yourself from unwanted transactions, you can use the in-app authentication option – this will make the app ask you for your password before making each payment.
To activate the game authentication option, follow the instructions given below:
- Open the Google Play app and click on your profile picture. - Select "Settings" and then "Authentication," then "Require purchase authentication." - Select the preferred verification setting.