【问题标题】:Google Merchant Key for Android developers outside US and UK适用于美国和英国以外的 Android 开发者的 Google Merchant Key
【发布时间】:2012-12-27 09:05:03
【问题描述】:

根据How do we verify Android in-app billing receipt on the server side?,Android 开发者可以使用 Google Checkout API (https://developers.google.com/checkout/) 在服务器端验证 Android 应用内。 为了充分利用这个 API 的所有功能(http://code.google.com/p/google-checkout-php-sample-code/wiki/Documentation 中有一个很好的 PHP 库),我们需要 Merchant Key,但看起来 Merchant Key 只与网站的 Google Checkout API 相关(不适用于 Android),美国或英国以外的人无法获得此商家密钥。

这是真的吗? Android 开发者无法获取商家密钥(Google Play 开发者控制台表示现在为每个应用单独管理许可证密钥,但我不知道如何设置商家密钥)? 如果不是,我们如何在服务器端验证 Android 应用内?

【问题讨论】:

    标签: android google-checkout


    【解决方案1】:

    您通过使用从开发者控制台获得的公钥验证签名来进行验证。如果您无权访问商家密钥,则无法使用 Google 结帐 API,并且除了在美国或英国注册一家公司之外,您也无能为力。

    【讨论】:

      猜你喜欢
      • 2015-03-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-01-07
      • 2014-03-30
      相关资源
      最近更新 更多