> For the complete documentation index, see [llms.txt](https://docs.candy-smith.com/main/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.candy-smith.com/main/general-info/in-app-setup/unity-in-apps-integration-guide.md).

# Unity In-apps Integration Guide

1. Window->Package Manager and install In App Purchasing package

<figure><img src="https://2423037410-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FixseEfHbM88cpcinnJo4%2Fuploads%2FnpHFZUKGPPRWUH79kTbf%2Fimage.png?alt=media&amp;token=72f4b8d1-7292-4b57-84ab-24215c5b5f51" alt=""><figcaption></figcaption></figure>

2. Add Products to the Google play and Appstore account with the same product ID you have in your game template settings

## Troubleshooting In-apps:

Test in-apps:\
1\. Start the game in Unity and purchase something, if everything ok means Unity IAP work fine and nothing wrong in code.

Test in-apps on device:

2\. To test in-apps use internal test release for Google Play and Testflight with Sandbox user for the Appstore.&#x20;

If the purchasing don’t work on the device, don’t panic, try to get logs from the device and contact us.<br>
