cancel
Showing results for 
Search instead for 
Did you mean: 

.NET Could not create SSL/TLS secure channel with api-aa.sandbox.paypal.com

Contributor

.NET Could not create SSL/TLS secure channel with api-aa.sandbox.paypal.com

Hello,

 

I have get an email that It says, before 31 may I have to change to TLS 1.2 y http/1.1. My project is made with C# .NET and I have upgraded to 4.5 .NET version. Then I have updated my web service from paypal https://www.paypal.com/wsdl/PayPalSvc.wsdl. Then I have added this line to the project, before the web request:

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

 

But when I call ClientePayPal.SetExpressCheckout(ref HeaderType, req)

It sayes this message "Could not create SSL/TLS secure channel  with api-aa.sandbox.paypal.com"

Anybody know why? What I have to make? 

I have verified in my machine .Net and TLS1.2 and It returns always:

PayPal_Connection_OK

 

So, any help?

 

Thank you,

 

Regards