Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Manage Services Subscriptions with PayPal IPNManage Services Subscriptions with PayPal IPN
Previous
 
Next
New Post
6/14/2016 5:53 PM
 
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? 

 
New Post
6/16/2016 8:22 PM
 

Is there something that would cause a redirect for the /admin/sales/paypalipn.aspx file?

I notice that when I call to some sites that file renders a blank page.

When I call to a couple of my installations I get redirected to mydomain.com/home/def/errormessage   

 

 
New Post
6/18/2016 1:56 AM
 

For the benefit of anyone else who bumps into these symptoms...  

The sandbox API for PayPal requires TLS 1.2 right now.  Their production environment will require it in another year.  

My shared hosting environment did not properly have TLS 1.2 enabled so all calls to the sandbox endpoint failed.

 

 
New Post
6/18/2016 6:10 AM
 
I would not use this part of DNN because it will be deprecated soon.

www.server-essentials.com is a community for IT Consultants and Business Owners who, themselves, take care of the IT infrastructure and Employees who do that little extra in the company to keep things running. Our forum is for discussing all things ‘IT’ and more. Our documentation is top notch and written by and for the community. Join now at https://www.server-essentials.com/secure-registration
 
New Post
6/18/2016 8:24 PM
 
link?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Manage Services Subscriptions with PayPal IPNManage Services Subscriptions with PayPal IPN


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out