Skip to content

TBD: Automated ticket payment reminder emails - #2174

Draft
maebeale wants to merge 1 commit into
mainfrom
maebeale/payment-reminders
Draft

TBD: Automated ticket payment reminder emails#2174
maebeale wants to merge 1 commit into
mainfrom
maebeale/payment-reminders

Conversation

@maebeale

@maebeale maebeale commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

🤖 suggested review level: 5 Inspect 🔬 scheduled job that sends registrant emails; dedup, windows, and mailer content warrant a close look

What is the goal of this PR and why is this important?

  • Automated ticket payment reminder emails: one week before the deadline, one day before, and once after it passes if a balance is still owed. Builds on the events.payment_due_deadline column added in Add ticket payment due date to events #2173.

How did you approach the change?

  • EventPaymentRemindersJob (daily via config/recurring.yml) scans paid events with an outstanding, active registration and sends through the existing CreateNotificationNotificationMailerJob path, so each reminder is deduped by notification kind and logged in the person's communication history.
  • Three new notification kinds + one EventMailer#event_payment_reminder action (html/text views), mailer previews, and two Event query scopes.

Anything else to add?

  • Reminders go to any active, not-paid-in-full registration on a paid event with a deadline set — including buddy-payment (someone_else_will_pay) registrants, since until we can confirm the payer's intention an unpaid balance still warrants a reminder.
  • The overdue reminder is one-time and bounded to a 30-day lookback so deploying the feature doesn't blast long-past deadlines.

Base automatically changed from maebeale/payment-due-reminders to main August 12, 2026 02:44
EventPaymentRemindersJob (daily via config/recurring.yml) emails registrants with
an outstanding balance a week before their event's payment deadline, the day
before, and once after it passes. Sends flow through CreateNotification →
NotificationMailerJob, so each is logged in the person's communication history
and deduped by notification kind. Adds EventMailer#event_payment_reminder + views,
three notification kinds, mailer previews, and Event query scopes.

Stacked on the payment-due-date PR (needs events.payment_due_deadline).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@maebeale
maebeale force-pushed the maebeale/payment-reminders branch from b2fee66 to 1b789bf Compare August 12, 2026 02:46
@maebeale

Copy link
Copy Markdown
Collaborator Author

@jmilljr24 what do you think in general about going down the automated email reminder path?

@maebeale maebeale changed the title Automated ticket payment reminder emails TBD: Automated ticket payment reminder emails Aug 12, 2026
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.

1 participant