Search code examples
androidgoogle-play-developer-apigoogle-client

`projectNotLinked` Error, Even if I can see its linked on google play console, DEC 2017, API V2


projectNotLinked Error, Even if I can see its linked on google play console!

Details:

Google Play Developer API V2.

GET https://www.googleapis.com/androidpublisher/v2/applications/{package}/purchases/subscriptions/{subscriptionsID}/tokens/{tokens}?key={YOUR_API_KEY}

I have testd on both Google apis-explore and auth playground: https://developers.google.com/apis-explorer/#p/androidpublisher/v2/androidpublisher.purchases.subscriptions.get?... Have finalcial report permission. enter image description here

enter image description here

I have searched through stackoverflow, but answers before 2/3 years ago simply do not work.

How can I solve this problem? What is the problem, any idea? Thanks in advance.


Solution

  • I have solved that problem.

    I was trying to test those on Google APIs-explore and auth playground. But that sad news those does not work.(tested in 2017 DEC, JAN 2018) But google client API (java) works fine. :) That means we cant test those via Google APIs-explore and auth playground.

    And one other Google in-app billing service tests take real credit card and do real charge on the account.

    WE WOULD BE HAPPY if google's in-app billing service team update their docs. And make all APIs working in Google APIs-explore and auth playground, or remove them or keep a notice that those have been archived.

    And last one: A way to test google play in-app billing via a fake/sample credit card. :)

    [UPDATE: Developer's account is charged as a test card (SEP' 2018)]

    Thanks