Learn how to generate Razorpay payment receipts instantly after each payment using Pabbly Connect. Follow our step-by-step tutorial for seamless integration. Follow this definitive guide to creating powerful automated workflows with straightforward, efficiency-focused solutions that save valuable time.

Watch Step By Step Video Tutorial Below


1. Setting Up Pabbly Connect for Razorpay Payment Receipts

To generate Razorpay payment receipts instantly after every payment, start by accessing Pabbly Connect. Go to the Pabbly Connect website and sign in or create a new account if you are a first-time user. This platform allows you to automate tasks between various applications seamlessly.

Once logged in, navigate to the dashboard where you can create a new workflow. Click on the ‘Create Workflow’ button and name it ‘Generate Razorpay Payment Receipts Instantly After Every Payment’. This workflow will serve as the foundation for connecting Razorpay with Google Docs, allowing you to generate receipts automatically.


2. Configuring the Trigger with Razorpay

In your newly created workflow, the first step is to set up a trigger. Select Razorpay as your trigger application. This will initiate the workflow whenever a new payment is captured. The event you need to choose is ‘Payment Captured’.

  • Select Razorpay as the trigger application.
  • Choose ‘Payment Captured’ as the event.
  • Click on the ‘Connect’ button to generate a webhook URL.

Copy the provided webhook URL and navigate to your Razorpay account settings. Under the ‘Webhook’ section, paste the URL and configure it to trigger on payment captures. This integration ensures that every successful payment is logged and sent to Pabbly Connect for further processing.


3. Formatting the Payment Amount

After setting up the trigger, the next step is to format the payment amount correctly. Razorpay captures the amount with two extra zeros, so you will need to adjust this using Pabbly Connect. Add an action step and select ‘Number Formatter by Pabbly’ as your action application.

  • Choose ‘Perform Math Operation’ as the event.
  • Set the operation to ‘Divide’ by 100 to remove the extra zeros.
  • Map the amount from the previous step to this action.

Click on ‘Save and Send Test Request’ to verify that the amount is formatted correctly. This step ensures that the receipt reflects the accurate payment amount, facilitating a smooth transaction experience for your customers.


4. Creating the Receipt Using Google Docs

Once the amount is formatted, you can proceed to create the payment receipt. For this, select Google Docs as your next action application in Pabbly Connect. Choose ‘Create Document from Template’ as your event.

Select your receipt template from Google Docs. Map the customer details like name, address, and payment information into the template. Save and send the test request to generate the receipt document.

After executing this step, check your Google Drive to confirm that the receipt has been created successfully. This process automates the generation of payment receipts, allowing you to focus more on your business operations.


5. Finalizing the Automation with Pabbly Connect

With all steps configured, your automation is now complete. Whenever a payment is made through Razorpay, the details will be captured by Pabbly Connect, formatted, and a receipt will be generated automatically in Google Docs.

This automation not only saves time but also ensures accuracy in your billing process. You can test the entire workflow by making a test payment to see the automation in action. If everything is set up correctly, you should see the receipt appear in your designated Google Drive folder.

For any questions or further assistance, feel free to reach out through the Pabbly community or support channels. This integration showcases how Pabbly Connect can streamline your payment processing and documentation.


Conclusion

In this tutorial, we demonstrated how to generate Razorpay payment receipts instantly after every payment using Pabbly Connect. By following these steps, you can automate your receipt generation process, saving time and ensuring accuracy in your transactions. Start using Pabbly Connect to enhance your business automation today.

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