Skip to content

Commit d68bac5

Browse files
chore: 2022-08-23 release (#422)
* [skip ci] Open PR * chore(firestore-stripe-payments): 0.3.0 release
1 parent 4ed6c4e commit d68bac5

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

firestore-stripe-payments/CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## Version 0.3.0 - 2022-08-23
2+
[feat] Allow configurable minimum instances for `createCheckoutSession` function. [#375]
3+
4+
[feat] Throw an `unauthenticated` Firebase error from `creatPortalLink` function. [#420]
5+
6+
[feat] Add Price object IDs from invoice line items for subscription payments to payments Firestore collection. [#393]
7+
18
## Version 0.2.6 - 2022-05-10
29
[feat] Added Stripe extension events. 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. (#386)
310

@@ -267,7 +274,7 @@ db.collection("products")
267274

268275
Previously, only subscriptions created via Stripe Checkout were synced to Cloud Firestore. By additionally listening to the `customer.subscription.created` event, the extension now also captures subscriptions created via the Stripe Dashboard or directly via the API. For this to work, Firebase Authentication users need to be synced with Stripe customer objects and the customers collection in Cloud Firestore (new configuration added in version `0.1.7`).
269276

270-
[docs] - Add snippet on importing Stripe.js as an ES module when using a build toolchain for your client application (e.g. Angular, React, TypeScript, etc.) to `POSTINSTALL.md`. (#74)
277+
- Add snippet on importing Stripe.js as an ES module when using a build toolchain for your client application (e.g. Angular, React, TypeScript, etc.) to `POSTINSTALL.md`. (#74)
271278

272279
## Version 0.1.6 - 2020-09-10
273280

@@ -390,7 +397,7 @@ type: "one_time" | "recurring";
390397

391398
[feat] - Add support for discounts, coupons, promotion codes:
392399

393-
You can create customer-facing promotion codes in the [Stripe Dashboard](https://dashboard.stripe.com/coupons/create). Refer to the [docs](https://stripe.com/docs/billing/subscriptions/discounts/codes) for a detailed guide on how to set these up.
400+
You can create customer-facing promotion codes in the [Stripe Dashboard](https://dashboard.stripe.com/coupons/create). Refer to the (https://stripe.com/docs/billing/subscriptions/discounts/codes) for a detailed guide on how to set these up.
394401

395402
To show the promotion code redemption box on the checkout page, set `allow_promotion_codes: true` when creating the `checkout_sessions` document:
396403

firestore-stripe-payments/extension.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
name: firestore-stripe-payments
16-
version: 0.2.6
16+
version: 0.3.0
1717
specVersion: v1beta
1818

1919
displayName: Run Payments with Stripe

firestore-stripe-payments/functions/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const stripe = new Stripe(config.stripeSecretKey, {
3535
// https://stripe.com/docs/building-plugins#setappinfo
3636
appInfo: {
3737
name: 'Firebase firestore-stripe-payments',
38-
version: '0.2.6',
38+
version: '0.3.0',
3939
},
4040
});
4141

0 commit comments

Comments
 (0)