hi unity community i have this problem. i setup the IAPmanager for in-app purchase, the tutorial is taken here
in editor work fine with no error but when i published in Developer console in internal test, with in-app product with all id and everything setup correctly, when i test it wont show anything… im using unity 2018 LTS… help me please i cant publish my game this way
It’s a fake store in the editor so the purchase is always successful in the editor, but it doesn’t mean the purchase will also successful on the device.
Please provide the device log so we can investigate further. Thanks.
Ok thanks for the reply. I will take the log then. I want to ask you if , for the iap i need the google play service to let this work, or the iap work alone. Anyway i changed my installation directory to c: unity/ becouse the program files folder have problem i’ve seen. And another thing ,when i import from cross platform i get udp error. But i use developer console and not udp inside unity. Im allright with delete the udp?
IAP will work alone, but requires Google Play to be on the device already (most do). Always make a back up before deleting anything. You didn’t post the error so I can’t be of much more help, and I don’t know what “import from cross platform” means. I might suggest you check out the Sample IAP Project here https://discussions.unity.com/t/700293
I mean the simply cross platform iap the (IN-APP Purchase) anyway i’ve done like the video and tried different ways, tried to delete udp and the purchasing folder inside and reimport . The thing is that when it finish import always says udp error. But i dont know if i need those becouse i use google developer console. Anyway i will send the error when i finish to work. I hope you guys can help me. The error i made was i published the game thinking everything was ok. Becouse in test was all ok. The ads are working and the game is complete, but the in app product no, people cant buy coins to progress faster
No i never used the IAP project i used directly the in app purchase like in the video and update the iap. I need to use the sample project to get to work?
Yes everything is done like the video. And the iapmanager.cs is working when i try to buy with button. I really dont understand the problem, im using unity 2018 installed in c:\unity and i using android studio for all the version of android. Can be that my project is using android 11 and maybe is not well optimized? I really dont understand
Unfortunately you haven’t yet posted the exact error, screenshots, device logs or steps to reproduce. You did say “Buy with button” is working, what is not working? Did you get the Sample IAP Project published and working, then compare to yours?
Man thank you from the deep of my heart. The problem was the import that was wrong. I’ve put the plugins folder of the iap project into mine and when i updated he made backup and everything. Now is working. Thanks a lot again for the very good support. You unity team are awesome