Learn how to accurately capture Razorpay payment amounts using Pabbly Connect. This guide provides step-by-step instructions for seamless integration. Master proven automation processes with practical implementation examples and strategic recommendations you can apply immediately in your workflow.
Watch Step By Step Video Tutorial Below
1. Setting Up Pabbly Connect for Razorpay Integration
To get the accurate amount of Razorpay payments, you first need to set up Pabbly Connect. Start by logging into your Pabbly Connect account and creating a new workflow. Select Razorpay as your trigger application and choose the ‘Payment Captured’ event.
Once you have selected Razorpay, you will be provided with a webhook URL. This URL needs to be integrated into your Razorpay account to capture payment responses accurately. Ensure that the webhook is correctly configured to send payment data to Pabbly Connect.
2. Making a Test Payment to Capture Data
After setting up the webhook in Razorpay, you can make a test payment to see how Pabbly Connect captures the payment data. Navigate to your Razorpay payment page and initiate a payment. For this tutorial, we will use a test payment of 203.71 Rupees.
- Open the Razorpay payment page.
- Enter user details like name and email.
- Complete the payment process.
Once the payment is completed, return to Pabbly Connect to check if the payment response has been captured correctly. You should see the payment details, including the amount.
3. Understanding the Payment Response from Razorpay
After capturing the payment response, you will notice that Razorpay sends the amount without the decimal point. For instance, a payment of 203.71 will show as 20371 in Pabbly Connect. This can lead to confusion if not handled properly.
To accurately interpret the payment amount, you will need to divide the received amount by 100. This is essential for getting the correct payment value. This step is crucial in ensuring that you can process payments accurately in your applications.
4. Using Number Formatter Module in Pabbly Connect
To convert the amount correctly, use the Number Formatter module in Pabbly Connect. In the action window, select the Number Formatter app and choose the ‘Perform Math Operation’ event. This will allow you to manipulate the payment amount received from Razorpay.
- Map the Razorpay payment amount to the Number Formatter.
- Set the operation to divide and enter 100.
- Save and test the request to see the correct amount.
After performing this operation, you will receive the correct payment amount of 203.71. This step ensures that any further processing done in Pabbly Connect has the accurate payment amount.
5. Conclusion and Final Thoughts
In conclusion, using Pabbly Connect to integrate Razorpay allows you to capture accurate payment amounts efficiently. By setting up the webhook, processing test payments, and using the Number Formatter, you can ensure that the payment data is correctly interpreted and utilized in your workflows.
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!
This method not only streamlines your payment processing but also enhances the reliability of your financial data. With Pabbly Connect, you can integrate various applications seamlessly, ensuring accurate data flow across your platforms.
By following these steps, you can effectively use Pabbly Connect to manage Razorpay payments accurately, ensuring your business runs smoothly and efficiently.