gpt4 book ai didi

android inapp 以本地货币购买产品价格

转载 作者:塔克拉玛干 更新时间:2023-11-02 22:38:43 26 4
gpt4 key购买 nike

是否可以从应用本身获取以本地货币表示的产品价格。例如,如果我通过 Google Play In App billing 以 1 美元的价格销售 Product1。来自英国的客户点击按钮购买产品,Google Play 上的价格以英镑显示。我能否在应用程序中从 Google Play 获取本地化价格,以便以客户自己的货币向其显示?

最佳答案

应用内结算 v3 声称能够做到这一点:

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

来源:http://android-developers.blogspot.com/2012/12/in-app-billing-version-3.html

关于android inapp 以本地货币购买产品价格,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12689329/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com