I am implementing in-app purchase using https://github.com/anjlab/android-inapp-billing-v3 . But while in app pop up open it shows \"Error Authentication is required.You nee
Improtant ! I've spent a lot of time trying to find out why I'm getting error "Error Authentication is required.You need to sign into your google account". And after a lot of hours I found out - I was trying to access wrong item id from the console. In the developer console subscription item had id "premium" and I've tried to access "premium_version" item. Stupid mistake but error from google is absolutely not informative. Hope this helps
If you are using google samples (like trivial drive) it might happen because of old .aidl file. Receive the latest version to test your application.
Make sure you're logged into the Play Store with the test account. Restart the phone. It should work, at least in my case the restart was necessary.
I was facing the same issue, using the correct Product ID for every In App Purchase item. My app was ready to publish on Google Play (with an APK in Alpha testing), but it wasn't submitted. The solution was to submit the app to review by the Google Play Developer Console team.
Hope it helps you!