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.03rd Party Payment Integration3rd Party Payment Integration
Previous
 
Next
New Post
8/16/2007 3:18 PM
 

I have some problems surrounding integrating my V4.5.3 DNN site with 3rd party payment providers (specifically Protx and Pay Pal using the "Buy It Now" single purchase button).  This is something that I imagine lots of people have already done with the greatest of ease!

My first issue was that to integrate with Protx I need to place a form on my DNN page and then submit that to POST the key information.  Since DNN already wraps everything in a <form> tag I decided to place this payment submission form on a seperate aspx page within my site and redirect to that from DNN so that it can happily POST on to the 3rd party payment provider.  This works fine.

The issue I am now hitting however is that when the user returns from their successful/failed payment operation they're challenged to log back on again and I really wanted them to  remain logged in so that I could fire some code to update some tables in my DNN database with the outcome of the payment attempt.

I don't want to use the DNN store since I have my own business rules for what's being sold and the price so can anyone walk me through or point me at some suitable documentation for 3rd PPP integration with DNN?

With thanks,

Kevin

 
New Post
8/16/2007 4:10 PM
 

If the other page is running on the same site as DNN then you can keep the user logged in by including the portalid on the querystring.

Here's another method of doing the buy now button with a simple html module:

http://www.snapsis.com/DNN-Tips-And-Tricks/tabid/560/forumid/12/postid/5091/view/topic/How-To--Add-PayPal-Buy-Now.aspx


DotNetNuke Modules from Snapsis.com
 
New Post
8/17/2007 6:17 AM
 

John

Many thanks for the info and the link, I will try the PortalID - my issue however is that I am redirecting from a page on DNN to a self-contained ASPX page (still on the DNN site and registered as part of the control in the .dnn file of that bespoke module) but which does not inherit any of the base DNN classes which I imagine I might need to keep the user logged in.

Maybe I will consider rewriting along the lines you suggest to fire my post from within a DNN page, but that still leaves the issue of whether they will be logged in when they get back - are you saying that adding the PortalID to the URL used to return then should also keep them logged in?

Sorry if this all seems a bit confused, I've been working around the DNN form issue and so have a slightly odd set up with a DNN page redirectingt to an ASPX page (still on the DNN site) which does a post on to the 3rdPPP and the return URL is another ASPX page on my DNN site with a link back to the DNN home.

Kevin

 
New Post
8/17/2007 9:27 AM
 

Hi Kevin,

It doesn't matter if your external page is inheriting from the DNN framework because the authentication check is done inside an http module that gets used for all requests inside the DNN website.

Just make sure every request inside the DNN site has a way to identify the specific portal. If you call the external page with portalid on the querystring, and then you return with a specific tabid in the url then it should work without logging the user out.

 


DotNetNuke Modules from Snapsis.com
 
New Post
8/20/2007 9:19 AM
 

John

Many thanks again, adding the portal ID to the querystring was exactly what I needed to do and has resolved my issue.

Kevin

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.03rd Party Payment Integration3rd Party Payment Integration


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