[feat] - Added payments
tag to the extension to allow for easier discovery in the marketplace.
[fix] - upgraded the resources to node 18 [#583]
[fix] - updated extension icons
[fix] - updated external services to correct pricing uri configuration (#360)
[feat] - added new secret param type for ext config
[feat] - add Warsaw Cloud Function Location
[fix] - Only one of email or uid.
[feat] - Add support for invoiceItem quantity. (#2)
[chore] Updated naming and upgraded to node18
[fix] Updated icons
[fix] updated appinfo versioning
This extension has been formally transferred to Invertase. See the updated README for more details.
[chore] Added package-lock.json
to version control to prevent installation issues. [#426]
[feat] - Add invoice.paid
, invoice.updated
to permitted webhook events list. #356
[feat] - Add stripeInvoiceUrl
to the invoice object in Cloud Firestore. #132
[feat] - Support invoices in various different currencies for the same email address. Note that this will create a separate customer object for each currency but with the same email address.
[feat] - Add support for default_tax_rates
for the invoice and tax_rates
for the invoice items. Read more details about how to use tax rates in the Stripe docs. #118
await firestore
.collection("invoices")
.doc()
.set({
email: "testr@test.de",
default_tax_rates: ["txr_1HCkCjHYgolSBA35vh6cyHB5"],
items: [
{
amount: 1099,
currency: "usd",
description: "item 1",
tax_rates: ["txr_1HCshzHYgolSBA35WkPjzOOi"],
},
{
amount: 1250,
currency: "usd",
description: "item 2",
},
],
});
[feat] - Add support for transfer_data
to send funds to a connected account upon successful payment.
await firestore
.collection("invoices")
.doc()
.set({
transfer_data: {
destination: "acct_1234",
amount: 2114,
},
email: "testr@test.de",
items: [
{
amount: 1099,
currency: "usd",
description: "item 1",
},
{
amount: 1250,
currency: "usd",
description: "item 2",
},
],
});
[fixed] - Prevent users from specifying both email address and uid, only either one is allowed.
[fixed] - Add validation for Firestore collection param (#31) [changed] - Improved documentation (#30)
[feat] - Add support for an optional quantity
(number) parameter on objects in the items
array, e.g.
{
email: "customer@example.com",
items: [{
amount: 1999,
currency: "usd",
quantity: 2,
description: "my super cool item"
},
{
amount: 540,
currency: "usd",
description: "shipping cost"
}]
}
If omitted, quantity defaults to 1
.
[change] - Extension has been renamed to firestore-stripe-invoices
.
[fixed] - Fixed idempotency key collision for invoice item creation which was causing errors for invoices with more than one item.
Initial release of the firestore-invoice-stripe
extension.