You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,11 @@
1
+
# UPDATE 2023-10-08:
2
+
This project has now being officially transferred to [Invertase](https://github.com/invertase), who will maintain this extension going forward. Please see [this issue](https://github.com/stripe/stripe-firebase-extensions/issues/524) for more details.
3
+
It is now recommended to uninstall the `stripe/firestore-stripe-payments` extension and install `invertase/firestore-stripe-payments` from the Firebase Extension Hub.
4
+
5
+
Alternatively, you can also use the following link to convert your current installation to the Invertase version
This repository contains the source code for Firebase Extensions that enable payment functionality. Created and tested by Stripe, these official Stripe Firebase extensions are reliable and secure. To learn more about Firebase Extensions, including how to install them in your Firebase projects, visit the [Firebase documentation](https://firebase.google.com/docs/extensions).
@@ -10,9 +18,9 @@ Each directory in this repo contains the source code for the extension and a REA
10
18
11
19
This repository includes the source code for the following extensions:
Copy file name to clipboardExpand all lines: firestore-stripe-invoices/POSTINSTALL.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,9 @@ To test out the extension:
11
11
12
12
1. Go to your [Cloud Firestore dashboard](https://console.firebase.google.com/project/${param:PROJECT_ID}/firestore/data) in the Firebase console.
13
13
14
-
1. If it doesn't already exist, create the collection you specified during installation: `${param:INVOICES_COLLECTION}`
14
+
2. If it doesn't already exist, create the collection you specified during installation: `${param:INVOICES_COLLECTION}`
15
15
16
-
1. Test the invoicing functionality by adding a document to your collection, for example:
16
+
3. Test the invoicing functionality by adding a document to your collection, for example:
17
17
18
18
```js
19
19
{
@@ -32,7 +32,7 @@ To test out the extension:
32
32
}
33
33
```
34
34
35
-
1. Look in your [Stripe dashboard](https://dashboard.stripe.com/test/invoices) for a record of the test invoice.
35
+
4. Look in your [Stripe dashboard](https://dashboard.stripe.com/test/invoices) for a record of the test invoice.
36
36
37
37
**Note:** Stripe only sends an email to your customer when the extension is using Stripe's live mode but not when using test mode. If you configured your extension with a test mode API key, you'll need to [reconfigure](https://console.firebase.google.com/project/${param:PROJECT_ID}/extensions/instances/${param:EXT_INSTANCE_ID}?tab=config) your installed extension with your [live mode key](https://dashboard.stripe.com/apikeys) before actually using the extension for customer invoicing.
38
38
@@ -204,11 +204,11 @@ Here's how to set up the webhook and configure your extension to use it:
204
204
205
205
1. Go to the [Stripe dashboard.](https://dashboard.stripe.com/webhooks)
206
206
207
-
1. Use the URL of your extension's function as the endpoint URL. Here's your function's URL: `${function:updateInvoice.url}`
207
+
2. Use the URL of your extension's function as the endpoint URL. Here's your function's URL: `${function:updateInvoice.url}`
208
208
209
-
1. Select all the invoice events.
209
+
3. Select all the invoice events.
210
210
211
-
1. Using the Firebase console or Firebase CLI, [reconfigure](https://console.firebase.google.com/project/${param:PROJECT_ID}/extensions/instances/${param:EXT_INSTANCE_ID}?tab=config) your extension with your webhook’s signing secret (such as, `whsec_12345678`). Enter the value in the parameter called `Stripe webhook secret`.
211
+
2. Using the Firebase console or Firebase CLI, [reconfigure](https://console.firebase.google.com/project/${param:PROJECT_ID}/extensions/instances/${param:EXT_INSTANCE_ID}?tab=config) your extension with your webhook’s signing secret (such as, `whsec_12345678`). Enter the value in the parameter called `Stripe webhook secret`.
212
212
213
213
The webhook fires whenever the invoice's status updates in the Stripe dashboard. The first time the webhook fires, it finds the relevant document in Cloud Firestore, then creates two fields: `stripeInvoiceStatus` and `lastStripeEvent`. If the webhook fires subsequent times for the same invoice, it will update those same fields.
0 commit comments