Repository navigation
Clarify billing consequences before account deletion - #1025
Merged
Merged
Conversation
Contributor
|
Maple development preview: https://04788e85.maple-ca8.pages.dev Commit: Uses development API, billing, flags and PCR configuration. Cloudflare Access applies. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The account-deletion dialog still tells every paid user to cancel manually, including Apple subscribers whose renewal is already off and card subscribers whose billing is now cleaned up during deletion.
Use the existing billing status to explain the relevant consequences: Apple cancellation stays with Apple, confirmed renewal-off needs no wait for expiry, and owned card subscriptions are canceled automatically. Inspect unselected subscriptions too, keep legacy Team ownership wording conditional, and replace “Proceed anyway” with “Continue deletion.” Known Free accounts no longer get a paid-plan warning solely because billing sets
is_subscribed: true.Replace the dialog's management link with a prominent Cancel button that receives initial focus and dismisses the dialog without starting deletion or acknowledging the warning. Continue deletion remains secondary. The deletion request/confirmation flow, APIs, and database behavior are unchanged.
Production rollout prerequisite: production billing and the enclave need the synchronous account-deletion cleanup before relying on the automatic card-cancellation wording. Master publishes the development web preview and uploads both Maple Dev and regular Maple TestFlight builds; the regular Maple build uses production services, so this prerequisite applies to its deletion testing too. Production web publication remains a separate release/manual step. The maintainer explicitly authorized readying and merging this PR with the review-approval bypass.
Validation: