Discord
The PaidGoods bot in your server - order claims, support tickets, stock, sale feed and delivery DMs - plus roles on purchase.
The PaidGoods bot
Everything is in Storefront → Discord bot. One PaidGoods bot serves every store; in your server it can carry your store's name and avatar. Buyers use buttons, menus and short forms, not commands.
Connect your server
- Choose Add to Discord. Discord asks you to pick a server you manage and shows the permissions: View Channels, Send Messages, Embed Links, Manage Roles (purchase roles), Create Private Threads and Send Messages in Threads (support tickets), Change Nickname (its name in your server) and Create Invite (adding buyers to the server).
- Back in the dashboard, pick the channels and roles under Channels and roles. Leave one empty to turn that part off.
- Choose Post panel for buyers and Post admin panel for your team. Posting again updates the panel in place.
A server belongs to one PaidGoods store. Disconnect removes the bot from the server; roles already given stay. In test mode, Add to Discord connects a simulated server that works with test-mode orders, so you can try everything without Discord.
What buyers can do
The buyer panel has four buttons. Every reply is visible to that buyer only.
| Button | What happens |
|---|---|
| Claim order | The buyer enters the order ID from their confirmation email and the email they bought with, or a key they received. The bot gives the roles set on each product variant, plus the Customer role if you picked one. |
| My orders | Orders bought with Discord sign-in or claimed here, with status, items and a link to the order page. |
| Stock | What's in stock, ten products per page. Hidden stock counts show "In stock". |
| Get help | Opens a support ticket (see below). |
Claims are protected against guessing. The order number alone is refused; the buyer needs the order ID with the order's email, or a key actually delivered on that order. An order belongs to one Discord account: someone else with the right details is refused, and the same account claiming again only gives its roles again. Five wrong tries lock that account out of claiming for 15 minutes. A key only works on its own when it's at least 8 characters. A key proves one key, not the whole order, so a buyer who claims with a key gets the roles but not the order page link, the buyer's email or a delivery DM (anyone could have seen a key pasted in a channel). Refunded orders and orders with an open payment dispute can't be claimed. Claimed orders lists recent claims; Release takes the roles back and lets the order be claimed again.
Support tickets
Get help asks for a subject and a message. A buyer who hasn't claimed an order adds its order ID and email. The ticket appears in your support desk, and the bot opens a private thread in your Support channel with the buyer added and your Support role mentioned. Staff need Manage Threads on that channel to see every ticket thread.
Messages typed in the thread reach the desk: the buyer's as the customer's, your team's as the store's (marked "Discord ·" with their name). The Reply button does the same through a form. Replies you write in the dashboard, and replies the buyer writes on the website, are posted into the thread. Close ticket closes it in the desk and archives the thread; writing again opens it. If you use your own bot, turn on Message Content Intent for it in the Developer Portal, or typed messages stay in Discord.
Admin panel and /restock
Two checks, both needed: in Discord, the member has your Admin role, Administrator or Manage Server; and in PaidGoods, that Discord account belongs to someone on your team whose role can change products and stock. The link is made when a team member signs in to PaidGoods with Discord once. A Discord moderator who isn't on your team can't add keys or hide products.
- Stock: out of stock and low stock (10 or less), with counts.
- Restock: pick a product that delivers keys, paste keys one per line (or separated by commas), then Confirm. Duplicates in the paste are dropped; keys already in stock stop the import and nothing is added.
- Show or hide a product, confirmed first.
/restock product: file:searches your key products and takes a .txt file (1 MB at most) instead of a paste.
A confirmation can only be pressed by the person who started it, once, within 10 minutes. Keys are stored encrypted until then, and the bot never reads keys from channel messages.
Sale feed
Turn on Post new sales to post each paid order: the Public sales channel gets product names, quantities and the total, and the Admin sales channel gets the full invoice with the buyer's email. Only orders paid after you turn it on are posted. Send test sale posts a sample in both.
Delivery by DM
With Send a DM on delivery, a buyer whose order is linked to their Discord account (bought with Discord sign-in, or claimed with the order ID and email) gets a private message when it's delivered, with a link to the order page. Put keys in the DM adds delivered keys and text, hidden until clicked. If Discord refuses the DM because of the buyer's privacy settings, nothing else changes: the email and the order page have everything.
Name and avatar
Set the bot's name (1-32 characters) and avatar (PNG, JPEG, GIF or WebP, 256 KB at most) for your server only. It needs the Change Nickname permission. This is a paid-plan feature, free for every store for now.
Messages
Messages lists everything the bot sends: buyer panel, admin panel, order claimed, delivery DM, public and admin sale posts, ticket opened, and replies from the desk. Each opens the same editor as notification embeds, with a live preview and Send test. The public sale post only receives product names, quantities and totals, so a buyer's email can't appear there whatever the layout says.
Use your own bot
If you saved your own bot under Configure → Discord (token, client ID and the public key under Slash commands), Storefront → Discord bot offers Or use your own bot: pick its server and everything above works with your bot instead. Stores moved from SellAuth keep their bot this way.
Your own bot settings
Storefront → Configure → Discord holds your own Discord application, purchase-role settings and the classic slash commands.
- In the Discord Developer Portal, create an application and add a bot. Copy the Client ID, Client secret and bot token into Configure → Discord and save.
- Use Invite the bot to your server to add it to your server. It needs Manage Roles, and its role must sit above every role it gives.
- Choose Test connection to check the token and see your servers and roles.
With the PaidGoods bot connected, the server and role pickers on products show its server instead.
Roles on purchase
On a product variant (Pricing & stock → Advanced → Discord auto join & roles), choose Configure Discord servers & roles. Each row is a server, a role and Remove in (Never, 1–3 days, 1–2 weeks, or 1, 3 or 6 months). Servers and roles come from your bot; a role above the bot's own is marked, because Discord won't let the bot give it. Bulk edit → Discord integration sets the same rows on many products at once.
When an order is paid and the buyer signed in with Discord, the bot gives them each role. A buyer who isn't in that server yet is added first, using the permission they gave at Continue with Discord (kept encrypted for up to 7 days, then deleted).
A role with Remove in is taken back that long after it was given. Under Storefront → Configure → Discord → Purchase roles, Take roles back when a subscription ends or an order is fully refunded (on by default, and kept even with no default server) also removes roles when a subscription ends, when an order is fully refunded, and when a chargeback (payment dispute) is opened. Roles taken back for a dispute you later win aren't given back automatically. Another purchase that still gives the same role keeps it. If Discord asks the bot to slow down, the grant or removal waits as long as Discord says and tries again; the wait doesn't use up its retries.
The Default server there is the one buyers join when they sign in with Discord, where slash commands answer, and where coupon role checks look.
Role deliveries lists the latest roles given and removed. If Discord refuses, the row says why and what to change, for example "drag the bot's role above it". Fix it, then choose Retry. Short Discord outages and rate limits are retried on their own, up to five times.
In test mode, roles go to a simulated server, so you can try the flow without a Discord application.
Products only for a role
On a product's Checkout tab, Required Discord role has a server picker and a role picker. Picking a role turns on Force Discord login. Only a buyer whose connected Discord account holds that role in that server can pay for it; the product page stays visible to everyone. At checkout the buyer is asked to use Continue with Discord, and one without the role is told the product is for members with a certain role. Your bot must be in that server, because it is what looks the role up. If Discord can't be reached, the purchase is refused and the buyer is asked to try again.
Through the Checkout API, pass the buyer's discordUserId. Invoices you create by hand are not checked. Test mode uses the simulated server.
Slash commands
Buyers use these in your server. Only the person who used the command sees the reply.
| Command | What it does |
|---|---|
/orders | Their latest five orders here, with status and total. Orders are matched by the Discord account they signed in with at checkout. |
/stock | Which products are in stock. Add a name to search. Products with a hidden stock count show "In stock". |
/roles | Tries again for any role they paid for that wasn't given, for example because they joined the server after buying. |
To turn them on:
- Copy Public key from your application's General Information page into Slash commands and save.
- Copy Interactions Endpoint URL from Slash commands into the same page of the Developer Portal and save there. Discord checks the URL straight away.
- Choose Register commands. Run it again if you change servers.
Every request from Discord is checked against your public key; anything unsigned, altered or older than five minutes is refused. The bot only answers in the Default server set under Purchase roles.
Growth tools and AI drafts
A/B tests, loyalty tiers, pop-ups, buyer alerts, ad conversions, automations and AI-written drafts.
Telegram bot
Your own Telegram bot - buyers browse products, check orders and open support tickets; your team gets alerts, adds stock and answers tickets; buyers join a group or channel after payment.