In-App Purchase Issues
If you're encountering a situation where in-app purchases are not allowed or are not working in your app, Please follow the steps below:
Open the Settings app.
Go to Screen Time > Content & Privacy Restrictions
Click on iTunes and App Store Purchases. You can find this option below the “Content and Privacy Restrictions” toggle.
Tap In-app Purchase
Tap Allow
Note: You need to log in to the Apple ID which was used for the app download.