Manage Services PayPal Payment Subscription Error

Description

Using the PayPal Sandbox environment while trying to test a user subscribing to a role that includes a fee I experience the error at the bottom. I believe this may be related to a switch to require TLS 2.

Solution may involve altering the following (untested):

https://github.com/dnnsoftware/Dnn.Platform/blob/a142594a0c18a589cb5fb913a022eebe34549a8f/DNN%20Platform/Library/Common/Globals.cs

by adding a wrapper to check if it's a PayPal request with the following near line 2194:

System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;

Based upon:

http://stackoverflow.com/questions/34939523/the-request-was-aborted-could-not-create-ssl-tls-secure-channel-sandbox-account

AbsoluteURL:/admin/sales/paypalipn.aspx
DefaultDataProviderotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:ab4a09cf-91d3-4c30-8ff7-6984a1cdeb1c
AssemblyVersion:9.0.0
PortalId:0
UserId:-1
TabId:90
RawUrl:/admin/sales/paypalipn.aspx
Referrer:
UserAgentayPal IPN ( https://www.paypal.com/ipn )
ExceptionHash:CpkBj/S//XNDt7S/cSKl57uBGvU=
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.OnLoad(EventArgs e)
Source:
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:
Server Name:

QA Test Plan

None

Activity

Show:

Chris PaterraJanuary 7, 2017 at 1:55 AM

As part of 9, we removed any payment processing configuration settings with the intention of removing any support from the base Platform for payment processing baked into it (the Evoq products are doing this as well). If being brought back in the future (and not currently on the roadmap) it should be separated out as an independent library that can be optionally installed if so desire and be done as a provider model/connector.

Won't Fix

Details

Assignee

Reporter

Story Size

Unknown

Severity

Minor

Triage

Triaged

Includes Code Fix

No

Affects versions

Priority

Created December 16, 2016 at 5:22 PM
Updated January 7, 2017 at 1:55 AM
Resolved January 7, 2017 at 1:55 AM