Troubleshooting & FAQs

Troubleshoot common error scenarios and find answers to frequently asked questions about Razorpay .NET SDK.


1. How to resolve the following error displayed during Orders API integration?

Following are the solutions for two possible errors:

Resolution

  • Fix 1: Verify if client supports TLS v1.1 using this website: . If yes, upgrade the client to TLS v1.1+.
  • Fix 2: Use the code given below to force TLS v1.2:
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

Resolution

Use the code given below to force TLS v1.2.

System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

2. Does Razorpay support ASP.NET?

We only have the .NET framework on which ASP.NET works; we do not support it for .NET core.


Is this integration guide useful?


.net
troubleshooting
faqs
.net sdk
server