- Home /
U3DXT Init failed, everything is setup
I can't get the IAP example scene to work. I followed you tutorial video on the subject and it was all very straight forward. But now I get the InitializationFailed error.
I've also made it log the e.error.LocalizedDescription() and it will say: Cannot connect to iTunes Store.
My contracts are in order and the iaps are setup correctly in iTunes connect. I was able to access and buy them when I used the prime31 storekit plugin. ( I switched because I really like the complete package U3DXT is delivering )
sorry to bother you with this! It works perfectly now, see my answer.
Answer by Knik · Jan 21, 2014 at 06:01 PM
So, apparently prime31's plugin doesn't care if an iap isn't cleared for sale in iTunes connect. Changed the iaps to cleared for sale and they started showing up in my app.
Thanks for figuring it out and letting us know. It will definitely help others out.
So I have run into some new issues. The RestoreCompletedTransactions only fires the RestoreComplete event, shouldn't it also fire the transactioncomplete event for the restored items and if not, how do I get the id's of the restored items.
Also, should I make a new question for this?
RestoreCompletedTransactions() should also fire TransactionCompleted events for all purchased non-consumables. We just tried it and it works with our IAPTest example. You can also subscribe to TransactionFailed event to debug it more.
We also experienced problems with sandbox users that were accidentally logged into the live AppStore, and have subsequently had problems. So we created new sandbox users. Hope this helps.
Neither TransactionCompleted or Failed were firing but creating a new testuser fixed it.. Thanks for the quick replies!
Your answer
![](https://koobas.hobune.stream/wayback/20220613131030im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
U3DXT IAP - prevent pending transactions from starting download after Init() 1 Answer
IAP init failed? 3 Answers
Validating IAP Restore with U3DXT 0 Answers
How to get local currency u3dxt 1 Answer