Skip to content

Commit

Permalink
fix: update relevant events for stripe webook
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdibha committed Dec 27, 2023
1 parent c83a31c commit ea1b322
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/app/src/app/api/webhooks/stripe/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ const relevantEvents = new Set([
"customer.subscription.created",
"customer.subscription.updated",
"customer.subscription.deleted",
"invoice.payment_failed",
"invoice.payment_succeeded",
]);

export async function POST(req: Request) {
Expand Down

1 comment on commit ea1b322

@vercel
Copy link

@vercel vercel bot commented on ea1b322 Dec 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.