docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Test your IAPs in the Sandbox environment

    If you have a problem upstream, it will not solve itself downstream. Test that your IAPs are working in your generic UDP build, BEFORE you push it to UDP and have it repacked and submitted to the stores.

    Once you built your APK, run it in the emulator or on a real Android device, using the UDP Sandbox Test Environment.

    You can set Sandbox Test Accounts directly from inside the UDP Settings window:

    img img

    Sandbox Test Accounts in [UDP Settings] inspector, for UDP Package (top) and for Unity IAP (bottom)

    Test your IAPs from the emulator or from a real device. If your purchase buttons are unresponsive, or generally if you cannot make a purchase work in the Sandbox environment, something has been implemented incorrectly in your game. Check your IAP implementation and fix it before pushing to the UDP console and then the stores.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)