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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Core DNN Subscription ModificationCore DNN Subscription Modification
Previous
 
Next
New Post
11/1/2007 5:01 PM
 

Before the "Flames" start let me say that I am taking this approach in an attempt to overcome an apparent shortcoming in the core.  Once I get this documented and resolved I do intend to post the details to Gemini for review.

From what I've found, the core does not "use" the "Payment Processor" setting (URL from the List entry) selected under "Site Settings" -- at least for processing paid subscriptions (Roles).  It does use the user id and password.  I understand that currently DNN only supports PayPal and that is fine.  However, there seems to be no way to direct DNN to the "PayPal Sandbox" for testing.

I first noticed when I setup a Payment processor pointing to the "PayPal Sandbox" (www.sandbox.paypal.com) for testing. when I tried to subscribe it was sending me to the live PayPal site.  After a little digging I discovered that "www.paypal.com" is hard coded into a number of pages (see the list below).  For my issue with paid subscriptions I'm mainly concerned with the first two.

- ...\admin\Sales\PayPalIPN.aspx.vb
- ...\admin\Sales\PayPalSubscription.aspx.vb
- ...\admin\Sales\Purchase.aspx.vb
- ...\DesktopModules\Events\Settings.ascx

Using DNN 4.5.5 Source Install
Visual Studio 2005 SP1
Web Server Windows 2003 Standard

After investigating I've found that with a little code I could make the software to read the "Payment Processor" and use it instead of the hard coded value.  My problem in testing is that I need to get the modified code on a test web server with access to the outside so that the paypal IPN response can get received and processed. 

What files do I have to move to my external test server?

I've created an install on my local development computer using the "Source Code" install of DNN 4.5.5, I've modified the above code and compiled successfully.  When I attempt to subscribe to a role it goes to the sandbox.  In order to complete the testing I need to move it to the external test server but I don't know what files to copy. 

At first, I though it was just a matter of copying the "DotNetNuke.dll" file but that's not the case.  We have been doing DNN module development successfully for about a year but this is our first attampt at modifications to DNN itself.

Any help would be greatly appreciated.

 
New Post
11/3/2007 4:14 PM
 

I'm no DNN expert, as I've only been working with it for three weeks, but I'll take a guess. I think you'll just need to copy the new versions of those files up to the server and it will dynamically recompile.

Paul T

 
New Post
11/3/2007 10:25 PM
 

DNN 4.0 makes use of dynamic compile for much of the framework - appart from the explicitly compiled classess that get built into dotnetnuke.dll and the various providers.

As a result all you really need to do for the files you mentioned is copy them over to the live server.

The next time you open a page on the LIVE site the new files will be compiled and used.

Westa

 
New Post
11/5/2007 4:42 PM
 

Paul & Wes...

Thanks for straightening me out!  Sometimes I tend to over-complicate solutions to issues and overlook the obvious.  Thinking I was modifying "the core" I immediatly thought that the code would be burried inside DotNetNuke.dll or some other dll.  In retrospect, these are ASP files and I should have realized it was just a matter of copying them.  I got it all working, THANKS!!

Best regards,
Chuck

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Core DNN Subscription ModificationCore DNN Subscription Modification


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