Kiwi User Manual
  • Introduction
  • Configuring Kiwi for your application
  • Analytics and KPIs
  • Sending Push Notifications
  • Making Subscriptions and Purchases
    • Google Play Store
    • iTunes App Store
    • SBS Purchases
    • Mozca Purchases
    • Stripe
    • Gift Card
    • Tim Engineering
    • Zoop Integration (Work in Progress)
    • Internal Subscription
  • Working with Customer Happiness and Zendesk
  • Using Scenarios for A/B testing and remote configuration
  • Using Plugins to trigger custom actions
  • Media Track Integration
  • Authentication
  • Accounts
Powered by GitBook
On this page
  • Creating a Client ID and Client Secret
  • On Google Console
  • On Kiwi
  • On your browser
  • Creating Monetization configurations
  1. Making Subscriptions and Purchases

Google Play Store

PreviousMaking Subscriptions and PurchasesNextiTunes App Store

Last updated 6 years ago

To configure Google Play integration for purchase, follow these steps:

Creating a Client ID and Client Secret

To grant access to Kiwi to your Google APIs follow these steps:

On Google Console

  1. Create the application on if needed.

  2. On the "Credentials" create a new Client ID with "Create another client ID" and register the redirect URI using the following:

https://tools.kwsdk.io/api/1.0/google/access_token/refresh/?appKey=<appKey>

appKey must be replaced by Kiwi's application key, provided on kiwi admin.

On Kiwi

  1. On Monetization, check if you have GOOGLE_PLAY configured and click on "New Subscription Platform" if needed.

  2. Edit the GOOGLE_PLAY plarform configuration and enter the ClientID, Client Secret as created on the previous step.

  3. Add the redirect URL using the following:

    https://tools.kwsdk.io/api/1.0/google/access_token/refresh/?appKey=<appKey>

    appKey must be replaced by Kiwi's application key, provided on kiwi admin.

On your browser

  1. Access the following URL logged in with the same user used to create the app on the Google Console:

    https://accounts.google.com/o/oauth2/auth
    ?scope=https://www.googleapis.com/auth/androidpublisher&response_type=code
    &access_type=offline&redirect_uri=<redirectUri>&client_id=<clientId>

    Replacing redirectUri and clientId with the values generated on Google Console.

  2. Accept the permission request.

  3. Google will make a request to the redirect URI configured and Kiwi will register the access token for the app.

Creating Monetization configurations

  • On Monetization, check if you have GOOGLE_PLAY configured and click on "New Subscription Platform" if needed.

  • Edit the GOOGLE_PLAY platform configuration and enter the ClientID and Client Secret as created on the previous step.

  • Add the redirect URL using the following:

    https://tools.kwsdk.io/api/1.0/google/access_token/refresh/?appKey=<appKey>

    appKey deve ser substituído pela chave da aplicação na base do Kiwi.

  • Click "Save" to complete this part of the process.

  • On the platform listing click on "SKU Configurations" on the actions column for GOOGLE_PLAY

  • Click "New Configuration"

  • Enter the SKU as configured on Google Console

  • Select the Share Type.

    • SHARE_NOTHING the subscription is not shared.

    • SHARE_ACROSS_PRODUCT the subscription can be shared between apps of the same product.

  • Select if the SKU has a trial period and enter the trial period in days.

  • Select the currency code for this SKU and enter the price.

Access your application on

Access your application on

Kiwi Admin
Kiwi Admin
Google Console
Create Client ID