GitXplorerGitXplorer
s

firebase-subscription-payments

public
286 stars
78 forks
8 issues

Commits

List of commits on branch main.
Unverified
dc9244c5e5c2eaa189e9ff07e44a22b19d7652eb

fix: Checkout session error handling.

tthorsten-stripe committed 4 years ago
Unverified
f7384d0f5e8397d13947e21e4c19c6ea4d13214d

Update Firestore security rules.

tthorsten-stripe committed 4 years ago
Verified
362ab5837aebc642e2be65dab70bf0fe1613b87f

Move configuration values to const and update README. (#3)

mmogmet committed 4 years ago
Verified
d9f09032b94e3326d14de03f2e92c17f555893bb

Extension updates for v 0.1.4 (#2)

tthorsten-stripe committed 4 years ago
Verified
e925343bf84bebb838a952db491a11f08b93be02

Include subscriptions with trialing status. (#1)

tthorsten-stripe committed 4 years ago
Unverified
817e1eaf043a02fc641fa0fe5377fba48001de2f

Initial commit.

tthorsten-stripe committed 4 years ago

README

The README file for this repository.

Run Subscription Payments with the Stripe Firebase Extension

This is an example web client for usage with the Stripe Subscriptions Firebase Extension.

Features:

  • Renders product and pricing details from your Cloud Firestore.
  • Creates Stripe Checkout Sessions to start subscriptions for your customers.
  • Syncs your subscription statuses with Firebase Authentication for access control management.
  • Gives your users access to the Stripe Customer Portal.

Demo

The design for Stripe Checkout and the customer portal can be customized in your Stripe Dashboard branding settings. See this example which is customized to match the Firebase color scheme:

Setup

If you haven't already, install the Firebase CLI:

npm install -g firebase-tools

Install and configure the Firebase Extension

  1. Install the Stripe Subscriptions Firebase Extension.
  2. Configure the extension in your Firebase Console.

Configure the example web client

Run locally

firebase serve --project {your Firebase project name}
# or
npm run dev

Deploy to Firebase Hosting

firebase deploy
# or
npm run deploy

Author