Hi im using unity version 2021.3.21 with IAP 4.8. The IAP button used to have a title, description, price text field. But the new IAP button only has a button filed. So how do i get those fileds and hook them up? Would like to set up the price.
Also how does the OnProductFetched work? I only have one Non-Consumable item = NoAds. How do I check if that item have been purchased from google store so that i can update my functions accordingly?
I think i have resolved how I can see that a purchase have been made. From the IAPButtons event OnProductFetched, witch gives product. And checking product.hasReceipt gives the purchase information.
But i still wonder how to get the price text so that it can convert it to all kind of currencys automaticly.
Yes Im also looking for this exact same info. How’s one supposed to do this? There doesn’t seem to be updated documentation 
Hey bro I think I found the answer.
So the 3rd “button function” section is the “on product fetched” section.
So I looked into this and came across this:
https://docs.unity3d.com/Packages/com.unity.purchasing@4.8/manual/CodelessIAPButton.html#handling-onproductfetched
Looks like what we’ve been looking for.
All the best!
ps - Remember to add “using UnityEngine.Purchasing;” to the top of your script.
1 Like
Awesome dude. Thanks, case closed:).
All the best!