Configure in-app purchases for Android multi-issue apps

Luk Dhondt 04-07-2013 Android

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 : com.twixlmedia.mymagazine
In-app Product ID : com.twixlmedia.mymagazine.issue01

If you follow this naming convention, it will make it easier to manage all your in-app purchases. In-app Possibilities 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 button. Configure In-app Purchase 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.

New Issue

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. Add new issue

Existing Issue

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 to Purchase. Make sure the Product Identifier is exactly the same as in the Google Play Developer Console. Update Issue 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.

Download the free trial of Twixl Publisher

Start using Twixl Publisher immediately, preview the result on your own device, share your creations with a colleague or client, get started!
Need any help? Visit our Learning & Support site.

Download the trial Check out the documentation today

× Free trial/download