Open virendrazak opened 5 years ago
@virendrazak didi you find any solution
@virendrazak @kapil708 You need to add try catch block for that. Here is the code: try { Razorpay.Api.Order order = client.Order.Create(input); orderId = order["id"].ToString(); } catch (Exception ex) { Console.WriteLine(ToString()); }
@adukale this does not break code with issue is still open
Just add online in the page load
ServicePointManager.SecurityProtocol=SecurityProtocolType.Tls12;
Just add online in the page load
ServicePointManager.SecurityProtocol=SecurityProtocolType.Tls12;
Thanks
Razorpay.Api.Order order = client.Order.Create(input); after this function SocketException: An existing connection was forcibly closed by the remote host