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: firestore-stripe-payments/PREINSTALL.md
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,10 @@ applications would want to implement using the extension.
35
35
Use a package manager like NPM to install the above package, and use it in conjunction with
36
36
the Firebase Web SDK.
37
37
38
+
### Events
39
+
40
+
This extension emits events, which allows you to listen to and run custom logic at different trigger points during the functioning of the extension. For example you can listen to events when a product has been added via the `product.created` event, or whenever a payment has succeeded through the `invoice.payment_succeeded` event.
41
+
38
42
#### Additional setup
39
43
40
44
Before installing this extension, set up the following Firebase services in your Firebase project:
@@ -56,10 +60,11 @@ This extension uses the following Firebase services which may have associated ch
56
60
- Cloud Functions
57
61
- Cloud Secret Manager
58
62
- Firebase Authentication
63
+
- If you enable events [Eventarc fees apply](https://cloud.google.com/eventarc/pricing).
59
64
60
65
This extension also uses the following third-party services:
description: Occurs whenever a customer's subscription ends.
274
+
- type: com.stripe.v1.tax_rate.created
275
+
description: Occurs whenever a new tax rate is created.
276
+
- type: com.stripe.v1.tax_rate.updated
277
+
description: Occurs whenever a tax rate is updated.
278
+
- type: com.stripe.v1.invoice.paid
279
+
description: Occurs whenever an invoice payment attempt succeeds or an invoice is marked as paid out-of-band.
280
+
- type: com.stripe.v1.invoice.payment_succeeded
281
+
description: Occurs whenever an invoice payment attempt succeeds.
282
+
- type: com.stripe.v1.invoice.payment_failed
283
+
description: Occurs whenever an invoice payment attempt fails, due either to a declined payment or to the lack of a stored payment method.
284
+
- type: com.stripe.v1.invoice.upcoming
285
+
description: Occurs X number of days before a subscription is scheduled to create an invoice that is automatically charged—where X is determined by your subscriptions settings.
0 commit comments