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

api: disable user on first payment failed #2046

Merged
merged 2 commits into from
Feb 18, 2024

Conversation

gioelecerati
Copy link
Member

What does this pull request do? Explain your changes. (required)

User will get a disabled state if the payment fails and there is no successful paid invoice in their last 20 invoices.
A disabled user can't:

  • stream
  • upload vod assets

To stop being disabled a user can:

  • switch back to a free plan
  • put a valid payment method with a paid plan

Specific updates (required)

How did you test each of these updates (required)

Does this pull request close any open issues?

Screenshots (optional)

Checklist

  • I have read the CONTRIBUTING document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.

@gioelecerati gioelecerati requested a review from a team as a code owner February 8, 2024 18:21
Copy link

vercel bot commented Feb 8, 2024

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

Name Status Preview Comments Updated (UTC)
livepeer-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 18, 2024 0:42am

@gioelecerati gioelecerati merged commit 76b3a9c into master Feb 18, 2024
10 checks passed
@gioelecerati gioelecerati deleted the gio/stripe/disable-on-payment-failed branch February 18, 2024 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants