Marketplace
>
createExpressAccountWhenSignUp
xStripe

createExpressAccountWhenSignUp

v
0.0.4
Latest Version
Likes
0
4
Installations
0
1
Views
0
17

Overview

It creates a new Express Account when a new user signs up.

Usage

### How this function works This function will create Stripe Express Accounts for every new user that signs up on your application. ### Requirements * You can only create new accounts if you've signed up for Stripe Connect, which you can learn how to do at https://stripe.com/docs/connect. ### Function details When a new user is created in Firebase, this function will create a new Stripe Express Accounts, and store its info in the collection referenced by the path provided. It will use the Firebase user ID as the id of the stored customer document. For example, for the Firebase user with uid, the function will store its associated customer in STRIPE_ACCOUNTS_COLLECTION_PATH/{uid}. To install this function you need to enter the values of the following environment variables: * STRIPE_SECRET_KEY: Your Stripe secret API key. See https://stripe.com/docs/keys. * STRIPE_ACCOUNTS_COLLECTION_PATH: The collection path where the Stripe accounts are stored. ### Resources * [Stripe Express Accounts](https://stripe.com/docs/connect/express-accounts)
Cost
FREE
Cost
Version
0.0.4
Language
JAVASCRIPT
Created At
Updated At
Workspace
xStripe
Tags
stripe
account
express
© 2023 Function Store