Cant get price from IAP Manager
Hello I have set up IAP manager and sandbox user When I click on the buy button in game it works perfectly. But I am trying to get price in the text. When I check from the unity editor it shows $0.01 in console but text is empty
public string GetProducePriceFromStore(string id)
{
if (m_StoreController != null && m_StoreController.products != null)
return m_StoreController.products.WithID(id).metadata.localizedPriceString;
else
return "";
}
this is for price I did not write it it was already there in IAP Manager.
To get price into the text I use this in start method :
Coin.text = IAPManager.Instance.GetProducePriceFromStore("Coin_Pack_1").ToString();
id is true if you are going to say that. How can I get price ?
Answer by ClearRoseOfWar · Dec 08, 2020 at 05:53 PM
I too am facing this issue. Did you by any chance solve this?
Your answer
Follow this Question
Related Questions
Unity IAP : Receipt by user IOS/Android 0 Answers
Don't working purchase on mobile 0 Answers
In-App Purchasing not initialized 0 Answers
can i use Unity IAP in kitkat? 0 Answers
IAP Issue Ongoing for Months 0 Answers