Learn how to integrate Razorpay with WhatsApp for failed payment notifications using Pabbly Connect in this detailed tutorial. Build sophisticated automated workflows in less time than you think. This guide translates complex integrations into straightforward steps for immediate implementation.
Watch Step By Step Video Tutorial Below
1. Accessing Pabbly Connect for Razorpay Integration
To start integrating Razorpay with WhatsApp for notifications about failed payments, you first need to access Pabbly Connect. This platform allows you to create automated workflows without any coding skills.
Simply visit the Pabbly Connect website by typing ‘Pabbly.com/connect’ in your browser. If you’re an existing user, click on ‘Sign In’; new users can sign up for free and receive 100 tasks monthly. After signing in, you’ll see your dashboard with various applications.
2. Creating a New Workflow in Pabbly Connect
In Pabbly Connect, you need to create a new workflow to handle the Razorpay payment failure notifications. Click on ‘Create Workflow’ and name it something like ‘WhatsApp Message for Failed Razorpay Payment’. Select the relevant folder to save your workflow. using Pabbly Connect
- Click on ‘Create’ to initiate the workflow.
- You will see two sections: Trigger and Action.
Here, the trigger will be Razorpay, and the action will be sending a WhatsApp message through AiSensy. This setup ensures that whenever a payment fails in Razorpay, the workflow will trigger automatically.
3. Setting Up the Trigger with Razorpay
To set up the trigger in Pabbly Connect, choose Razorpay as your trigger application and select ‘Payment Failed’ as the trigger event. This means that the workflow will activate whenever a payment fails.
Next, you’ll need to connect Razorpay with Pabbly Connect by using a webhook URL provided in your Pabbly workflow. Copy this URL and navigate to your Razorpay account, where you can add a new webhook under the ‘Developers’ section.
- Click on ‘Add New Webhook’.
- Paste the copied webhook URL and select ‘Payment Failed’ as the event.
Once you save the webhook, Pabbly Connect will wait for a response from Razorpay, confirming that the integration is successful.
4. Sending WhatsApp Messages Using AiSensy
After successfully setting up the trigger, the next step is to configure the action to send a WhatsApp message. In Pabbly Connect, select AiSensy as your action application and choose ‘Send Template Message’ as the action event.
To connect AiSensy, you will need to enter your API key from your AiSensy account. Once connected, you can set up the message template that will be sent to customers when a payment fails.
Specify the campaign name and enter the mobile number of the customer. Utilize mapping to pull the customer’s name and other details from the Razorpay response.
This ensures that the message is personalized and contains relevant information for the customer.
5. Testing and Verifying the Integration
After setting up the workflow, it’s essential to test the integration to ensure everything works as expected. Initiate a test payment in Razorpay that you know will fail, such as using an invalid UPI ID. using Pabbly Connect
Once you trigger the payment failure, check Pabbly Connect to see if the webhook received the response correctly. If successful, you should see the details of the failed payment.
Verify that the WhatsApp message has been received with the correct details. Repeat the test to confirm consistent functionality.
This final step ensures that your automation is not only set up correctly but also functioning as intended, providing a seamless experience for your customers.
Conclusion
In this tutorial, we explored how to use Pabbly Connect to automate WhatsApp notifications for failed Razorpay payments. By integrating these two platforms, you can enhance customer communication and streamline your payment processes effectively.
Ensure you check out Pabbly Connect to create business automation workflows and reduce manual tasks. Pabbly Connect currently offer integration with 2,000+ applications.
- Check out Pabbly Connect – Automate your business workflows effortlessly!
- Sign Up Free – Start your journey with ease!
- 10,000+ Video Tutorials – Learn step by step!
- Join Pabbly Facebook Group – Connect with 21,000+ like minded people!