Skip to main content

Zuora billing connector for Google Play Store

Zuora

Zuora billing connector for Google Play Store

Retrieve app data from Google Play Store Connect

To access Google Play Store, you must provide a service account permission to Zuora. This permission will let Zuora connect with Google to manage your app and subscriptions. To integrate your app details with Zuora, you will require the following details from App Store Connect:

  • App Name
  • Package Name
  • Service Account Credentials JSON

Follow these steps to retrieve your Google Play Store credentials:

App name and app package name

  1. Log in to your Google Play Store Console.
  2. Click Dashboard from the main menu.
  3. View and note the list of apps to connect with Zuora.
  4. Note the URL below the app name App Package Name. Alternatively, click View on Google Play to view the App package name. For example, if the Play store URL is https://play.google.com/store/apps/d...android.chrome, its app package name is com.android.chrome

Create service account credentials JSON

To generate service account credentials in JSON, choose a project to link it to Zuora and obtain the credentials as a public/private key pair. Provide access to the service account in the console so that your code uses these credentials to authorize account actions within your app.

Connect to a Google Cloud project

  1. Go to the home page of Google Play Console.
  2. Click API Access from Setup and click Choose a project to link to connect with your Zuora app.
  3. Read the Terms of Service notification and click I Agree.

Create and manage the service account

  1. Click Create New Service Account from the Service Accounts section.
  2. Click Google Cloud Platform from the Create new service account pop-up window.
  3. Select the applicable project(s) from the list and click Create Service Account from the main menu.
  4. Type a desired name in the Service account name field and click CREATE AND CONTINUE.
  5. Choose Pub/Sub Admin from the Select a role drop-down list from the Grant this service account access section, and click ADD ANOTHER ROLE.
  6. Select Monitoring Viewer from the Select a role drop-down list in the Grant this service account access section.
  7. Click Continue and then Done to complete creating the service request.
  8. Choose the relevant service account and click Manage keys from the menu.
  9. Click Create a new key in the ADD Key drop-down list.
  10. Select JSON and click CREATE. Save the JSON private key and return to the console.
  11. Click Done.

Provide access permissions

  1. Click Grant Access for the applicable service account in the Google Play Console.
  2. Choose the appropriate notification checkboxes to let Zuora receive subscription-related information from Google.
  3. Click Invite User to review the pop-up notification and click Send Invite.
  4. Click the applicable service account, select the appropriate app from the Add app drop-down list, and click Apply.

Connect Google Play Store with your Zuora site

  1. Log in to your Zuora site and click Home from the menu.
  2. Click Billing Settings and select App Store Connector.
  3. Select the App Store Configurations tab and click Create Configuration.
  4. Select Google as the Configuration Type from the drop-down and click Next.
  5. Enter the details for the following fields:
    • Audience: Name of the end user.
    • Email: The email address.
    • Type: The type of service account.
    • Project ID: The Google Cloud Project ID.
    • Private Key ID: The ID of the key to be enabled.
    • Private Key: A separate file used to encrypt/decrypt data sent between the server and the connecting clients. For more information, see Create and Manage Service Account Keys.
    • Client Email: The client’s email address.
    • Client ID: The client’s ID to be enabled.
    • Auth URL: The URL to the endpoint that authenticates user credentials.
    • Token URL: The tokens that expire. You can generate token URLs within your web application and append them to the URL in a query string.
    • Auth Provider CERT URL: The URL that authenticates individual users to your org.
    • Client CERT URL: The URL that authenticates the identity of the requester.
  6. Select the appropriate Event Skip Actions from the list.
  7. Click Confirm to complete the Google Play Store Connector integration with your Zuora site.

clipboard_e7f8ae9ffcb32de438cf6d365b4eb1475.png