PayPal in nopCommerce 3.6

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 7 ans
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
Il y a 7 ans
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;
Il y a 7 ans
Please try to update PayPal SDK Updates using NuGet. Hopefully, this will work.

Thanks
Il y a 7 ans
If I use Source to update the Global.ASAX.CS file, what files do I need to replace on the live server afterwards?
Il y a 5 ans
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)?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.