-
- Downloads
Send renewal notification for annual subscriptions (#949)
* Add background job to send renewal notification * Use copy from Marko * Add expiration email in case the user has cancelled * Add queue config * Use correct tag for expiration email
Showing
- config/runtime.exs 4 additions, 1 deletionconfig/runtime.exs
- lib/plausible/billing/plans.ex 4 additions, 0 deletionslib/plausible/billing/plans.ex
- lib/plausible_web/email.ex 28 additions, 0 deletionslib/plausible_web/email.ex
- lib/plausible_web/templates/email/yearly_expiration_notification.html.eex 13 additions, 0 deletions...b/templates/email/yearly_expiration_notification.html.eex
- lib/plausible_web/templates/email/yearly_renewal_notification.html.eex 13 additions, 0 deletions..._web/templates/email/yearly_renewal_notification.html.eex
- lib/workers/notify_annual_renewal.ex 50 additions, 0 deletionslib/workers/notify_annual_renewal.ex
- priv/repo/migrations/20210420075623_add_sent_renewal_notifications.exs 10 additions, 0 deletions...rations/20210420075623_add_sent_renewal_notifications.exs
- test/workers/notify_annual_renewal_test.exs 134 additions, 0 deletionstest/workers/notify_annual_renewal_test.exs
Loading
Please register or sign in to comment