Receive Push Notification Confirming Successful Enrollment
On successful enrollment, the CourseEnrollmentService triggers the Push Notification Gateway to dispatch a confirmation notification to the enrolling user. The notification includes the course name and date, giving the user a lightweight external confirmation they can reference from their device's notification center. This is especially valuable for peer mentors who complete enrollment quickly and then close the app, ensuring they have a durable confirmation without needing to navigate back into the catalog to verify their enrollment status.
User Story
Acceptance Criteria
- Given a user successfully enrolls in a course, when the enrollment write completes, then a push notification is dispatched within a few seconds of confirmation
- Given the push notification is received, when the user views it, then it includes the course name and scheduled date
- Given a user taps the push notification, when the app opens, then they are navigated to the relevant course detail or enrollment confirmation screen
- Given a user has disabled push notifications for the app, when enrollment succeeds, then the in-app success state is still displayed even if the push notification cannot be delivered
Business Value
Push confirmation reduces support queries from peer mentors who are unsure whether their enrollment went through — a common pain point when users close apps immediately after an action. For coordinators monitoring training uptake, the notification also serves as a lightweight audit trail confirming that an enrollment occurred. The feature reinforces trust in the digital enrollment process, which is critical for user adoption among peer mentors who are accustomed to receiving paper-based confirmation of course registrations.