The Manual covers how to add Unity IAP into your project:
However, there are some times when you want/need to remove Unity IAP and reinstall it. The process is pretty straightforward, but there are a couple of places for possible issues.
First of all, Unity IAP may not install correctly if there are any compiler errors in your project.
- To start, if you want to remove Unity IAP, there are actually two folders you would need to remove from the Plugins folder:
/Plugins/UnityPurchasing/
/Plugins/UnityChannel/
- After that, you should see the Services window change from “Reimport” to “Import”.
3. Clicking Import will bring up the prompt to install Unity IAP.
- Import the Unity IAP package.
5. You must update the API to fully install the package. (It is recommended to make a backup of your project just in case.)
After that is complete you should see the “Finished updating scripts / assemblies” in your console. (There may still be warnings about deprecated methods, but Unity IAP should still function correctly. And we are working on improving that.)