I am trying to resolve the subscriptions services that are built into DNN's profile page. Everything works as it should but when the PayPal IPN POST's a request back to the notification url it always fails. There is an error in the Event log and IIS logs shows http 302 response codes.
This is the DNN Event Log entry that shows the error:
AbsoluteURL:/admin/sales/paypalipn.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:caeebfc7-f7e8-46a1-9818-fc46c8a3bbfd
AssemblyVersion:8.0.3
PortalId:0
UserId:-1
TabId:90
RawUrl:/admin/sales/paypalipn.aspx
Referrer:
UserAgent:PayPal IPN ( https://www.paypal.com/ipn )
ExceptionHash:XeT5Zbx6hRvRzvZZ7Z/fUQ==
Message:The request was aborted: Could not create SSL/TLS secure channel.
StackTrace:
InnerMessage:The request was aborted: Could not create SSL/TLS secure channel.
InnerStackTrace:
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at DotNetNuke.Modules.Admin.Sales.PayPalIPN. (EventArgs e)
I am pretty sure the error is happening on line 149 here:
https://github.com/dnnsoftware/Dnn.Platform/blob/565cff4691b6ec29418f82ca17b4f17ae9ef1d2d/Website/admin/Sales/PayPalIPN.aspx.cs
I am not sure how to fix it... If it was dedicated server I could turn off TLS1 and TLS 1.1 in the registry but it's a shared host... I am not even sure that would fix it.
Anyone bump into this and know the fix?