Welcome to AdInMo’s SDK docume...
...
IAPBoost
Unity IAP v5 Integration Guide
16 min
requirements unity 2021 3 lts or newer adinmoplugin v3 14 or above unity iap (upm) v5 x x free adinmo developer account sign up here installation prerequisites 1\ install unity iap v5 open package manager window→ package manager select unity registry from the dropdown (top left) search for "in app purchasing" install version 5 x x (latest stable) 2\ create adinmo developer account sign up for a free account at adinmo developer portal login to your developer portal dashboard navigate to downloads section to access the latest sdk 3\ install adinmoplugin download the adinmoplugin package from your adinmo developer portal import the unitypackagefile assets→ import package→ custom package verify installation check that adinmopluginfolder appears in your assets confirm version ensure it's v3 14 or above in the package documentation integration guide for existing unity iap v5 users (recommended) if you already have unity iap v5 working, this is a simple 2 step upgrade step 1 add compiler symbol open player settings edit→ project settings→ player find script compilation section (scroll down) add to scripting define symbols adinmo unity store v5 click apply and wait for recompilation navigation path step 2 replace your unity iap controller replace your existing unity iap controller with adinmostorecontroller before after your existing purchase handling logic can be adapted to the new event based system complete implementation example required imports full implementation critical product id matching your unity iap product ids must exactly match your adinmo campaign skus unity code adinmo dashboard common matching issues "premium upgrade" vs "premium upgrade"(case mismatch) "premium upgrade" vs "premium upgrade"(separator mismatch) "com yourcompany premium upgrade" vs "premium upgrade"(prefix mismatch) key benefits of unity iap v5 + adinmo event based architecture clean onpurchasependingand onpurchaseconfirmedevents async/await support modern async patterns with await connect() enhanced error handling detailed failedorderinformation automatic purchase tracking built in adinmo analytics integration static helper methods checkalreadypurchased(), getprice(), purchaseitem() troubleshooting common issues 1\ compiler symbol not applied symptom adinmostorecontrollernot found solution add adinmo unity store v5to scripting define symbols restart unity editor after adding the symbol wait for full recompilation 2\ sku mismatch symptom purchases work but don't appear in adinmo dashboard solution double check product id spelling (case sensitive) verify sku configuration in adinmo portal check for hidden characters or extra spaces 3\ purchase not completing symptom onpurchasependingcalled but purchase doesn't finish solution always call confirmpurchase() in onpurchasepending ensure you reward the player before confirming check for exceptions in the purchase processing logic 4\ store connection issues symptom connect()fails or times out solution verify internet connection check unity services configuration ensure proper store setup (google play console/app store connect)