When you want to add an In-app Purchase to your Kiosk application for Android, you need to configure this at two locations:
- Twixl Distribution Platform : This is the places where you upload your publication that the user will be downloading after purchasing
- Google Play Developer Console : Here you will determine the price for the in-app purchase and add a brief description
We recommend that you start off in the Google Play Developer Console
, because you can't change the product id of an in-app purchase once you've added it. It also takes a few hours until the in-app purchase is fully activated.
Google Play Developer Console
Go to https://play.google.com/apps/publish
and select your kiosk application from the list and go to In-app Products
. The process of adding an In-app Purchase is very straightforward. Select Add new product
and then you will see three options :
- Managed Product : This is the type of product we are going to use. This product can only be purchased once by a customer and once it has been purchased, it remains valid forever.
- Unmanaged product: This type of product can be purchased many times and is not used in a Twixl Publisher multi-issue app. This type is mainly used in games (for example, an extra life or food
- Subscription : lets you sell publications in your app with automated, recurring billing. Subscriptions are going to be supported in Twixl Publisher 3.3, due out soon.
Select Managed Product
and fill in the product id you want the In-app Purchase to have. We recommend that you take your applications id and add an extra string to it. For example :
Android Application ID
In-app Product ID
If you follow this naming convention, it will make it easier to manage all your in-app purchases.
The next big step is to determine the price of your in-app purchase. It's possible to set a different price for every country, but in 99% of the cases you can use the Auto-convert prices now
You are now ready to save this In-app Purchase. You can do this by selecting Inactive
at the top of the page and change it to Activate
. By doing this, you also automatically save the page.
Twixl Distribution Platform
Now it's time to head over to the Twixl Distribution Platform
Select the correct application from the list and select Add Issue.
Fill in the title and description of the issue (you can use the same title as in the Google Play Developer Console). When filling in the Product Identifier make sure it's exactly the same as in the Google Play Developer Console
. This product identifier will map the issue with the in-app purchase in Google Play. If the product identifier is not the same, your issue will not be visible in the Kiosk you created.
Once you have selected Purchase
as Issue Type, you can select Add
If you have already created a free issue you also can convert it to a paid issue. Navigate to the issue and select Update Issue.
The only thing you have to do is change the Issue Type from Free
. Make sure the Product Identifier is exactly the same as in the Google Play Developer Console
When you now open your multi-issue app, the issue should appear and the button should say Buy 3.99.
Tweet this article: Configure in-app purchases for Android multi-issue apps
Share this post to your network.