我可以获取尚未购买的 Android 应用程序的 Google Checkout 商户商品 ID 吗?
我们正在尝试将 Android Market 集成到我们的服务中,我们需要验证用户是否确实是特定应用程序的所有者,我们需要自动检索该特定应用程序的销售情况。
因此,我们一直在评估 Google Checkout 的通知历史记录 API,它允许我们从服务器查询特定应用程序的过去销售情况。
现在的问题是我们不知道如何获取应用程序本身的 Checkout Item Id。 我们是否可以将 Android 包名称映射到 Google Checkout Merchant Item Id?
我了解购买后可以找到 Google Checkout 商家商品 ID 以及 Google Checkout 上显示的订单。但是,我可以在不进行任何购买的情况下获得 ID 吗?
We are attempting to integrate Android Market into our services and we would need to verify that the user has really is the owner of a particular app, we would need to automate the retrieval of sales for that particular app.
Therefore, we have been evaluating Google Checkout's Notification History API, which allows us to query from our server past sales for a particular app.
Now the problem is that we don't know how to obtain the Checkout Item Id for the app itself.
Is there anyway we can map the Android Package Name to Google Checkout Merchant Item Id?
I understand that it is possible to find the Google Checkout Merchant Item Id after a purchase is made
and the order shown on Google Checkout. However, can I obtain the Id without any purchases made?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否可以使用通知 API 来记录下订单时所需的任何信息,而不是使用历史记录 API? http://code.google.com/apis/checkout/developer/Google_Checkout_XML_API_Notification_API.html
您还可以使用许可证验证库来验证用户确实是应用程序的所有者。请参阅http://developer.android.com/guide/publishing/licensing.html
Instead of using the History API can you use the Notification API and record whatever info you need at the time of the order? http://code.google.com/apis/checkout/developer/Google_Checkout_XML_API_Notification_API.html
You could also use the License Verification Library to verify the user really is the owner of the app. See http://developer.android.com/guide/publishing/licensing.html