I am working on studying billing in the application, but I had a problem with the example of Google billing in the application, dungeon.
I already installed the application, added my public key and changed API_VERSION to 1 in makeRequestBundle ().
I already exported and signed the application and uploaded it to Google Play and saved it as a draft with several images and activated apk. I also added both sword_001 and potion_001 as in-app purchases!
Then I installed the signed application on my phone, but when I try to buy either a sword or a potion, I get the error โUnavailable itemโ that you requested is not available for purchase. ". I even tried on another device to make sure that itโs not because the developer cannot buy their own products, and I get the same message on both devices.
What did I miss?
android in-app-billing in-app-purchase
Gatekeeper
source share