Run In-App Purchases & Subscriptions with Purchasely

Made by Purchasely

Quickly implement & seamlessly manage your iOS & Android In-App Purchases & In-App Subscriptions with Firebase Authentication & Firebase Firestore.

Install in Console
Works with
Authentication and Cloud Firestore
Source
Source code
License
Apache-2.0
Version
1.0.6
Author
Purchasely

How this extension works

Use this extension to keep track of your mobile apps’ users’ In-App Purchases & Subscriptions easily & seamlessly with Purchasely via Firebase Authentication & Firebase Firestore.
This extension requires you to separately setup (or have already setup) your Purchasely project.

This extension stores your In-App Purchases & Subscriptions using Cloud Firestore and adds Custom Claims for your users’ subscriptions using Firebase Authentication for convenient access control in your application.

Recommended usage

This extension is meant for both native & hybrid mobile applications In-App Purchases & Subscriptions using the app stores’ In-App Purchases APIs.
Currently supported app stores are the Apple App Store, Googe Play Store, Huawei App Gallery & Amazon App Store.

Additional setup

Before installing this extension, set up the following Firebase services in your Firebase project:

  • Cloud Firestore to store In-App Purchases & Subscriptions details.
    • Follow the steps in the documentation to create a Cloud Firestore database.
  • (optional) Firebase Authentication to enable different sign-up options for your users to enable the Custom Claims management.
    • Enable the sign-in methods in the Firebase console that you want to offer your users.

Then, if you haven’t already, in the Purchasely Console:

  • Get your Client shared secret.
    Purchasely Console > Applications > [YOUR APP] > App settings > Backend & SDK Configuration

Billing

This extension uses the following Firebase services which may have associated charges:

  • Cloud Firestore
  • Cloud Functions
  • Firebase Authentication

This extension also uses the following third-party services:

You are responsible for any costs associated with your use of these services.

Note from Firebase

To install this extension, your Firebase project must be on the Blaze (pay-as-you-go) plan. You will only be charged for the resources you use. Most Firebase services offer a free tier for low-volume use. Learn more about Firebase billing.

Starting August 17 2020, you will be billed a small amount (typically less than $0.10) when you install or reconfigure this extension. See the Cloud Functions for Firebase billing FAQ for a detailed explanation.