如何在应用程序中通过客户端获取带有刷新令牌的订阅的到期日期?

时间:2018-10-18 05:33:12

标签: android in-app-billing in-app-subscription

我想获取订阅的到期日期(在应用程序中)。我遵循了these steps,但是我被困在要说的地方

HTTP/1.1 403 Forbidden
Content-length: 395
X-xss-protection: 1; mode=block
X-content-type-options: nosniff
Transfer-encoding: chunked
Expires: Tue, 02 Oct 2018 11:30:08 GMT
Vary: Origin, X-Origin
Server: GSE
-content-encoding: gzip
Cache-control: private, max-age=0
Date: Tue, 02 Oct 2018 11:30:08 GMT
X-frame-options: SAMEORIGIN
Alt-svc: quic=":443"; ma=2592000; v="44,43,39,35"
Content-type: application/json; charset=UTF-8

{
"error": {
"code": 403, 
 "message": "The project id used to call the Google Play Developer API has 
  not been 
  linked in the Google Play Developer Console.", 
 "errors": [
       {
        "domain": "androidpublisher", 
         "message": "The project id used to call the Google Play Developer API 
         has not been linked in the Google Play Developer Console.", 
         "reason": "projectNotLinked"
       }
     ]
    }
}

我遵循了这些步骤,为什么会出现错误“用于调用Google Play开发者API的项目ID尚未在Google Play开发者控制台中链接”。但是,我仍然收到上述消息。我没有后端服务器,因此我需要在应用程序中获取订阅的到期日期。我被困在这一点上。

0 个答案:

没有答案