Searching for a way to send WhatsApp message for new Razorpay payment automatically? Then look no further my friend, as here we are going to integrate Razorpay to WA API (WhatsApp API) via Pabbly Connect.
But before getting into the integration process, let’s know a little bit about the software that we are about to integrate. Basically, Razorpay is a payments solution that allows businesses to accept, process, and disburse payments with its product suite. Whereas, WA API is a fast, secure, and reliable way for businesses to reach their customers all over the world.
Thus, integrating these two services can help you automatically send WhatsApp messages via WA API on every new Razorpay purchase. Moreover, we have also attached a video tutorial for this integration, have a look at it-
Here to bind these services, we are using a wonderful automation and integration tool named Pabbly Connect. It is a fantastic integration and automation software, which allows you to integrate two or more applications and automate all the projects. You just have to do the integration once and then everything will be automatically taken care of by the software.
Why Choose This Method Of Integration?
In contrast with other integration services-
- Pabbly Connect does not charge you for its in-built apps like filters, Iterator, Router, Data transformer, and more
- Create “Unlimited Workflows” and smoothly define multiple tasks for each action
- As compared to other services which offer 750 tasks at $24.99, Pabbly Connect offers 50000 tasks in the starter plan of $29 itself
- Unlike Zapier, there’s no restriction on features. Get access to advanced features even in the basic plan
- Try before you buy! Before spending your money, you can actually signup & try out the working of Pabbly Connect for FREE
Furthermore, you can access all the features even in its free plan. To get started with this amazing service, you just have to go to the Marketplace and search for the apps you want to use.
Moreover, we have created a template for this integration to help you. Click the image below to get started.
Therefore, without wasting any more time, let’s begin with the steps to integrate Razorpay to WA API.
Step 1: Sign up to Pabbly Connect
Let’s start the process to send WhatsApp message for new Razorpay Payment by clicking on the ‘Sign Up Free’ icon on the Pabbly Connect home page. Next, either manually fill-up all the details or sign up using your Gmail account.
Try Pabbly Connect for FREE
Next, after logging into the account, click on the ‘Access Now’ button of the Connect section in the dashboard. Start with creating a workflow for your project by clicking on the ‘Create Workflow’ button. Now, you need to name the workflow just like in the above-shown image. I named the workflow ‘Razorpay to WA API’, you can obviously name the workflow as per your requirements. As soon as you are done naming your workflow, you will have to select the application you want to integrate. Pabbly Connect allows you to connect unlimited premium apps, create your free account now. Now, you have to select the application that you want to integrate. In this case, we are choosing ‘Razorpay’ for integration. In the method section, select ‘Payment Captured’. The next step is to copy the webhook URL which is appearing on the dashboard just like in the above-shown image. To connect Razorpay to Pabbly Connect, you have to paste the copied Webhook URL in the software. For that, you have to log in to your Razorpay account. After logging into the Razorpay account, go to the ‘Settings’ section on the bottom of the dashboard. Now after reaching the settings page, click on the ‘Webhooks’ option given on the screen. Next, you need to click on the ‘Add New Webhook’ button to paste the webhook URL. As soon as you click on the ‘Add New Webhook’ button, it will open up the window with a certain option. Paste the copied webhook URL in the ‘Webhook URL’ section, and in events, select the ‘Payment.Captured’ option. After filling up all the required details, hit the ‘Create Webhook’ button to save the changes. To check this integration, we will make a dummy purchase in Razorpay to capture the data. To capture the data, we will click on the ‘Capture Webhook Response’ button in the Pabbly Connect dashboard. Now, to make a test purchase, click on the ‘Payment Pages’ option in the Razorpay dashboard. Next, select any of the listed products in your online store and open it in a new tab. If you wish, you can also create a new payment page. In this step, add the customer details like name, email, etc, and hit the ‘Pay’ button. Here you can select any of the payment options, we have selected to pay via card. So, quickly add the card details and click on the ‘Pay’ option. After making all the changes, click on the given ‘Success’ button to make the payment. Once you click on the ‘Success’ in Razorpay, the order info will appear on the Pabbly Connect dashboard. Then, click on the ‘Save’ button. To make this Razorpay-WA API integration work, you have to choose two actions for your trigger. The first action is of API to convert the amount in the proper decimal system, and the second action is of WA API to send the message. Now in this step, click on the + button below and choose the application that you want to integrate. Here we will choose ‘API’ to integrate and in the action event select ‘GET’. After selecting the application, paste the URL ‘https://forms.pabbly.com/api/trim_amount’ in the endpoint URL section and map the amount in the parameters section. After making all the changes, click the ‘Save & Send Test Request’ button. Here, we can see that the amount is converted in our desired format, now hit the ‘Save’ button. Now in this step, click on the + button below and choose the application that you want to integrate. Here we will choose ‘WA API’ to integrate and in the method section select ‘Send Text Message’. After choosing the application click on the ‘Connect with WA API’ button to move forward. To connect WA API with Pabbly Connect, you have to add token from your Whatsapp API account to Pabbly Connect. For that, you need to login to your Whatsapp API account. In this step click on the Whatsapp logo given on the side of the WA API dashboard then click on the ‘Create’ button of any of the plans. After creating an instance, now click on the credentials button to copy the access tokens. Now, simply copy the given client ID and instance ID to move forward with the integration process. Subsequently, paste the copied credentials in Pabbly Connect and hit the ‘Save’ button. After connecting with your WA API account, map all the fields quickly like Whatsapp number, message, etc. Once you are done adding up all field data click on the ‘Save & Send Test Request’ button. Finally, you can see that the WhatsApp message has been delivered informing about the order via WA API for the Razorpay purchase automatically. Well, this is all about ‘How to Send WhatsApp Message for New Razorpay Payment’. Consequently, after completing the step by step procedure, you will end up sending Whatsapp messages via WA API on new Razorpay payments automatically. Pabbly Connect is the only automation and integration tool that you’ve been waiting for. You won’t have to pay anything to create an account and you can work on it without any coding skills. Now, try Pabbly Connect for FREE for all its premium features. For any further queries/suggestions, do comment below.Step 2: Access Pabbly Connect
Step 3: Workflow for Razorpay to WA API Integration
(a) Start with a New Workflow
(b) Name the Workflow
Step 4: Setting Trigger for Razorpay to WA API Integration
(a) Select Application you Want to Integrate
(b) Copy the Webhook URL
Step 5: Connecting Razorpay to Pabbly Connect
(a) Go to Razorpay Settings
(b) Click on Webhooks
(c) Click on Add New Webhook
(d) Paste the Webhook URL
(e) Create Webhook
Step 6: Make a Test Purchase
(a) Capture Webhook Response
(b) Click on Payment Pages
(c) Select a Product
(d) Add Details
(e) Add Card Details
(f) Click on Success Button
Step 7: Test the Response in Pabbly Connect Dashboard
Step 8: Setting Actions for Razorpay to WA API Integration
(a) Select Application you Want to Integrate
(b) Send Test Request
(c) Save the API Response
(d) Select Application you Want to Integrate
(e) Click the Connect Button
Step 9: Connecting WA API to Pabbly Connect
(a) Click on Create Instance Button
(b) Open Created Instance
(c) Copy the Credentials
(d) Paste the Credentials
(e) Map the Fields
(f) Save and Send Test Request
Step 10: Check Response in Whatsapp Dashboard
Conclusion –
You May Also Like to Read –