# Discord 🕹️

{% hint style="success" %}
Wanna get ping on every transaction ? Just put "?ping=true" at the end of your IPN Link.
{% endhint %}

Dope.SKI allows you to receive **instant PayPal payment notifications** directly on Discord. You can choose between two methods:

1. **Using our Discord bot** 🤖
2. **Using a Discord Webhook** 🌐

### 🚀 Method 1: Setup with the Discord Bot

This method is the easiest way to receive notifications in your Discord server.

{% hint style="info" %}
This methods work on server and in direct message.
{% endhint %}

#### **Step 1: Add the Dope.SKI Discord Bot**

🔗 [Click here to invite the bot](https://discord.com/oauth2/authorize?client_id=1344309551868022785\&permissions=3072\&integration_type=0\&scope=bot+applications.commands) to your server.

#### **Step 2: Configure PayPal IPN**

1️⃣ **Log in** to your PayPal account.\
2️⃣ **Go to your settings** (top right corner).\
3️⃣ Click on **"Seller Tools"**.\
4️⃣ Select **"Instant Payment Notification"** (or [click here](https://www.paypal.com/cgi-bin/webscr?cmd=_profile-ipn-notify)).\
5️⃣ **Go to Discord**, in the channel where you want to receive notifications, and execute:

```
/setup  
```

6️⃣ Copy the generated link and paste it into the **IPN URL** field on PayPal.

✅ You’re all set! Now, every time you receive a PayPal payment, you’ll get a notification in Discord.

***

### 🌐 Method 2: Setup with a Discord Webhook

This method allows you to receive notifications via a Discord webhook, without adding our bot.

#### **Step 1: Configure PayPal IPN**

1️⃣ **Log in** to your PayPal account.\
2️⃣ **Go to your settings** (top right corner).\
3️⃣ Click on **"Seller Tools"**.\
4️⃣ Select **"Instant Payment Notification"** (or [click here](https://www.paypal.com/cgi-bin/webscr?cmd=_profile-ipn-notify)).

#### **Step 2: Create a Webhook on Discord**

5️⃣ **Go to Discord**, in the channel where you want to receive notifications.\
6️⃣ Open **channel settings** → Select **Integrations** → Click **Create Webhook**.\
7️⃣ Copy the **Webhook URL** (it will look like this):

```
https://discord.com/api/webhooks/1234567890/ABCDEFGHIJKLMN  
```

8️⃣ **Modify the Webhook URL** by replacing the beginning with our IPN endpoint:

```
https://ipn.dope.ski/ipn/1234567890/ABCDEFGHIJKLMN  
```

9️⃣ Paste the modified link into the **IPN URL** field on PayPal.

✅ Done! Your webhook will now receive real-time PayPal payment alerts in your Discord channel.

***

If you have any issues, feel free to contact us:\
📧 <contact@dope.ski>\
📲 [Telegram Support](https://t.me/modules)\
🎯 Discord: <https://discord.gg/ipn>
