The time has come when our application is passing the ‘real life’ test. However, before we publish our application, we have to check in-app products on our test devices. However, durning my test I got a message “The publisher cannot purchase this item”. How to deal with this?
In the Developer Console under “Settings-License testing”, I have added my email address under “Gmail accounts with testing access”, but this doesn’t change anything…
This is because, developer cannot purchase anything from herself. Google has just designed its system in this way and unfortunately we have to accept it thinking. To fully check your in-app products, you will need to create a test account in the Google Play Developer Console and then install your app on a device where that is the primary account. There is no other way. See more on: http://developer.android.com/google/play/billing/billing_testing.html
Below I have collected a whole list of requirements that are necessary to start the testing process:
If everything has been set up correctly, you will get payment screen. Now you can start testing your in-app products, even though you will not be charged for your purchases :-)
To help us create more free stuff, consider leaving a donation through Patreon where you can vote for the next asset pack and get access to future packs & articles earlier. Sharing knowledge is our passion. Unfortunately, keeping a team of professionals costs a lot that’s why we are constantly taking on new opportunities.
We’ll be publishing any news on the following outlets:
Thanks for reading!