I've been working on implementing an in-app billing in Android for the app I'm building. The base app would be free and the in-app apps would come at a price.
I have followed the implementation method that has been documented in the Android Developers website. But still, it says that I can access the app I have created in the Android Market when in unpublished mode on the device, that has the test app. But this doesn't seem to work.
My Current Progress I am able to call the Billing Service from my app for in-app billing successfully. But the reply says that "Error: Item not found" The app I'm requesting from my base app is available in the android market in unpublished state. With two in-app apps in it.
My Question
Kindly help me out!
P.S.: I have checked the other similar questions in the forum. But they aren't helping me!
To help you integrate in-app billing into your application, the Android SDK provides a sample application that demonstrates how to sell standard in-app products and subscriptions from inside an app. To get started, read the documents below or take the Selling In-app Productstraining class.
As Android creates Application only once, we’re guaranteed to have only one instance of Billing. It’s important as some operations performed by it shouldn’t be done more than once (for example, binding to the billing service).
As Android creates Application only once, we’re guaranteed to have only one instance of Billing. It’s important as some operations performed by it shouldn’t be done more than once (for example, binding to the billing service). If your app uses a DI framework Billing class can be marked as a singleton.
No special account or registration is required other than a Google Play Developer Console account and a Google Wallet merchant account. To help you integrate in-app billing into your application, the Android SDK provides a sample application that demonstrates how to sell standard in-app products and subscriptions from inside an app.
Here's the checklist:
I am testing a similar app (free with in-app billing), and I have to publish the items, although the app is still unpublished.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With