Cocoon (Android) - How to test InApp Products (IAP) without paying!

1

Stats

2,779 visits, 3,666 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 11 Mar, 2016. Last updated 19 Feb, 2019

About

It's very important to test and debug the game as long as possible. But how to test InApp Products without getting charge? Well it's pretty simple :)

Google Developer Console

Firstly you will need a new Tester Account. So create a new Google Account over here.

Create a Google Account

Note to use a diffrent email as in your Google Developer Account!

Once you got the Tester Account add the mail to to your "License Tester" section. You find this section in your Google Play Dev. Console "Settings".

Alpha/Beta

Then upload your game in either the Alpha or the Beta section.

Please note that you must have included the "Billing" permission in the last uploaded APK file. This permission is included automatically when the "CocoonInApp" plugin is included in your C2 project.

Create ID's

Once your game has been uploaded to the Store you can create new Products for it. Create as many products as you need for your game and include them in your game. Once your game is ready for testing, build it again and upload it as well to Alpha/Beta.

Realease the game

Now you can release your game (let the APK file still in Alpha/Beta!!!!) Just add all needed information and publish the app. Then it will take a few hours till your beta link will be shown.

Open this link and click on "Become Tester". After that download the game from the store. This is important, then otherwise the IAP will not work (Error: You are not signed in to your Google Accoutn).

Test

Now you can test your IAP.

You will not be charged for any purchases! Just check if there is a note like "Testing, you will not be charged for this purchase" (translated from german)

Cocoon - Game Store Template

We over a complete Game Store with InApp Purchases and in-game Coins over here!

Feel free to check it out.

Cocoon - Game Store (IAP + Coins)

You can test our demo here: Test our Game Store demo!

  • 0 Comments

Want to leave a comment? Login or Register an account!