Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please input "productID" value in subscriptionID variable. #166

Open
jjkim0816 opened this issue Jun 22, 2022 · 0 comments
Open

please input "productID" value in subscriptionID variable. #166

jjkim0816 opened this issue Jun 22, 2022 · 0 comments

Comments

@jjkim0816
Copy link

jjkim0816 commented Jun 22, 2022

Error 401: The current user has insufficient permissions to perform the requested operation., permissionDenied

client := playstore.New(jsonKey)
ctx := context.Background()
resp, err := client.VerifySubscription(ctx, "package", "subscriptionID", "purchaseToken")
  • Solution
    "subscriptionID" is not allowed verified-subscription, but "productID" is allowed verified-subscription.
    "productID" is your project on Google Play Console.
@jjkim0816 jjkim0816 reopened this Jun 22, 2022
@jjkim0816 jjkim0816 changed the title modify naming android subscription verify function modify variable naming android subscription verify function Jun 22, 2022
@jjkim0816 jjkim0816 changed the title modify variable naming android subscription verify function please input "productID" value in subscriptionID variable. Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants