- Home /
Unity IAP Problem with Prices
Hi,
We have a problem with pricing.
foreach (var product in m_StoreController.products.all)
{
inAppPriceTexts[i].text = product.metadata.localizedPriceString.ToString();
i++;
}
We get prices like this when OnInitialized event called, but problem is when update an item's price on developer console we get the updated value from google purchasing without a problem but above code still gets older value.
So, basically when I set an item value to X first and then to Y, this code still gets the old value,but If I click 'Buy Now' and google purchasing tab shows the new value.
I am having the same problem. Using the '_storeController.FetchAdditionalProducts' with the same products did not seem to help. Did you figure it out?
Answer by biao81 · Jun 03, 2021 at 08:16 AM
Just in case anyone still looking for this issue. I refer to this thread https://forum.unity.com/threads/iap-price.590923/#post-3946333
I confirmed that the price got refreshed after few hours in my case, in internal testing. My app has not gone to production, hence I am not able to tell if the delay is also found in the production release.
Your answer
![](https://koobas.hobune.stream/wayback/20220612161453im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Prime 31 In App Billing Android 1 Answer
How do i Add In App Purchasing Without Being Android Developer 0 Answers
Unity IAP restore Google Play 0 Answers
How to Define in-app purchases on analytics dashboard 0 Answers
In App Purchasing is NOT working!!! 2 Answers