
• No PayPal Business account required
• Per user configurable payment emails
• PayPal Refund & Money on Hold Notifications
• PayPal Payment Notifications
• Payment Confirmation message when used invoice command

Invoice Command

Payment Notification


config.yml
YAML:
Debug: true
NotificationChannel: "1000738353605517362"
UserPayments:
"457424552352546818":
Email: [email protected]
Currency: USD
lang.yml
YAML:
InvoiceCreated:
Embeds:
- Author: Discord Payments • Payment Created
AuthorIcon: https://cdn.discordapp.com/emojis/907321710339051600.webp
Description: "> A paypal payment link has been created for {target-mention}."
Fields:
- Name: • Amount Due
Value: "> `{amount} {currency}`"
Inline: false
- Name: • Purchase Agreement
Value: "> By processing the payment you'll also be agreeing to the Terms of
Serivce at <#954370592457510913>"
Inline: false
Footer: "Generated By: {user-tag}"
FooterIcon: "{user-pfp}"
Timestamp: true
Components:
"1":
- Type: Button
Style: link
Link: "{payment-link}"
Label: Pay Here
Emoji: "907321710339051600"
CustomID: ignore
InvoiceComplete:
Embeds:
- Author: Discord Payments • Payment Paid
AuthorIcon: https://cdn.discordapp.com/emojis/907321710339051600.webp
Description: "> {target-mention} has paid the last payment invoice."
Fields:
- Name: 📊 General Data
Value: |-
> **Status:** {payment-status-fancy}
> **Gross:** `{gross} {currency}` | **Fee**: `{fees} {currency}`
> **Profit:** `{profit} {currency}`
Inline: true
- Name: • Product
Value: "> `{item}`"
Timestamp: true
FooterIcon: "{bot-pfp}"
Footer: "{bot-tag}"
Components:
"1":
- Type: Button
Style: Link
Label: Paypal Transaction
Link: https://www.paypal.com/activity/payment/{txn-id}
Emoji: "907321710339051600"
CustomID: ignore
PaymentNotification:
Embeds:
- Author: Discord Payments • Notification Recieved
AuthorIcon: https://cdn.discordapp.com/emojis/907321710339051600.webp
Description: "> `{txn-id}`"
Fields:
- Name: 📊 General Data
Value: |-
> **Status:** {payment-status-fancy}
> **Gross:** `${gross} {currency}` | **Fees:** `${fees} {currency}`
> **Profit:** `${profit} {currency}`
Inline: true
- Name: 🙍 Customer Info
Value: |-
> **Account Status:** {verified-status-fancy}
> **Name:** {first-name} {last-name}
> **Email:** `{email}`
Inline: true
- Title: 🧰 Product
Description: "> **Quantity**: `{quantity}`"
Fields:
- Name: • Memo
Value: "> `{memo}`"
- Name: • Product
Value: "> `{item}`"
Timestamp: true
FooterIcon: "{bot-pfp}"
Footer: "{bot-tag}"
Components:
"1":
- Type: Button
Style: Link
Label: Paypal Transaction
Link: https://www.paypal.com/activity/payment/{txn-id}
Emoji: "907321710339051600"
CustomID: ignore
InvalidPrice:
Embeds:
- Title: Discord Payments • Invalid Price
Description: Please provide a valid price for your invoice.
FooterIcon: "{user-pfp}"
Footer: "{user-tag}"
Timestamp: true
MissingEmail:
Embeds:
- Title: Discord Payments • Missing Email
Description: Your email was not found in the config. Please contact an
administrator if you think this is a mistake.
FooterIcon: "{user-pfp}"
Footer: "{user-tag}"
Timestamp: true
commands.yml
YAML:
Invoice:
Name: invoice
Description: Make a paypal payment link.
Usage: invoice <user-mention> <amount> <item>
Aliases: []
Type: general
Enabled: true
Cooldown: 0
RequiredRole:
- "@everyone"
Arguments:
- Type: user
Name: target
Description: The user to make a payment link for.
Required: true
- Type: integer
Name: amount
Description: The amount to pay.
Required: true
- Type: string
Name: item
Description: The item to pay for.
Required: false
