razorpay / razorpay-dot-net

Razorpay .NET SDK
MIT License
15 stars 39 forks source link

razorpay integration giving system.security exception #21

Open nitin-s81 opened 5 years ago

nitin-s81 commented 5 years ago

Hi, I am trying to integrate razorpay payment gateway in C#.net 4.7 using this.

these 2 lines are the key code generating system.security exception : startRequest failed

RazorpayClient client = new RazorpayClient(key, secret); Razorpay.Api.Order order = client.Order.Create(input);

order is created in the razorpay panel but no order id (in object of Razorpay.Api.Order) returned, just the exception !

it works fine on the local pc but when uploaded to a server in shared hosting environment it throws exception.

what can be done , thanks in advance.

SupriyoMallick commented 5 years ago

Any solution for this Nitin?

SupriyoMallick commented 5 years ago

I am facing the same.