Ensure that users receive email notifications for all payment transactions, including successful upgrades, failed payments, and payment confirmation receipts.
Acceptance Criteria
Users receive an email notification after each successful payment transaction.
Users receive an email notification if a payment transaction fails.
The email content contains relevant details such as transaction amount, plan details, and payment method.
Purpose
To provide users with confirmation regarding their payment transactions.
Requirements
Email Template Design: Create email templates for different transaction scenarios (successful payment, failed payment, receipt confirmation).
Backend Email Service Integration: Integrate with an email service (e.g., SendGrid, Mailgun) to handle the sending of these transactional emails.
API for Email Trigger: Develop an API endpoint that triggers the appropriate email based on the payment status (success, failure).
Error Handling: Implement error handling to ensure email notifications are sent only when the transaction is complete and logged.
Expected Outcome
Users will receive timely and accurate email notifications corresponding to their payment transactions.
Description
Ensure that users receive email notifications for all payment transactions, including successful upgrades, failed payments, and payment confirmation receipts.
Acceptance Criteria
Purpose
To provide users with confirmation regarding their payment transactions.
Requirements
Expected Outcome
Users will receive timely and accurate email notifications corresponding to their payment transactions.
Website Link for Payments Information: https://anchor-java.teams.hng.tech/dashboard/admin/settings/payment-information Figma file for Email Template