eceb6c9b43
* Add self-service account deletion * Disable access to cancelled accounts & implement Stripe interactions * Add tests * Fix failing tests * Remove cancelled accounts from lists * Fix incorrect redirect * Use _path instead of _url for consistency * Don't track how far the inicieration job got We still want the step tracking so that the job can be interrupted. But, since the scope is idempotent, we don't need to track how far it got. * Specify the exact time when the data will be deleted * Fix crash due to unadvancable cursor * Rename up_for_incineration to due_for_incineration * Regenrate the schema * Fix incorrect path check * Migrate the SQLite schema * Only show the cancel button on cancellable accounts * Check that a subscirption method exists before calling it * Ignore job failures due to missing records when an account gets deleted * Skip sending notifications on cancelled accounts * Use collbacks to integrate * Add a blank line between queue_as and discard_on * Break checks into methods * Inline methods * Rename Account::IncinerateJob * Run migrations * Migrate SQLite
14 lines
482 B
Plaintext
14 lines
482 B
Plaintext
Your Fizzy account "<%= @account.name %>" was cancelled.
|
|
|
|
WHAT HAPPENS NOW?
|
|
|
|
- No one can access the account anymore
|
|
<% if @account.try(:subscription) %>
|
|
- We won't charge you anymore
|
|
<% end %>
|
|
- Everything in the account will be deleted in <%= distance_of_time_in_words_to_now(Account::Incineratable::INCINERATION_GRACE_PERIOD.from_now) %>
|
|
|
|
CHANGED YOUR MIND?
|
|
|
|
If you want to cancel this deletion and restore your account, send us an email to support@fizzy.do as soon as possible.
|