Why does it show "Invalid OAuth connection" when a form with Razorpay as the payment gateway is submitted?

Why does it show "Invalid OAuth connection" when a form with Razorpay as the payment gateway is submitted?

When a form is integrated with Razorpay, it is required that payment transactions take place through the form at least once in 3 months for the OAuth Connection to work. If not you will find the below errors when public or private forms are submitted:

 Error on submitting public form Error on submitting private form

If you see these errors, you will have to create a new OAuth connection for your Razorpay account, select the new connection in the Payment Gateway settings and then delete the unused OAuth connection from the Control Panel of your Zoho Forms account.

To do this,
  1. In your Razorpay Payment Gateway settings, click + New Connection in the OAuth Authorized with dropdown to authorize a new connection.
  2. Once authorized, you can view it in the list of authorized Razorpay accounts in the OAuth Authorized with dropdown.

    Click New Connection

  3. Select the new connection and save your Payment Gateway configuration.
  4. Map this new connection in all the forms integrated with Razorpay.
  5. Now, in your form builder, click the  icon in the top right corner to access the Control Panel.
  6. Click Access Tokens under Developer Space and delete the unused Razorpay connection.

    Access Tokens