Stripe to Discord: Zapier Payment Alerts
In this article
Yes, you can send a Discord message every time a Stripe payment succeeds by connecting the two with Zapier. This guide walks you through creating a Zap that watches for new Stripe payments and posts the details into a Discord channel via a webhook. You'll need a Stripe account, a Discord server where you can manage webhooks, and a free or paid Zapier plan.
What You'll Need
- A Stripe account with at least one payment (or a test payment) to trigger the Zap.
- A Discord server where you have permission to create webhooks (usually requires "Manage Webhooks" permission).
- A Zapier account (free tier works, but paid plans allow more tasks).
Step-by-Step
- Create a Discord webhook Open your Discord server, go to Server Settings (click the server name at the top left), then Integrations > Webhooks. Click New Webhook, give it a name (e.g., "Stripe Payments"), choose the channel where you want alerts, and click Copy Webhook URL. Save this URL somewhere safe—you'll need it in a moment.
- Start a new Zap in Zapier Log in to Zapier and click Create Zap. You'll be asked to pick a trigger app and event.
- Set Stripe as the trigger app Search for "Stripe" and select it. For the trigger event, choose New Payment (or New Invoice Paid if you use invoices). Click Continue.
- Connect your Stripe account If you haven't connected Stripe to Zapier before, click Sign in and follow the prompts to authorize Zapier to access your Stripe account. If you've already connected, select the account from the dropdown.
- Set up the trigger test Zapier will ask you to test the trigger. It will look for a recent payment in your Stripe account. If you have no real payments yet, you can create a test payment in Stripe's dashboard (use a test card like 4242 4242 4242 4242). Click Test trigger and wait for it to find a payment. Then click Continue.
- Add an action: Discord webhook Now you're on the "Do this" step. Search for "Discord" and select Discord Webhook as the action app. For the event, choose Send a Message. Click Continue.
- Connect Discord Click Sign in and paste the webhook URL you copied earlier. Zapier will recognize the channel. Click Continue.
- Customize the message In the message content field, you can type text and insert data from the Stripe payment by clicking the "+" icon to add fields like Amount Paid , Customer Email , or Payment ID . For example, you could write: You can also set a username for the bot (e.g., "Stripe Bot") and an avatar URL if desired.
- Test the action Click Test step. Zapier will send a test message to your Discord channel. Check that it looks right. If it does, click Continue.
- Turn on your Zap Give your Zap a name (like "Stripe Payment Alerts"), then toggle it on. It will now run automatically whenever a new payment comes through Stripe.
Common Mistakes
- Using the wrong trigger event – If you choose "New Invoice Paid" but you're using one-time payments, the Zap may never fire. Make sure the event matches your Stripe setup.
- Not testing with a real payment – Test payments in Stripe's test mode don't trigger Zapier unless you're using test mode in Zapier too. If you're in live mode, you need a real payment.
- Webhook URL copied incorrectly – Discord webhook URLs are long; a missing character will cause an authentication error. Re-copy and paste carefully.
- Posting to the wrong channel – When you create the webhook, you choose the channel. If you later change the webhook's channel in Discord, the Zap will still post to the old channel. Update the webhook in Discord or create a new one.
Tips
- Use test mode first – In Zapier, you can toggle Stripe to test mode in the trigger settings. This lets you test with fake payments without affecting real data.
- Include a link to the payment – Add a field like Payment ID and format it as a link in Discord using markdown: .
- Filter payments – If you only want alerts for successful payments above a certain amount, add a Filter step before the Discord action. In Zapier, click the "+" between steps and choose Filter.
- Keep messages concise – Discord messages have a 2000-character limit, but you don't need to use it all. Short messages are easier to read on mobile.
Troubleshooting
- No message appears in Discord – First, check the Zap's activity log in Zapier (click on the Zap, then "Zap Runs"). If it shows an error, read the error message. If it says "success" but no message, check that the webhook points to the correct channel.
- Authentication error when connecting Discord – This usually means the webhook URL is invalid or has been deleted. Go back to Discord, copy the webhook URL again, and re-connect in Zapier.
- Trigger test finds no payments – If you're in live mode, you need at least one actual payment. If you're in test mode, make sure you've created a test payment in Stripe (use the test card). Also check that the trigger event matches your payment type.
- Zap runs but message is blank – This happens when the message content field is empty or only contains fields that are empty. Make sure you have text in the message, and that the fields you inserted actually have values in the test data.
Frequently Asked Questions
Can I send a message to a private Discord channel?
Yes, as long as the webhook is created for that channel. You need "Manage Webhooks" permission for the server, but not for the specific channel.
Does this work with Stripe subscriptions?
Yes, if you use the "New Payment" trigger, it will fire for every successful subscription charge. If you want to only alert on the first payment of a subscription, you might need a different trigger or a filter.
Can I include the customer's name in the message?
Yes, if you have the customer's name stored in Stripe. Look for fields like Customer Name or Billing Name in the Zapier field picker.
Is there a delay between the payment and the Discord message?
Zapier typically runs within a minute or two. For real-time alerts, you'd need a direct integration, but for most use cases the delay is acceptable.
Can I send a message to multiple Discord channels?
Yes, you can create multiple Zaps, each with a different webhook, or use a Zapier action to send to multiple webhooks (though that requires multiple steps).
What if I get a 400 error from Discord?
This usually means the message content is invalid—maybe it's too long or contains unsupported characters. Try simplifying the message and test again.