If Google Play doesn't use store.loadProducts() how do you get the item prices?

As the title says, I’m not sure how you would go about retrieving the price for each item from the store if it does not use the loadProducts function.

Do you have to just hardcode this info into the app before release?

What happens if prices change? Or you update the description?

Have I missed something really obvious?

I have the same question and the same problem.

Hello guys, anyone has any clue on this? I’m finishing my game that will use IAP and I need to list the products for android, my code works great for ios but for android I really don’t find any information regarding these product listing. I cannot put a price because the price is localized,… and I don’t have a way to gather it.

Any help is very welcome! 

Thanks!

I believe you have to hard code the values.  You could also have a file hosted on your own server where you maintain your own product/price listing.

Ok thanks Rob, any function in corona to gather the store country? in order to select the right price?

I have the same question and the same problem.

Hello guys, anyone has any clue on this? I’m finishing my game that will use IAP and I need to list the products for android, my code works great for ios but for android I really don’t find any information regarding these product listing. I cannot put a price because the price is localized,… and I don’t have a way to gather it.

Any help is very welcome! 

Thanks!

I believe you have to hard code the values.  You could also have a file hosted on your own server where you maintain your own product/price listing.

Ok thanks Rob, any function in corona to gather the store country? in order to select the right price?

Rob: the In-App billing v3 claims to be able to accomplish this:

The API also introduces a long-anticipated feature: the ability to query in-app product information directly from Google Play. Developers can now programmatically obtain an item’s title, description and price. No currency conversion or formatting is necessary: prices are reported in the user’s currency and formatted according to their locale

I don’t believe we use version 3. 

Ok, do you have an ETA for version 3?

We are not looking to add version 3 in the near future, but you don’t need to show the prices in your app.  When the store pops up, it will show the proper localized price.

See these screen shots:

http://android-developers.blogspot.com/2013/04/new-look-new-purchase-flow-in-google.html

http://developer.android.com/google/play/billing/billing_testing.html#billing-testing-static

I don’t think you don’t need to show localized prizes. This is something you need to tell players when you show up multiple IAP packs. Forcing them to click on each one to see the real prize seems prehistoric.

maxtrix2000: I agree. For us it’s important to show the price difference for each item so the users can compare them and easier decide which one to buy.

Rob: the In-App billing v3 claims to be able to accomplish this:

The API also introduces a long-anticipated feature: the ability to query in-app product information directly from Google Play. Developers can now programmatically obtain an item’s title, description and price. No currency conversion or formatting is necessary: prices are reported in the user’s currency and formatted according to their locale

I don’t believe we use version 3. 

Ok, do you have an ETA for version 3?

We are not looking to add version 3 in the near future, but you don’t need to show the prices in your app.  When the store pops up, it will show the proper localized price.

See these screen shots:

http://android-developers.blogspot.com/2013/04/new-look-new-purchase-flow-in-google.html

http://developer.android.com/google/play/billing/billing_testing.html#billing-testing-static

I don’t think you don’t need to show localized prizes. This is something you need to tell players when you show up multiple IAP packs. Forcing them to click on each one to see the real prize seems prehistoric.