PayPal & Stripe Invoice Bot
A Discord bot that creates and sends PayPal and Stripe invoices via slash commands, then automatically notifies the channel when an invoice is paid.
Setup
1.
2. Fill in
3.
Slash Commands
| Command | Options | Description |
|
|
|
How Payment Notifications Work
When you run
1. Creates and sends the invoice to the customer's email and chat.
2. Posts an embed in Discord with the invoice details and a direct pay link
3. Refreshes Stripe/PayPal every 15 seconds in the background (for up to 30 minutes)
4. When payment is detected, automatically sends a green
Invoice Paid! message in the same channel
A Discord bot that creates and sends PayPal and Stripe invoices via slash commands, then automatically notifies the channel when an invoice is paid.
Setup
1.
npm install2. Fill in
config.json with your credentials (see below)3.
npm start — the bot registers slash commands and comes online automaticallySlash Commands
| Command | Options | Description |
|
/stripeinvoice | email, amount, description, name (optional) | Creates a Stripe invoice, sends it to the customer, and posts a pay link in chat ||
/paypalinvoice | email, amount, description, name (optional) | Creates a PayPal invoice, sends it to the customer, and posts a pay link in chat ||
/invoicestatus | provider, invoice_id | Checks the current status of any Stripe or PayPal invoice |How Payment Notifications Work
When you run
/stripeinvoice or /paypalinvoice, the bot:1. Creates and sends the invoice to the customer's email and chat.
2. Posts an embed in Discord with the invoice details and a direct pay link
3. Refreshes Stripe/PayPal every 15 seconds in the background (for up to 30 minutes)
4. When payment is detected, automatically sends a green
