Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Stripe steps #6

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/en/docs/SaaS Package/Installation/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ If a plan is no longer available for new users, set its `legacy` property to `tr

## Setup Stripe Integration

For the cloud functions to receive data from Stripe, you will need to create a webhook endpoint with the cloud function webhook URL `https://firebase-location-project-id.cloudfunctions.net/fireactjsSaas-stripeWebHook`. Please make sure you replace the domain with your actual Firebase project cloud function domain. Once the webhook is created, you will get an endpoint secret which is needed in the configuration file.
For the cloud functions to receive data from Stripe, you will need to create a webhook endpoint with Stripe [(go to your Stripe Dashboard > Webhooks > Add an endpoint)](https://dashboard.stripe.com/webhooks/create). This will cloud function webhook URL will take the form of `https://[firebase-location]-[project-id].cloudfunctions.net/fireactjsSaas` (e.g. `https://us-central1-my-app.cloudfunctions.net/fireactjsSaas`). Please make sure you replace the domains with your actual Firebase project details. Once the webhook is created, you will get an endpoint secret (Stripe signing secret `whsec...`) which is needed in the configuration file.

The following Stripe events need to be sent to the endpoint:

Expand Down
Loading