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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreHow do i add a new payment gateway?How do i add a new payment gateway?
Previous
 
Next
New Post
8/4/2006 2:14 PM
 
 
New Post
9/8/2006 11:39 AM
 
I would like to know the same thing, are there any tutorials or documentation available.
 
New Post
9/12/2006 12:46 PM
 
It's a firly simple process (assuming you have the store solution compiling).

Just add a new project with the same structure and files as one of the existing providers (say PayPal), obviously you need to rename all the namespaces, etc to separate your new provider from the one you copied.

I found it useful to add some methods to the PaymentControlBase to do things like sending customised emails (the kind of functionality that can be re-used for all gateways).

Once you've created your provider and it compiles, you just need to upload the assembly you created to the bin directory and the .ascx files (with .resx if necessary) to the desktopmodules/store/providers/gatewayproviders/<yourprovidername>/ folder.

I've created a basic email provider (that just sends emails notifying you of an order, but doesnt charge the customer anything) which I'd be happy to upload as a demo.

The problem is that I've made other changes, so you'd find that my new provider won't simply "plug in" to your existing module.

Perhaps one of the Store team can advise us the best way to provide code samples like this?
 
New Post
9/21/2006 7:30 AM
 

We're taking the same approach with our new gateway. My question is: how does our new gateway appear in the dropdown list of gateways? The available gateways don't appear to be listed in a database table or anything.

Cheers,

Matt

 
New Post
9/21/2006 11:40 AM
 
It seems like the Store just looks into the GatewayProviders folder and sees what subfolders there are there, then uses this knowledge to populate the list of Gateways, based on the subfolder names (regardless of whether they contain a working gateway). Hmm, well, it works...
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreHow do i add a new payment gateway?How do i add a new payment gateway?


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