You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: