If in-app products are created before granting users access or linking Google Cloud Project to the service account, it may cause problems with the receipt validation using Google Play Developer API. Google Play Developer API can return the following error "The current user has insufficient permissions to perform the requested operation."
When encountering this issue, open the In-app products or Subscription tab respectively on the Google Play Console and make some updates. For example, edit the product description and save it.
In order to create an in-app purchase navigate to Google Play Developer Console and select the 'All apps' tab. Then select your app from the list.
Select Products. You can select either In-app products or Subscriptions.
1. In-app products
Let's choose the In-app products tab. Click the Create product button. You have to provide Product ID, Name, and Description.
Please note you can’t change the product ID after the product has been created.
Set the price at the bottom of the page and apply changes. Then click Save.
Once you have created a product, it has an Inactive status. Click the Activate button.
Let's choose the Subscriptions tab. Click the Create subscription button. You have to provide Product ID, Name, Description, and Price details.
You may want to customize Subscription options like Free trial, Introductory price, Grace period, and Resubscribe option.
Once you have created a subscription, it has an Inactive status. Click the Activate button.
Updated 5 months ago