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

Carefully consider balance when deleting an account #8088

Open
novoselt opened this issue Dec 30, 2024 · 0 comments
Open

Carefully consider balance when deleting an account #8088

novoselt opened this issue Dec 30, 2024 · 0 comments

Comments

@novoselt
Copy link
Collaborator

Important starting point: for the logic below "balance" means exactly the balance in whole cents which is shown to the user, regardless of possible fractions and rounding.

  • If the balance is positive, starting from $0.01, show a message to the user "You have $X.xx of CoCalc credit on your account. It has no cash value, but you will be emailed a CoCalc credit voucher for this amount valid for 5 years. You can apply this credit to any account you wish in the future or forward it to someone else."
  • If the balance is negative and Stripe allows processing a charge for this amount, show a request for exactly that charge and a message "Once your payment is processed and your balance becomes non-negative, you can come back and delete your account."
  • If the balance is negative, but too small for Stripe to process, consider forgiving it. As a safety check perhaps require some minimum amount of credit ever posted on this account.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant