Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add monthly basic plan subscription #220

Open
wants to merge 40 commits into
base: chat-everywhere
Choose a base branch
from

Conversation

1orZero
Copy link
Collaborator

@1orZero 1orZero commented Jan 20, 2024

Tasks remaining:

  • Update the Stripe webhook handler.
  • Update the Stripe Payment Link.
  • Execute the new migration on Staging Supabase.
  • Execute the new migration on Production Supabase (By Jack?). @thejackwu

In this PR, I completely removed the customer.subscription.updated event handler

Why?

  • This hook is not triggered for the one-off plans.
  • For monthly plan cancellations, the subscription is already removed by the customer.subscription.deleted event at the end of the subscription.

I have also implemented a policy to restrict access to the user conversation table only to paid users (non-free plan).

Copy link

vercel bot commented Jan 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
chat-everwhere ✅ Ready (Inspect) Visit Preview Jan 27, 2024 6:04am

@1orZero 1orZero changed the title [WIP]Add monthly basic plan subscription Add monthly basic plan subscription Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants