Subscription verification (server side) doesn't work
up vote
0
down vote
favorite
I need to verify the in-app purchase (subscription) receipt from the server side. I set up a service account via Google Developer Console and use credentials to call subscriptions get (https://developers.google.com/android-publisher/api-ref/purchases/subscriptions/get) endpoint. But the endpoint returns: "Error: The current user has insufficient permissions to perform the requested operation."
I gave service account all the permissions but still get this error. The info I find on web is scarce and very outdated, none of the solutions seem to work.
Does anyone know the solution to this problem?
google-api google-play in-app-purchase
add a comment |
up vote
0
down vote
favorite
I need to verify the in-app purchase (subscription) receipt from the server side. I set up a service account via Google Developer Console and use credentials to call subscriptions get (https://developers.google.com/android-publisher/api-ref/purchases/subscriptions/get) endpoint. But the endpoint returns: "Error: The current user has insufficient permissions to perform the requested operation."
I gave service account all the permissions but still get this error. The info I find on web is scarce and very outdated, none of the solutions seem to work.
Does anyone know the solution to this problem?
google-api google-play in-app-purchase
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I need to verify the in-app purchase (subscription) receipt from the server side. I set up a service account via Google Developer Console and use credentials to call subscriptions get (https://developers.google.com/android-publisher/api-ref/purchases/subscriptions/get) endpoint. But the endpoint returns: "Error: The current user has insufficient permissions to perform the requested operation."
I gave service account all the permissions but still get this error. The info I find on web is scarce and very outdated, none of the solutions seem to work.
Does anyone know the solution to this problem?
google-api google-play in-app-purchase
I need to verify the in-app purchase (subscription) receipt from the server side. I set up a service account via Google Developer Console and use credentials to call subscriptions get (https://developers.google.com/android-publisher/api-ref/purchases/subscriptions/get) endpoint. But the endpoint returns: "Error: The current user has insufficient permissions to perform the requested operation."
I gave service account all the permissions but still get this error. The info I find on web is scarce and very outdated, none of the solutions seem to work.
Does anyone know the solution to this problem?
google-api google-play in-app-purchase
google-api google-play in-app-purchase
asked Nov 9 at 13:49
GiedriusT
10817
10817
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53226977%2fsubscription-verification-server-side-doesnt-work%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password