Search by

esn-cy / esn-membership-manager

wpa-esncy

Provides a framework to accept applications for both Free Passes and ESNcards.

Package info

github.com/esn-cy/ESN-Membership-Manager

Homepage

Issues

Type:drupal-module

pkg:composer/esn-cy/esn-membership-manager

Statistics

Installs: 29

Dependents: 0

Suggesters: 0

Stars: 1

v3.4.0 2026-12-02 20:54 UTC

README

ESN Membership Manager Logo
ESN Membership Manager

Winner of the IT Award at the ESN Awards 2026

ESN Membership Manager is a robust Drupal module designed to streamline the management of memberships within the Erasmus Student Network (ESN). As part of the Omnia umbrella package, it provides a comprehensive framework for handling applications for ESNcards, Free Passes, and Guest Passes, integrating seamlessly with your existing Drupal infrastructure.

Features

  • 🗂️ Applications Dashboard: Centralized officer interface to search, filter, sort, and bulk-process membership applications.
  • ✅ Interactive Review & Photo Cropping: Split-pane review modal with document previews, inline editing, interactive 3:4 face photo cropping, structured rejection reasons, and printable A4 ESNcard photo PDFs.
  • 👤 Member Self-Service Dashboard: Dedicated portal where applicants can track status, fix rejected details or re-upload documents, pay for ESNcards, download wallet passes, and request Guest Passes.
  • 🧩 Pluggable Dashboard API: Companion modules can contribute custom dashboard sections, sidebar navigation items, overview Quick Actions, and interactive form handlers using PHP #[DashboardSection] attribute plugins and reusable UI builders.
  • 🛡️ ID & Status Verification: Automated online identity verification and ESNer status verification (ESN Accounts), with manual document upload fallback.
  • 📧 Mandatory Email & SSO Authentication: Secure 8-digit email verification codes with optional Sign in with Google and Sign in with Apple.
  • 🎟️ Three-Tier Pass System:
    • ESNcard: Standard paid physical card with digital wallet representations and ESNer price differentiation.
    • Free Pass: Unique 32-character digital token (e.g., ESN Cyprus Pass) for verified members at local events.
    • Guest Pass: Single-use, 7-day digital passes allowing verified members to invite friends and family, with configurable instant and special-mobility limits.
  • 🔄 ESNcard Inventory & Backlog Management: Transactional card assignment that automatically queues paid applications when stock runs out, alerts administrators, and fulfills backlogged orders as soon as new cards are added.
  • 📱 Universal Scanner: Built-in web scanner and OAuth2-authenticated API for the Omnia Scanner mobile app to validate ESNcards, Free Passes, and Guest Passes in real time.
  • 🔒 Secure File Access & GDPR Compliance: Private membership:// storage with role-based access control and an automated GDPR cron that deletes verification documents after 14 days and anonymizes PII after 1 year.
  • 📂 Bulk Operations: Efficient management of multiple applications simultaneously, including status updates and batch photo PDF generation.

Integrations

  • 💳 Stripe: Automated ESNcard payment links with standard and ESNer pricing tiers, optional processing fees, and webhook confirmation.
  • 🔐 ESN Accounts: Automated CAS status verification for ESN Volunteers and Alumni.
  • 🆔 Didit: Online identity document verification (API v3) with automatic personal detail extraction.
  • 🔑 Google & Apple Authentication: Optional OAuth / Sign in with Apple authentication for applicants and members.
  • 🎫 Weeztix: Automatically syncs ESNcard numbers (and optionally Free Pass tokens) as promo codes in Weeztix coupon lists.
  • 👛 Google Wallet: Issues ESNcards (with private face photo), Free Passes, and Guest Passes to Google Wallet with screenshot protection and automatic updates/deletion.
  • 🍎 Apple Wallet: Issues .pkpass ESNcards, Free Passes, and Guest Passes to Apple Wallet with live APNs push updates.
  • 📝 Google Sheets: Automatically logs assigned ESNcards (both Stripe and manual sales) to a Google Sheet.

Pass Management

The system accommodates three levels of passes to manage local events and memberships:

Free Passes

  • What is it? A unique, 32-character uppercase hexadecimal token assigned to verified, eligible members (valid for 1 year from approval).
  • How it works: Automatically generated when an application is approved, emailed to the member, and accessible from their Member Dashboard.
  • Usage: Members present their Free Pass QR code (via Google/Apple Wallet or email) at events. Scanning validates the member's status and updates their date_last_scanned.

Guest Passes

  • What is it? Temporary, single-use digital passes (GUEST + 27-character hex token, valid for 7 days) that approved members can request for visiting friends and family.
  • How it works: Requested through the Member Dashboard (/memberships/dashboard), auto-approved or waitlisted based on configured Instant Limit and Special Mobility rules, and managed by officers at /memberships/guest-passes.
  • Usage: Guests present their Aztec wallet pass along with valid ID while arriving with their referrer. Scanning marks the pass as redeemed and removes it from Google Wallet if enabled.

Documentation & Configuration

For full installation steps, Omnia prerequisites, integration setup guides, user manuals, and API documentation, visit the ESN Membership Manager Wiki.

Once installed and after configuring shared credentials in Omnia Settings, configure the module at /admin/config/system/esn-membership-manager.

Minimum Requirements

  • PHP: 8.3 or higher (ext-gd, ext-openssl, ext-simplexml)
  • Drupal: 10 or 11
  • Stripe Account: Required for ESNcard payment processing

Dependencies

For the complete and exhaustive list of dependencies, please refer to the composer.json file.

License

This project is under the Apache 2.0 Licence.