Android Tutorial In App Purchases Setting Tutorial - New Google Play Console - Accurate as of 2020-09-26

Hey everyone,

This is a tutorial on how you can add In App Purchases to your Android App in the New Google Play Console.

1) Add GooglePlayBilling library in your project and the following code in manifest:

Manifest Code:
'In App billing
CreateResourceFromFile(Macro, GooglePlayBilling.GooglePlayBilling)



2) Create the license testers list. This list includes gmail accounts of users that will test your In App Purchases and they will not be charged. You may add obviously your own developer account. You can do it in the main page of the new Google Play Console. See this picture:

1601098244387.png




3) Add the test users that will test your app. This list is different than the previous one because it can contain license testers gmail accounts and non license testers gmail accounts. The first category of e-mails will not be charged, the second will. Obviously you will have to include all License testing's list gmail accounts. See the following picture (first create the test users list and then add the e-mails) :

a) Create the list
1601098513589.png


b) Add test users to your list

1601098634722.png




4) Create the app in Google Play Console but do not upload the APK in release mode.


1601098808896.png




5) Set all the info of the app in the dash board but do not upload again an APK in release mode.

1601099069717.png



6) Go to Closed Testing and select the Alpha Test Track:

1601099165679.png




7) Upload a release to be tested in closed track

1601099367770.png



8) Select countries and testers. Absolutely crucial - in Testers tab check the checkbox of the testers list you have created. See the following pictures (select countries - select testers)

a) Select countries
1601099593060.png



b) Select testers - Check the checkbox of the testers' list you have created!!!
1601099694629.png




9) Create the In App Products or Subscriptions - the procedure is almost the same (you select an identifying code for the relative In App Purchase and you fill the relative info)

1601099816741.png






You are good to go.

You may use this class to add In App Purchases to your project on the fly which will make it as easy as A-B-C to you.
 
Last edited:
Top