Learn how to integrate Razorpay with Slack to receive failed payment notifications using Pabbly Connect. Step-by-step tutorial for seamless automation. Discover how to seamlessly connect your essential tools through accessible instructions that make powerful automation available to professionals at every skill level.

Watch Step By Step Video Tutorial Below


1. Accessing Pabbly Connect for Integrating Razorpay and Slack

To get started with receiving Razorpay failed payment notifications on Slack, first, you need to access Pabbly Connect. This platform serves as the central hub for creating your automation workflows. You can reach it by visiting Pabbly.com/connect. If you are a new user, sign up for a free account. Existing users can simply log in to their dashboard.

Once logged in, click on the blue button labeled ‘Create Workflow’. This is where you will begin setting up your automation. You can name your workflow something descriptive like ‘Get Slack Notifications When a Razorpay Payment Fails’. This initial setup is crucial for organizing your automation tasks effectively.


2. Setting Up the Trigger for Razorpay Payment Failures

In this section, you will configure the trigger event in Pabbly Connect to monitor Razorpay for failed payments. Select Razorpay as the first application in your workflow. For the trigger event, choose ‘Payment Failed’. This selection ensures that your automation will activate whenever a payment fails in Razorpay.

  • Select Razorpay as the trigger application.
  • Choose ‘Payment Failed’ as the trigger event.
  • Copy the webhook URL provided by Pabbly Connect.

After copying the webhook URL, navigate to your Razorpay dashboard. In the settings section, locate the ‘Webhooks’ option and click on it. Here, you will add a new webhook by pasting the URL you copied from Pabbly Connect. This step is essential for linking Razorpay with your automation workflow.


3. Testing the Razorpay Integration with Pabbly Connect

Next, you will need to test the integration you just set up in Pabbly Connect. This involves simulating a failed payment in Razorpay to ensure that the webhook captures the event correctly. To do this, initiate a payment using dummy details, and intentionally fail the transaction.

  • Use a test product and proceed to checkout.
  • Enter dummy customer details for the payment.
  • Complete the payment process with test card details that are designed to fail.

Once the payment fails, return to Pabbly Connect and check whether the data from Razorpay has been captured. You should see the payment status marked as ‘failed’, along with relevant customer details. This confirms that the integration is functioning as expected and that Razorpay is communicating with Pabbly Connect.


4. Configuring Slack to Receive Notifications

Now that you have confirmed that Razorpay is sending data to Pabbly Connect, the next step is to set up Slack to receive notifications about failed payments. In Pabbly Connect, add Slack as the action application. Choose the action event as ‘Send Channel Message’. This will allow you to send a message to a designated Slack channel whenever a payment fails.

Select Slack as the action application. Choose ‘Send Channel Message’ as the action event. Connect your Slack account to Pabbly Connect by providing the necessary permissions.

After connecting Slack, specify the channel where you want to receive notifications. You can customize the message format to include details such as the customer’s name, email, and the amount of the failed payment. This ensures that your team receives all the necessary information to follow up with the customer.


5. Finalizing the Automation Process in Pabbly Connect

With everything set up, you can finalize your automation in Pabbly Connect. Review all the steps to ensure that Razorpay is correctly configured as the trigger and Slack as the action. Once you are satisfied with the setup, save your workflow. This will activate the automation, allowing it to run in the background.

From now on, every time a payment fails in Razorpay, a notification will be automatically sent to your specified Slack channel. This hands-off approach keeps your team informed without any manual intervention. You can sit back and relax while Pabbly Connect handles the automation seamlessly.


Conclusion

Integrating Razorpay with Slack using Pabbly Connect allows you to receive timely notifications for failed payments. This automation streamlines communication and ensures your team can promptly address issues as they arise. By following the steps outlined, you can set up this integration effortlessly.

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