Learn how to integrate Razorpay with Discord using Pabbly Connect to notify your team about payments. Step-by-step tutorial included. Follow this definitive guide to creating powerful automated workflows with straightforward, efficiency-focused solutions that save valuable time.

Watch Step By Step Video Tutorial Below


1. Accessing Pabbly Connect for Razorpay and Discord Integration

To notify your team on Discord about Razorpay payments, start by accessing Pabbly Connect. If you are a new user, open a new tab and visit Pabbly.com/connect to reach the Pabbly Connect landing page. Here, you will see options to sign in or sign up for free.

Click on the ‘Sign up for free’ button to create your account. Once registered, log into Pabbly Connect and navigate to the workflow builder. This is where you’ll set up the automation process to connect Razorpay and Discord.


2. Setting Up the Trigger with Razorpay in Pabbly Connect

In the workflow builder of Pabbly Connect, the first step is to add a trigger. Click on the ‘Add Trigger’ button and search for Razorpay. Select Razorpay and choose the event as ‘Payment Captured’. This event will initiate the workflow whenever a payment is made.

  • Select ‘Payment Captured’ as the event.
  • Click on ‘Connect’ to generate a webhook URL.
  • Copy the generated webhook URL for use in Razorpay.

After copying the webhook URL, open your Razorpay dashboard. Navigate to the ‘Developers’ section on the left side, then select ‘Webhooks’. Click on ‘Add New Webhook’ and paste the URL you copied from Pabbly Connect. Make sure to select ‘Payment Captured’ as the active event before saving the webhook.


3. Testing the Webhook in Razorpay

Once the webhook is set up in Razorpay, it’s time to test it. Go back to your Razorpay dashboard and navigate to the payment pages. Open a payment page and conduct a test transaction to ensure that the webhook is functioning correctly.

  • Copy the payment page URL and open it in a new tab.
  • Fill in the required details and select UPI as the payment method.
  • Complete the payment to generate a webhook response.

After completing the payment, return to Pabbly Connect. You should see that the webhook response has been successfully captured, indicating that your Razorpay setup is working correctly.


4. Setting Up the Action to Notify Discord

Now that the trigger is working, the next step is to notify your team on Discord. In the Pabbly Connect workflow, click on ‘Add New Action Step’ and search for Discord. Select it and choose the event as ‘Send Channel Message’.

Click on ‘Connect’ to establish the connection with your Discord server. You will need to provide a webhook URL from Discord. To get this, go to your Discord server, access the server settings, and navigate to ‘Integrations’ and then ‘Webhooks’. Click on ‘New Webhook’ to create a webhook for your channel.


5. Finalizing the Discord Notification Message

After creating the webhook in Discord, copy the URL and paste it into Pabbly Connect. You can customize the message to be sent to the Discord channel. For instance, include details like customer name, email, and order ID in the message template.

To ensure the message is dynamic, use the mapping feature in Pabbly Connect. This will allow the message to automatically update with details from each new payment. Once you have set up the message, click on ‘Save and Send Test Request’ to verify that the message is sent successfully to your Discord channel.

After testing, you can check your Discord channel to see if the notification was received. This confirms that your integration is complete, and your team will now be notified of any new payments received through Razorpay in real-time.


Conclusion

In this tutorial, we demonstrated how to use Pabbly Connect to integrate Razorpay with Discord, allowing your team to receive notifications for new payments. This automation enhances communication and keeps your team informed about transactions efficiently.

Ensure you check out Pabbly Connect to create business automation workflows and reduce manual tasks. Pabbly Connect currently offer integration with 2,000+ applications.