Paymenter Discord Purchase Roles connects community access with billing. Customers link their Discord account through Discord OAuth, then receive roles based on the Paymenter products and active services they own.
Administrators map products to Discord roles, choose whether roles are removed when services end and configure suspended-service behaviour. Manual and self-service syncs are idempotent, and manually granted roles are never touched. Bot tokens and OAuth secrets are encrypted at rest, OAuth state is validated and Discord failures never interrupt Paymenter requests.
FEATURES • Discord bot configuration with connection test • Encrypted bot token and OAuth client secret • Secure Discord OAuth account linking • Protection against duplicate account linking • Product-to-role mappings • Automatic role grants and optional removals • Configurable suspended-service behaviour • Admin and customer manual sync actions • Queued lifecycle synchronisation • Discord errors never break payment processing • Identify scope only • No Paymenter core or theme files modified
REQUIREMENTS • Paymenter 1.5.x, tested with 1.5.8 • PHP 8.3 or 8.4 • Laravel 12 and Filament 5 • Discord application and bot with Manage Roles permission • Running queue worker