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

Send an email to the admins when a sale is made #364

Open
rajat1saxena opened this issue Jun 7, 2024 · 1 comment · May be fixed by #509
Open

Send an email to the admins when a sale is made #364

rajat1saxena opened this issue Jun 7, 2024 · 1 comment · May be fixed by #509
Assignees

Comments

@rajat1saxena
Copy link
Member

rajat1saxena commented Jun 7, 2024

Whenever a sale is made, both free and paid, an email should be sent to the admins.

Mail details

Subject: Yay! You have made a sale!
Body
Order #: order_id
Date: date
Email: email

Course Title: Course Price
View order

Who to send to

  • To the primary owner i.e. the one who created the course (course.creatorId === user.userId and they should have course:manage permission)
  • To all admins having course:manage_any permission.
@rajat1saxena rajat1saxena converted this from a draft issue Jun 7, 2024
@rajat1saxena rajat1saxena changed the title Send an email when a sale it made Send an email to the admins when a sale is made Jun 27, 2024
@ravirajput10 ravirajput10 self-assigned this Jul 12, 2024
@rajat1saxena rajat1saxena linked a pull request Oct 28, 2024 that will close this issue
@rajat1saxena
Copy link
Member Author

rajat1saxena commented Nov 13, 2024

New scope:

  • The currency code should be prefixed before the amount in Course Price.
  • The formatting should be like
    Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants