php - Error when trying to validate In-app purchase at Google Play -


i try make validation of purchases on server, can't make request google play android developer api. after request shows one:

error calling https://www.googleapis.com/androidpublisher/v1.1/applications/my.app.id/inapp/my_in_app_purchase/purchases/purchase_token: (403) forbidden

if make validation of purchase test form in developers console, ok , google api send response.

requests other api (for example books api) works fine.

to work api use google apis client library php. authorization goes service account. in developers console access google play android developer api on.

ok found solution!

you must connect api app. must go google play publish page (https://play.google.com/apps/publish) , invite user service account email in settings->user account & rights->invite new user , give privileges of "view financial reports".

thanks works me, luck!


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -