Skip to content
Draft
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions opensaas-sh/blog/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ Because we're using Wasp as the full-stack framework, we can leverage a lot of i
You also get access to Wasp's diverse, helpful community if you get stuck or need help.
- 🤝 [Wasp Discord](https://discord.gg/rzdnErX)

:::caution["Work In Progress"]
We've tried to get as many of the core features of a SaaS app into this template as possible, but there still might be some missing features or functionality.
:::note
We've included many core SaaS features in this template, but not all features may be fully implemented or complete. This is an evolving project, and we welcome your contributions to help improve it!

We could always use some help tying up loose ends, so consider [contributing](https://github.com/wasp-lang/open-saas/blob/main/CONTRIBUTING.md)!
Consider [contributing](https://github.com/wasp-lang/open-saas/blob/main/CONTRIBUTING.md) to help us add new features and polish existing ones.
:::

In the next sections, we'll get our SaaS app started and tour its features. Let's get started!
4 changes: 2 additions & 2 deletions template/app/src/payment/stripe/webhook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ async function handleInvoicePaid(

function getInvoicePriceId(invoice: Stripe.Invoice): Stripe.Price["id"] {
const invoiceLineItems = invoice.lines.data;
// We only expect one line item.
// We only expect one line item.
// If your workflow expects more, you should change this function to handle them.
if (invoiceLineItems.length !== 1) {
throw new Error("There should be exactly one line item in Stripe invoice");
Expand Down Expand Up @@ -204,7 +204,7 @@ function getSubscriptionPriceId(
subscription: Stripe.Subscription,
): Stripe.Price["id"] {
const subscriptionItems = subscription.items.data;
// We only expect one subscription item.
// We only expect one subscription item.
// If your workflow expects more, you should change this function to handle them.
if (subscriptionItems.length !== 1) {
throw new Error(
Expand Down