PayPal in nopCommerce 3.6

3 years ago
Hi everyone

We have an nopCommerce 3.6 installation.  The PayPal Direct plugin is not working in this version - gives this error when you try to pay: Invalid HTTP response The request was aborted: Could not create SSL/TLS secure channel.

I realize that this is because of the TLS changes that PayPal made.

Upgrading to 3.7 or later is not an option right now.  Is there an easy way to fix this temporarily until we have more time to upgrade?

We also can't really re-compile anything at the moment - I'm hoping for an updated DLL or SDK fix.

Thx
3 years ago
Hi,

You can fix it the following way (requires access to source code).

Open Global.asax.cs file. Find "Application_Start" method. Add the following line of code to it:
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
3 years ago
Please try to update PayPal SDK Updates using NuGet. Hopefully, this will work.

Thanks
3 years ago
If I use Source to update the Global.ASAX.CS file, what files do I need to replace on the live server afterwards?
1 year ago
a.m. wrote:
Hi,

You can fix it the following way (requires access to source code).

Open Global.asax.cs file. Find "Application_Start" method. Add the following line of code to it:
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

Will this fix work for Authorize.net (nopCommerce 3.6)?