Payment Options | Razorpay - Zoho Forms

Razorpay

If you have selected Razorpay as your merchant, you must authorize your Zoho Forms account to access your Razorpay resources using OAuth authentication.
OAuth Authentication lets you connect your form with Razorpay using secure access tokens instead of Key ID and Key Secret, providing secure access to the Razorpay resources via token-based authentication.

To configure Razorpay in the Payment field,
  1. Configure OAuth Authentication if you are configuring Razorpay for the first time.
  2. If you have already configured your form with Razorpay using Key ID and Key Secret, you can Switch to OAuth Authentication

Configure OAuth Authentication

If you are configuring your form with Razorpay for the first time,
  1. Click Authenticate to grant Zoho Forms access to connect with your Razorpay account.

    Click Authenticate

  2. In the pop-up, enter OAuth Name and select the Mode of Authentication to be either Sandbox or Production.

    Razorpay OAuth Authentication

    Note: We recommend that you enter a meaningful OAuth Name. This name will be for your reference to identify the OAuth.
  3. Click Proceed.
  4. You will be redirected to the RazorPay window. Use the Razorpay account owner’s login details to authorize OAuth authentication and connect to a specific Merchant ID. Click Authorize to allow Zoho Forms to securely access your RazorPay account to make read/write operations while processing payments.
  5. Once authorized, you can view a list of authorized RazorPay accounts in the OAuth Authorized with  dropdown in your Zoho Forms Payment field configuration.
  6. To authorize a new RazorPay account, click + New Connection in the dropdown.

    Select connection
  7. Enter the Payment Amount. You can either set a fixed amount for payment or autofill the Payment Amount with a value from a form field.
  8. Under Prefill Information, you can include Email and Phone  from the form fields. This information will be prefilled in the merchant site.
  9. To capture the status of payment for certain cases when a payment is made via Razorpay through the mobile payment app, you can configure a webhook under Webhook Configuration.
  10. Click Done.

Switch to OAuth Authentication

If you have already configured your form with Razorpay using Key ID and Key Secret and would like to authorize Zoho forms to access your Razorpay account using OAuth authentication,
  1. Click Authenticate OAuth in the top-right corner of the Payment Gateway configuration.

    Click Authenticate OAuth
  2. In the pop-up, enter the OAuth Name and select the Mode of Authentication to be either Sandbox or Production.

    Razorpay OAuth Authentication
    Note: We recommend that you enter a meaningful OAuth Name. This name will be for your reference to identify the OAuth.
  3. Click Proceed.
  4. You will be redirected to the RazorPay window. Use the Razorpay account owner’s login details to authorize OAuth authentication and connect to a specific Merchant ID. Click Authorize to allow Zoho Forms to securely access your RazorPay account to make read/write operations while processing payments.
  5. Once authorized, you can view a list of authorized RazorPay accounts in the OAuth Authorized with dropdown in your Zoho Forms Payment field configuration.
  6. To authorize a new RazorPay account, click + New Connection in the dropdown.

    Click New Connectio
  7. Enter the Payment Amount. You can either set a fixed amount for payment or autofill the Payment Amount with a value from a form field.
  8. Under Prefill Information, you can include Email and Phone from the form fields. This information will be prefilled in the merchant site during payment.
  9. To capture the status of payment for certain cases when a payment is made via Razorpay through the mobile payment app, you can configure a webhook under Webhook Configuration.
  10. Click Done.
Note:
  1. A maximum of 3 Razorpay accounts can be authorized with each Mode of Authentication (Sandbox or Production).
  2. If you have a custom domain, you must complete the KYC Review Process for your domain with Razorpay to receive payments. Read more
  3. If the form ownership is changed to a different user, RazorPay OAuth authentication will have to be re-configured.
  4. If you wish to receive payments in any currency other than INR, you must enable International Payments in your Razorpay Dashboard.

Configuring Razorpay Webhook

When a payment is made through a mobile payment app via Razorpay, there is a possibility that users are not redirected to the browser automatically after the payment. To capture the payment status in such cases (delayed authorized payment, failed payment, payment success), you can configure a webhook while setting up the payment field using Razorpay as your merchant account. 

Generating webhook URL

To capture the payment status:

  1. Select Capture status via webhook under Webhook Configuration.
  2. Enter a secret key of your choice under Secret. The key must consist of at least 5 characters.
  3. A webhook URL will be provided. 

    Webhook configuration
  4. Click Save
  5. Copy the webhook URL in the resultant pop-up.
Once you have finished configuring the webhook URL, go to your Razorpay settings and follow the steps shown below:

