💡 DiscoHooks – Advanced Discord Notification Extension for Paymenter
DiscoHooks is an advanced notification extension for Paymenter that lets you send rich, customizable Discord webhook messages whenever events happen in your system.
⚠️ Disclaimer: This extension is not affiliated with or related to the <a href="https://discohook.org/" target="_blank" class="text-[var(--vp-c-brand-1)] hover:underline">Discohook</a> tool/service. I just happened to name it DiscoHooks because… well, it's catchy 😎.
🔥 What makes DiscoHooks powerful?
- Event-driven: Easily choose what events trigger a notification — invoice paid, new order, ticket reply, etc.
- Custom fields: Map dynamic model data (like user.name or invoice.formattedTotal) directly into your Discord embeds.
- Ping support: Tag specific roles or users using Discord mentions.
- Smart field helper: Automatically detects:
[LIST]
- Fillable fields
- Accessors (e.g. getFormattedTotalAttribute)
- Relationships (like user.name, ticket.latestMessage)
- Even custom methods like total()
Multi-channel support: Define multiple webhooks for different events or categories — thanks to its CRUD-based config system, you can add as many webhook configurations as you need (yes, even 1000 if you’re wild enough 😆).
[/LIST]
📌 Use Cases
- Notify staff when a user pays an invoice 💸
- Ping a Discord role when a support ticket is updated 🛠️
- Log every new order into a private log channel 🧾
- Setup custom labels, fields, colors, and channels to match your server’s branding or flow 🎨