Discord Link Extension

Link Discord accounts to Paymenter users with OAuth integration, role management, and ticket DM notifications.

BuiltByOtte December 01, 2025

Thank you for your purchase!

Installation

Step 1: Upload Extension Files

Upload the DiscordLink extension files to your Paymenter installation:

																																													/var/www/paymenter/extensions/Others/DiscordLink/
																																												

Upload all DiscordLink files to extensions/Others/DiscordLink/ using SFTP or your preferred file transfer method.

Step 2: Enable Extension

Enable the extension in your Paymenter admin panel:

																																													Admin Panel → Extensions → Others → DiscordLink → Enable
																																												

The extension will automatically run database migrations when enabled.

Configuration

Configure Discord OAuth

Set up Discord OAuth for account linking:

  1. Go to Discord Developer Portal
  2. Create a new application:
Applications Make Bot
  1. Go to OAuth2 → General and copy your Client ID and Client Secret
botoverview copysecrets
  1. Add redirect URI: https://yourdomain.com/discord/oauth
add redirect add redirect url
  1. Enter the Client ID and Client Secret in the extension configuration
fill in secrets Important: Replace yourdomain.com with your actual domain name.

Configure Discord Bot

To enable role management and DM notifications, set up a Discord bot:

  1. In your Discord application, go to the Bot section
bot tab
  1. Click on reset token and copy the bot token
click on reset token click on copy token
  1. Invite the bot to your server
  2. Copy your Server (Guild) ID:

- Enable Developer Mode in Discord (User Settings → Advanced → Developer Mode)

- Right-click your server → Copy Server ID

Copy guild token
  1. Enter the bot token and guild ID in the extension configuration
fill in guild token and bot token

Configure Extension Settings

After enabling, configure the extension settings:

Setting Description
Enable Service-Based Role Automatically assign Discord roles to users with active services
Discord Role ID for Active Services The role ID to assign (right-click role → Copy ID in Discord)
Include Free Services Assign role to users with free services (price = 0)
Include Paid Services Assign role to users with paid services (price > 0)
Enable Ticket DM Notifications Send Discord DMs for ticket events
Default Notification Events Select which events are enabled by default for new users
Customize Notification Messages Configure friendly messages for each event type

Usage

For Users

  1. Go to Account → Discord Link
  2. Click "Link Discord Account"
  3. Authorize the application on Discord
  4. Configure notification preferences

For Administrators

  • View all linked Discord accounts in Admin Panel → Discord Links
  • View notification history in Admin Panel → Discord Notification History
  • View role assignment history in Admin Panel → Discord Role History
  • Configure default notification events and messages in extension settings

Need Help?

Join our Discord Server and open a ticket for support.

© 2025 Discord Link Extension - BuiltByOtte . All rights reserved.