Configuring the webhook in Razorpay Settings 

  1. Go to your Razorpay Account's Dashboard  and navigate to Settings.
  2. Under the Webhooks tab, click Setup your Live Webhook.
  3. Paste the copied Webhook URL in the textbox provided and select Active
  4. Enter the Secret Key. This is the key that you have setup under the Payment Settings in your form builder.
  5. Under Active Events, select the payment.failed and order.paid options.
  6. Click Save.

    Configuring webhook in RazorPay Settings
Note: If you enable multiple events under Active Events, Zoho Forms will receive unnecessary payment related requests from Razorpay.

Checking payment status in Zoho Forms

When a payment is made, you can check the payment status of a record under All Entries Payment Status.
Note:
  1. Payment status via webhooks will be updated as long as your webhook is active.
  2. Payment status will not be updated if there is any mismatch in the Secret key entered.
  3. Once the webhook is configured, Razorpay will trigger the webhook to Zoho Forms each time the merchant account receives payments (irrespective of the service used for payment via RazorPay).


When configuring payment gateways, sensitive information like secret keys and tokens are encrypted before they are stored in our database and are never exposed to other third party apps.

Revoke OAuth Access Token

To unlink your Razorpay account from your Zoho Forms account, you can remove the OAuth access token from the Control Panel.
To do so, 
  1. In the top-right corner, click the   icon to access the Control Panel.
  2. In the Control Panel, click Access Tokens under Developer Space

    Select Access Tokens
  3. Hover over Razorpay and click the Delete icon.

    Access your files securely from anywhere

      Zoho CRM Training Programs

      Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

      Zoho CRM Training
        Redefine the way you work
        with Zoho Workplace

          Zoho DataPrep Personalized Demo

          If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

          Zoho CRM Training

            Create, share, and deliver

            beautiful slides from anywhere.

            Get Started Now


              Zoho Sign now offers specialized one-on-one training for both administrators and developers.

              BOOK A SESSION









                                            You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                Manage your brands on social media

                                                  Zoho Desk Resources

                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                    Zoho Marketing Automation

                                                      Zoho Sheet Resources

                                                       

                                                          Zoho Forms Resources


                                                            Secure your business
                                                            communication with Zoho Mail


                                                            Mail on the move with
                                                            Zoho Mail mobile application

                                                              Stay on top of your schedule
                                                              at all times


                                                              Carry your calendar with you
                                                              Anytime, anywhere




                                                                    Zoho Sign Resources

                                                                      Sign, Paperless!

                                                                      Sign and send business documents on the go!

                                                                      Get Started Now




                                                                              Zoho TeamInbox Resources



                                                                                      Zoho DataPrep Resources



                                                                                        Zoho DataPrep Demo

                                                                                        Get a personalized demo or POC

                                                                                        REGISTER NOW


                                                                                          Design. Discuss. Deliver.

                                                                                          Create visually engaging stories with Zoho Show.

                                                                                          Get Started Now









                                                                                                              • Related Articles

                                                                                                              • How to use a default value of amount to collect payments?

                                                                                                                Let's all agree!! Online forms make everything hassle-free in business. You can gather any information you need from your customers and Zoho Forms is here to make the process much easier. With Zoho Forms, you can collect payments from customers using ...
                                                                                                              • How to set up a Payment field

                                                                                                                To configure a payment field, Add a Payment field from the Advanced Fields to your form. In the pop-up, select the Payment Gateway from the following list to receive payments: PayPal Standard PayPal Checkout Stripe Stripe Checkout 2Checkout Razorpay ...
                                                                                                              • Overview

                                                                                                                An online payment form is a digital document that you can use to collect payment information from customers over the internet. Online payment forms offer a fast, convenient, and secure way for businesses to collect payments from customers. With Zoho ...
                                                                                                              • How to use the Formula field and auto-populate the calculated value in the Payment field?

                                                                                                                Money is a tricky thing. It has the potential to alter the course of any alliance, particularly one involving payments. Seller- buyer relationships can quickly become a hassle if the money flow is not error-free. And like always, Zoho Forms is here ...
                                                                                                              • 2Checkout

                                                                                                                If you have selected 2Checkout as the Payment Gateway, Enter your Account Number and Secret Word. Select the required Currency in which you wish to receive payments. Enter the Payment Amount. You can either set a fixed amount for payment or autofill ...
                                                                                                                Wherever you are is as good as
                                                                                                                your workplace

                                                                                                                  Resources

                                                                                                                  Videos

                                                                                                                  Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                  eBooks

                                                                                                                  Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                  Webinars

                                                                                                                  Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                  CRM Tips

                                                                                                                  Make the most of Zoho CRM with these useful tips.



                                                                                                                    Zoho Show Resources