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

Implement Email Notification Service for Completed Donations #24

Open
phyleria opened this issue Oct 3, 2024 · 2 comments
Open

Implement Email Notification Service for Completed Donations #24

phyleria opened this issue Oct 3, 2024 · 2 comments
Assignees
Labels
hacktoberfest help wanted Extra attention is needed

Comments

@phyleria
Copy link

phyleria commented Oct 3, 2024

Set up an email notification service that sends confirmation emails to both the donor and the non-profit organization once a donation is successfully completed. This service should use credentials stored in environment variables and expose an endpoint that the frontend can call upon donation completion.

Acceptance Criteria:

  • Set up an email service.
  • Create a function that sends an email to the donor and another to the non-profit organization with relevant details (e.g., donor's name, donation amount, date, and non-profit name).
  • Store the email service credentials (API keys, email addresses) in environment variables for security.
  • Create an endpoint (/api/send-email) that the frontend can call once a donation is completed, triggering the email service.
  • Ensure that error handling is implemented, and failure notifications are logged.
@phyleria phyleria added hacktoberfest help wanted Extra attention is needed labels Oct 3, 2024
@amosayomide05
Copy link

@phyleria Please assign me to this

@phyleria
Copy link
Author

phyleria commented Oct 4, 2024

Sure, done ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants