Получить статус подписки Android, не удалось с 403
При попытке получить статус подписки на Android в приложении (с датой истечения срока действия) я получаю следующее сообщение об ошибке:
{
"error": {
"errors": [
{
"domain": "androidpublisher",
"reason": "projectNotLinked",
"message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console."
}
],
"code": 403,
"message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console."
}
}
Он говорит, что идентификатор проекта не связан. Я сделал следующее:
1. Create the project in Google Developer Console.
2. Turn on the Google Android Publisher API.
3. Link the project ID as mentioned in API access page (https://developers.google.com/android-publisher/getting_started)
4. Fill in the packageName, productId (from in app-purchase), purchase_token (from Android app)
Не уверен, почему сообщение об ошибке появляется, как указано выше. Я пробовал с детской площадкой OAuth2 без удачи (https://developers.google.com/oauthplayground/)