Hello! I get product.metadata.localizedPrice.ToString() and after that i change price in Google Developer Console for example from 1$ to 2$ and product.metadata.localizedPrice.ToString() doesn't change price instantly however if i click to buy this item, i will see changed price (2$). Why product.metadata.localizedPrice.ToString() doesn't change? how can i update or fresfresh product.metadata.localizedPrice.ToString()? Even if i diactivate in Google Dev Console this product, product.metadata.localizedPrice.ToString() still getting price 1$
Does this occur when you restart your app? We only retrieve the price during IAP Initialization (or during a purchase).
Even after restart my app show me price 1$ somewhere in an hour this price changed to 2$ So it should not happen? Code (CSharp): private void ProductInfo(string productId) { try { if (IsInitialized()) { Product product = m_StoreController.products.WithID(productId); // If the look up found a product for this device's store and that product is ready to be sold ... if (product != null && product.availableToPurchase) { label.text = product.metadata.localizedPrice.ToString() + " " + product.metadata.isoCurrencyCode; } } } catch (Exception e) { label.text = e.ToString(); } }
We have no control over this, we are receiving the data as provided by Google. If this is in Alpha/Beta test, it may be expected to take longer for them to update the prices than in Release.