Hello,
This pluging works as expected when I use it from my development machine. Our version is 4.20 and Plugin is developed by NopCommerce.
Problem begins when we use it on our deployment environment, we always get an error from NOPCommerce. In logs a found this error:
System.ServiceModel.CommunicationException: The SSL connection could not be established, see inner exception. ---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.IO.IOException: Authentication failed because the remote party has closed the transport stream.
Doing some research I tried to change this line from ServicecollectionExtension:
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
to
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;
But we are still getting same error. Any ideas please?