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

[MNOE-1194] order status change notification emails #744

Open
wants to merge 1 commit into
base: 4.0
Choose a base branch
from

Conversation

ankush86
Copy link

@ankush86 ankush86 commented Jun 22, 2018

hey @ouranos , I have added a controller and endpoint to fetch all the system_events.
I assumed the controller here named as MnoEnterprise :: Concerns :: Controllers :: Webhook :: Mnohub :: ReceiveController and Created SystemEventProcessor which includes logic of sending email for only 'subscription_events'.
I have created mailer_action order_status_changed into system_notification_mailer.
For the notification_on_#{System_event_status} logic, I have assumed that MnoEnterprise :: Product webhook will have the three methods like notification_on_success, notification_on_failure and notification_on_approval. And system_event also have status like success, failure and approval.
please have a look and let me know your valuable feedback

@ouranos ouranos added this to the Opal SoW2b milestone Jun 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants