I\'m trying to integrate Android Market in-app purchases into my app, but unfortunately coming across an annoying error every time I try to purchase a real inapp product.
please check if your using same test account mail id or not
This happens when the product is Inactive
on the Play Store, Activate
the product and it should work fine.
"Open Alpha Testing" or "Open Beta Testing" solved the problem for me, after trying all the methods suggested all over the internet.
Go to Android Developer Console -> Your app -> APK then opt in to use Open Alpha/Beta testing. Send the link provided to yourself or testers.
As long as they are logged in with that account on their Android device, they can test it.
Good luck
There could be three possibilities :
If you are testing no need to publish the app. Just save it as a Draft. And Then wait for some time may be 2 to 3 hrs to activate this.
Latest additions (2016/11):
tester must ACCEPT testing request taken from the link taken from Developer Console (section: APK)
app must be PUBLISHED: it is ok to publish in beta/alpha testing; INFO: if you hit "Publish" in Developer Console it will not publish the app on Production unless you propagate it to Production Tab (in section APK);
For my case is need to go to get link from the APK tab's Opt-in URL
. Open a browser and use the link. Then register as a tester in that page.