These are some possible reasons that may block you from purchasing:
- You're offline or having connectivity issues that prevent a connection with the App Store.
- Your Apple ID does not has a valid form of payment (e.g., a Credit Card)
- In–App Purchases are disabled (Settings → General → Restrictions → In–App Purchases).
- The App Store itself is offline or isn't operating as expected (very rare).