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 ...DotNetNuke.Modules.Admin.Sales.PayPalSubscription.GetBillingFrequencyCodeDotNetNuke.Modules.Admin.Sales.PayPalSubscription.GetBillingFrequencyCode
Previous
 
Next
New Post
11/21/2012 1:15 PM
 

Testing subscriptions on Community Edition 06.02.02 (125). I've setup payment information and created a subscriber role that has a duration of 12 months. When I try to test a new user and subscribe to the role via the 'Manage Services' section I'm getting redirected to the profile page, rather than moving on to Pay Pal. Any fix for this?

 

ActiveTabName: Activity Feed

RawURL: /admin/Sales/PayPalSubscription.aspx?tabid=60&RoleID=2

AbsoluteURL: /admin/Sales/PayPalSubscription.aspx

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 51093986-ec6b-4bda-a04e-f36cc27fefca

InnerException: Object reference not set to an instance of an object.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: DotNetNuke.Modules.Admin.Sales.PayPalSubscription.GetBillingFrequencyCode

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Admin.Sales.PayPalSubscription.GetBillingFrequencyCode(String Value) at DotNetNuke.Modules.Admin.Sales.PayPalSubscription.OnLoad(EventArgs e) --- End of inner exception stack trace ---

Source:

 

 
New Post
1/20/2013 3:33 PM
 
Did you find a fix? We have discovered the same problem.
 
New Post
1/20/2013 4:26 PM
 
It seems they have fixed it in version 7.01
http://support.dotnetnuke.com/issue/V...
So, an upgrade to 7 is required - which has 3rd party module developer catch-up to deal with...
 
New Post
5/17/2013 7:19 PM
 

OK. I have a fix for this issue for those on 6.2.7.3.  Fair warning this has only been tested on my dev site.  In other words use at your own risk and be sure to test on a dev site before rolling to production.

In issue 23294 Francesco Rivola describes this issue as a problem with the stored proc "GetPortalRoles" returning "Month(s)" when it should be returning "M".  http://support.dotnetnuke.com/project...

So I modified the stored proc in question to return only the first char of whatever is in the field BillingFrequency.

To modify open the stored proc for modification and find the following string:

case when convert(int,R.ServiceFee) <> 0 then L1.Text else '' end AS BillingFrequency,

and update it to

case when convert(int,R.ServiceFee) <> 0 then SUBSTRING(L1.Text, 1, 1) else '' end AS BillingFrequency,

I can tell you that after I made these changes the Paypal subscription page came up properly and the procedure worked with the exception of an issue we are having where the subscriber is not being added to the proper role.  (see http://www.dotnetnuke.com/Resources/F...)

Finally if you don't know how to modify a stored proc then you probably shouldn't be attempting this. 


-something clever or funny.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DotNetNuke.Modules.Admin.Sales.PayPalSubscription.GetBillingFrequencyCodeDotNetNuke.Modules.Admin.Sales.PayPalSubscription.GetBillingFrequencyCode


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