Learn how to automate WhatsApp notifications for Razorpay payments with Pabbly Connect. Step-by-step guide for seamless integration. 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 Razorpay WhatsApp Integration
To begin automating WhatsApp messages for Razorpay payments, you first need to access Pabbly Connect. Open your browser and navigate to the Pabbly Connect website. If you are new, click on ‘Sign Up Free’ to create an account quickly, or log in if you already have an account.
After signing in, you will be directed to the ‘All Apps’ page. Click on ‘Access Now’ under Pabbly Connect. This will take you to the Pabbly Connect dashboard where you can create a new workflow for the Razorpay integration.
2. Creating a Workflow in Pabbly Connect
Once in the Pabbly Connect dashboard, click on ‘Create Workflow’ and name your workflow, for instance, ‘Razorpay to WhatsApp’. This name will help you identify the workflow later. Upon creating the workflow, you will see two main sections: the Trigger and Action windows.
- Select the app as Razorpay in the Trigger window.
- Choose ‘Payment Captured’ as the Trigger Event.
- Copy the generated webhook URL from Pabbly Connect.
After copying the webhook URL, proceed to your Razorpay dashboard. Click on ‘Settings’ and then the ‘Webhook’ section. Here, add a new webhook by pasting the copied URL and selecting the event as ‘Payment Captured’. This establishes the connection between Razorpay and Pabbly Connect.
3. Testing the Razorpay and Pabbly Connect Integration
After setting up the webhook, it’s time to test the integration. You will need to make a test payment through your Razorpay payment page. Copy the payment page URL and paste it into a new browser tab. Fill in the payment details, including a dummy customer name, email, and WhatsApp number without the plus sign. using Pabbly Connect
- Select the product and enter the required customer details.
- Use test card details to complete the payment.
Once the payment is processed, return to your Pabbly Connect dashboard. You should see the payment details captured in the response section. Ensure that the details reflect the correct customer information and payment amount.
4. Formatting the Payment Amount for WhatsApp Message
In the captured payment details, Razorpay may send the amount without decimals. To correct this, use the Number Formatter feature in Pabbly Connect. In the Action window, search for ‘Number Formatter’ and select ‘Perform Math Operation’ as the action event.
Map the amount received from Razorpay. Choose to divide the amount by 100 to format it correctly.
After setting this up, click on ‘Save and Send Test Request’. You should see the correctly formatted amount, which will be used in the WhatsApp message sent to the customer as confirmation.
5. Sending WhatsApp Messages via Pabbly Connect
Now that you have the correct payment amount, it’s time to send the WhatsApp message. Add another action step by searching for ‘WhatsApp Cloud API’ and select ‘Send Template Message’ as the action event. Connect your WhatsApp Cloud API account to Pabbly Connect using the required credentials.
Choose the approved template for the WhatsApp message. Map the recipient’s mobile number and the dynamic fields for customer name and payment amount.
After entering all the required details, click on ‘Save and Send Test Request’. If successful, a WhatsApp message will be sent to the customer confirming their payment. You can check the WhatsApp account to verify that the message has been received.
Conclusion
In this tutorial, we explored how to automate WhatsApp messages for Razorpay payments using Pabbly Connect. By following the steps outlined, you can ensure that your customers receive instant payment confirmations via WhatsApp, enhancing their experience and streamlining your payment process.
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!