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

iconator-monitor should send emails to investors if a refund entry is created #20

Open
csmuller opened this issue Aug 28, 2018 · 0 comments
Labels
feature New feature or request

Comments

@csmuller
Copy link
Member

csmuller commented Aug 28, 2018

The monitor needs to send emails not only when a payment is processed successfully but also in case a refund entry is created because of some error.
An example is when an investor makes a payment which does not reach the minimum payment amount and therefore has to be refunded.

It would be nice to have an implementation which is generic on the monitor side, so that the monitor (resp. the MonitorService) can simply provide the Refund Reason and the corresponding message is assembled by the email service. Though this would require the RefundReason enum is known in the email moduel which is an undesirable dependency.

Note: refunds are also created in case the last tier or the overall token limit is overflown by a payment. That refund should be send in the same email as the allocated token amount. Overflowing the last tier or total token limit is a corner case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant