Skip to content

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

@rajat1saxena

Description

@rajat1saxena

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions