Android - Set in -App Purchase For a New Android App

Android - Set in -App Purchase For a New Android App

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 Extension

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

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 Muse mBaaS 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 Muse mBaaS to Compile the Android App for you

1. Go to Android App > Publish.
2. Select the "Muse mBaaS 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 backend 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 Muse mBaaS 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.
    • Related Articles

    • iOS - Set In-App Purchase for a New iOS App

      This tutorial will give you an overview of the global process to set in-app purchases for an iOS app that will be published in App Store Connect for the first time. 1. Activate the In-App Purchase Extension To offer subscriptions to your users and ...
    • Android - Publish a New Android App with In - App Purchase in Google Play (Solo Process)

      This tutorial explains how to publish an Android app that includes in-app subscriptions in Google Play when you are taking care of the publication process of your Android app Solo. Before following this online help instructions, start by: - setting ...
    • In - App Purchase - Product / Subscription Creation

      In-App Purchase extension allows you to sell subscriptions from your native apps via the App Store (Apple) and Google Play Store to monetize your app. The subscriptions will be paid and managed directly by the stores (Apple Store and Google Play ...
    • In - App Purchase - Manage User's Subscriptions

      Once you have set your subscriptions via in-app purchase extension in your apps, you are responsible for your subscribers' account management. Subscriptions are, by default, renewed automatically by the stores. We explain in this online help how to ...
    • In - App Purchase - Settings guide

      Once you've added the extension In-app purchase, a "Settings guide" page is available in your backend. This page is very important, it will help guide you and allow you to access all settings of your extensions easily, along as different resources to ...