This tutorial will give you an overview of the global process to set in-app purchases for an Android app that will be published in the Play Store for the first time. 


1

Activate the in-app purchase add-on

To offer subscriptions to your users and create a new monetization source for your app, activate the in-app purchase add-on and follow the Settings Guide  to configure in-app purchase in the back office. 

Once this is done, you can publish your in-app purchases in Google Play . 


To do so, you must first generate your Android app.
You have the choice between doing it yourself , or asking GoodBarber to take care of it  for you. 


2

If you choose to generate your Android app solo

1. Go to Android App > Publish .
2. Follow the tutorial to generate and test the ad hoc version of your Android app
After this step, you will be able to install the test version of your Android app in your device.

However, at this point, you won't be able to test the in-app subscription feature yet. You can see the restricted sections but not purchase a subscription.

3. In Android App > Publish , validate as if you were going to publish your app. This will give you access to the production aab file and a link to the instructions on how to set subscriptions for Android.  
4. Click the link to be redirected to Settings > Product Management > Android configuration
5. Follow the step-by-step guide. At the bottom, click the green button "Validate and back to submission process" to be redirected to the Android App > Publish menu again.
6. Follow the online help to Create test user accounts
7. Follow the instructions to download your Android app and test it 


Note: After completing the steps to create your test users, it may take up to 24 hours before Google activates your products. 
You will be able to test the in-app purchase feature after they are activated.


3

If you choose to ask GoodBarber to compile the Android app for you

1. Go to Android App > Publish .
2. Select the "GoodBarber Take Care" option and answer the questions until you get to a form. 
3. Before you fill the form, you must first set up your payments profile .
4. Once your payment profile is set, fill and validate the form. 

This will automatically create a support ticket to request the compilation of your Android app.
Make sure to keep an eye on this ticket: the team will use it in case they need to contact you.

At some point, another support ticket will automatically be generated to request the configuration of in-app purchases.
The team may use this ticket to contact you as well, so keep an eye on it too.

Note : From this moment on and until the team is done setting your in-app subscriptions in the store, the back office will show a message saying the compilation of the Android app is in progress.
You also won't have access to the Update menus until the process is completed. 


Important information: 

The creation of in-app purchases for Android requires accessing to the Play Console with the account owner's credentials.
Make sure to provide the necessary information for the team to access (recovery email or phone number) and check if these options are activated in your Google account.
Again, please make sure to follow the support tickets generated automatically in case the team contacts you, as some urgent information may be needed to finish the process. 


When the team is done setting in-app purchases in the store for you, they will inform you that your app is compiled. 

However, at this point, you won't be able to test the in-app subscription feature yet.

To be able to test your app: 
1. Follow the online help to Create test user accounts
2. Download your Android app and test it 


Note: After completing the steps to create your test users, it may take up to 24 hours before Google activates your products. 
You will be able to test the in-app purchase feature after they are activated.


4

Publish your app in the Play Store

In your back office, go to the menu Android App > Publish  to move forward to the next step.

- If you are taking care of the publication process of your Android app Solo, follow this online help  to publish your app in Google Play.

- If you let GoodBarber take care of the process for you, a new support ticket will be created automatically. Keep an eye on it: as usual, the team may use it to contact you while they're in the process of submitting your app to the store.


More articles