Well, I think the title says pretty much everything. Is unity following Android IAB process?
Cheers,
Cai
Well, I think the title says pretty much everything. Is unity following Android IAB process?
Cheers,
Cai
Yes Unity IAP should work with Google’s promo codes. Unity IAP queries all purchases on startup as their guide recommends. Otherwise, buying with promo codes is the same as buying with cash as far as Unity IAP is concerned.
Cool, thanks. That was all I needed to know
I wanted to follow-up on this and ask if the Unity IAP system implements the check for PURCHASES_UPDATED intent as described in the documentation (Promo codes | Google Play's billing system | Android Developers). That is for the use case of when the app is running and the user enters a promo code in the Google Play store, not in the app.
Thanks for the report, it turns out some more work is required on our side to fully support Google’s promo codes. I will update this thread when an updated package is available.
So, is this included in the latest package?
Hi @vinipc ,
There is support for promo codes in the latest package (1.6.0: Unity IAP package 4.12.2 is now available - Unity Services - Unity Discussions)! However there is a bug in it that we’re looking into, related to if a promo code is redeemed while the app is running (the app won’t detect it until it’s restarted). A fix for this should be released shortly.
I immported latest package at this moment and implementation was done same as tutorial.
IAP with credit card works well, but the promo codes redeemed in Google Play store (outside the game) could not be detected after launching the game several times and promo codes also could not be redeemed inside the game due to lacking of “redeem” option in purchasing process.
Any idea about this ? Any extra code needs to be added for “redeem codes” to work properly ?