-
Notifications
You must be signed in to change notification settings - Fork 621
add pastDue to valid billing statuses #6338
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
Conversation
🦋 Changeset detectedLatest commit: 57048ed The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
7e33903 to
6181784
Compare
size-limit report 📦
|
6181784 to
903b061
Compare
Merge activity
|
2254545 to
fbda5a7
Compare
fbda5a7 to
088b6e2
Compare
088b6e2 to
ed881c0
Compare
ed881c0 to
f9ca054
Compare
f9ca054 to
f2c135f
Compare
f2c135f to
57048ed
Compare

TL;DR
Added
pastDueas a new billing status flag and updated billing-related UI logic to handle this status appropriately.What changed?
pastDueas a new billing status option to indicate when a payment method is on file but has past due paymentspastDueas a valid payment statuspastDuestatus similarly tovalidPaymentpastDueas a valid payment statusHow to test?
pastDuepastDuestatuspastDueaccountsWhy make this change?
To better handle cases where customers have payment methods on file but are experiencing temporary payment issues, allowing them to maintain service access while resolving payment concerns. This provides a more nuanced approach to billing status management than immediately revoking access when payments are delayed.
PR-Codex overview
This PR focuses on enhancing billing status management by adding a new status flag
pastDueand updating various components to accommodate this change. Additionally, it addresses flaky tests by skipping them until they can be fixed.Detailed summary
pastDueto billing status flags inpackages/service-utils/src/core/api.ts.getValidTeamPlanfunction inapps/dashboard/src/app/team/components/TeamHeader/getValidTeamPlan.tsxto handlepastDue.apps/dashboard/src/components/settings/Account/Billing/index.tsx.apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/account-abstraction/layout.tsx.packages/thirdweb/src/wallets/smart/smart-wallet-modular.test.ts,packages/thirdweb/src/auth/verify-typed-data.test.ts, andpackages/thirdweb/src/wallets/smart/smart-wallet-integration-v07.test.ts.