-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: send customer confirmation of cancellation
- Loading branch information
Showing
5 changed files
with
287 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
30 changes: 30 additions & 0 deletions
30
src/services/EmailService/templates/subscription-cancelled.html
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<title>2anki.net - Subscription Cancelled</title> | ||
</head> | ||
|
||
<body> | ||
<p>Hei {{name}},</p> | ||
|
||
<p>This email confirms that your 2anki.net subscription has been cancelled successfully.</p> | ||
|
||
<p>If you cancelled by mistake or would like to resubscribe in the future, you can do so at any time by visiting | ||
<a href="https://2anki.net">2anki.net</a>. | ||
</p> | ||
|
||
<p>Thank you for being a subscriber. If you have any feedback about your experience, please let us know by | ||
replying to this email.</p> | ||
|
||
<p style="margin-top: 2em; color: #666;"> | ||
--<br> | ||
Happy learning,<br> | ||
The 2anki Team<br> | ||
<a href="https://2anki.net/" style="color: #0066cc; text-decoration: none;">2anki.net</a> | ||
</p> | ||
</body> | ||
|
||
</html> |
31 changes: 31 additions & 0 deletions
31
src/services/EmailService/templates/subscription-scheduled-cancellation.html
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<title>2anki.net - Subscription Cancellation Scheduled</title> | ||
</head> | ||
|
||
<body> | ||
<p>Hei {{name}},</p> | ||
|
||
<p>We've received your request to cancel your 2anki.net subscription. Your subscription will remain active until | ||
{{cancelDate}}, after which it will be cancelled automatically.</p> | ||
|
||
<p>You'll continue to have full access to all premium features until then. If you change your mind, you can | ||
reactivate your subscription at any time before {{cancelDate}} by visiting your <a | ||
href="https://billing.stripe.com/p/login/test">billing portal</a>.</p> | ||
|
||
<p>Thank you for being a subscriber. If you have any feedback about your experience, please let us know by | ||
replying to this email.</p> | ||
|
||
<p style="margin-top: 2em; color: #666;"> | ||
--<br> | ||
Happy learning,<br> | ||
The 2anki Team<br> | ||
<a href="https://2anki.net/" style="color: #0066cc; text-decoration: none;">2anki.net</a> | ||
</p> | ||
</body> | ||
|
||
</html> |