Android-Abonnementstatus abrufen, fehlgeschlagen mit 403
Beim Versuch, den Status des Android-In-App-Abonnements (mit Ablaufdatum) abzurufen, wird folgende Fehlermeldung angezeigt:
{
"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."
}
}
Es heißt, die Projekt-ID ist nicht verknüpft. Ich habe folgendes getan:
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)
Nicht sicher, warum die Fehlermeldung wie oben angezeigt wird. Ich habe es mit dem OAuth2-Spielplatz ohne Glück versucht (https://developers.google.com/oauthplayground/)