Troubleshooting & FAQs

Commonly asked questions about Razorpay .Net SDK.


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

Error: "The server did not send back a well-formed response. Server Response: Array."

Cause: This error appears if you are using TLS v1 on your client-side.

Resolution:

Fix 1: Upgrade to TLS v1.1

Follow these steps:

a. Verify if client supports TLS v1.1 using this website.
b. If yes, upgrade client to TLSv1.1+.

Fix 2: Force TLS v1.2

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

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

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

Error: "Exception User-Unhandled"

Dot

Cause: This error appears if you are using TLS v1 on your client-side.

Resolution:

To resolve this error, use the code given below to force TLS v1.2:

CopySystem.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
×

ON THIS PAGE