Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th November 2005, 16:13
jakev383 jakev383 is offline
Junior Member
 
Join Date: Nov 2005
Posts: 16
Thanks: 1
Thanked 2 Times in 2 Posts
Default Integration for automated sales

Has anyone tried/done this? I'd like to have my domain where users can purchase hosting packages (probably using commerce-cgi.com), and somehow require the payment to go through before allowing them access? Maybe a generated password (by the shopping cart) and have it tie to ipsconfig's password? Is there a simpler solution? Or am I totally out there....
Thanks in advance.
Reply With Quote
Sponsored Links
  #2  
Old 18th November 2005, 04:18
TheDanMan TheDanMan is offline
Junior Member
 
Join Date: Nov 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Currently I am using a Perl Script that simply stores in a database the appropriate information to use in setting up a new user/domain in ISPConfig. I still set it up manually, but I don't see where it would be a problem, though it'll take some work to make it automatically update ISPConfig.

You'd need to be able to populate ISPConifg Database, Generate Apache Vhost Entries, Create Dir Tree for user and domain, set up mailbox, check for Payment, upon success mail login information to the new user. From there ISPConfig would need to be restarted as well as Apache.

This is not something I'm ready to tackle, but perhaps someone else here is.

Not impossible, but not easy.
Reply With Quote
  #3  
Old 18th November 2005, 12:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

I'm using the commercial version of ISPConfig, 42goISP, which has the remoting framework which allows you to create web sites, users, clients, resellers, ... from a remote server, and I've successfully integrated Whois.Cart with it.

It should also be possible with ISPConfig, but you would have to write directly to the ISPConfig database.
I suggest that you set up an ISPConfig test server, then kill the ispconfig_wconf process (that's the process that checks if something has changed in the ISPConfig database and triggers the ISPConfig backend to write new configurations); the ISPConfig frontend will still work then, and you can use it and have a look at the ISPConfig database what exactly changes when you create a new web site, etc.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 13th December 2005, 21:46
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,733
Thanks: 840
Thanked 5,597 Times in 4,407 Posts
Default Remoting extension for ISPConfig

The first beta of the remoting extension is now available for download.

http://www.ispconfig.org/remoting_plugin.htm
Reply With Quote
  #5  
Old 30th December 2005, 02:34
phlat phlat is offline
Junior Member
 
Join Date: Oct 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
I'm using the commercial version of ISPConfig, 42goISP, which has the remoting framework which allows you to create web sites, users, clients, resellers, ... from a remote server, and I've successfully integrated Whois.Cart with it.

It should also be possible with ISPConfig, but you would have to write directly to the ISPConfig database.
I suggest that you set up an ISPConfig test server, then kill the ispconfig_wconf process (that's the process that checks if something has changed in the ISPConfig database and triggers the ISPConfig backend to write new configurations); the ISPConfig frontend will still work then, and you can use it and have a look at the ISPConfig database what exactly changes when you create a new web site, etc.
I would be interested in your remoting "glue" for whois.cart and 42goISP/ISPCONFIG. What makes the calls for ISPCONFIG?

Last edited by phlat; 30th December 2005 at 04:00.
Reply With Quote
  #6  
Old 30th December 2005, 10:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,733
Thanks: 840
Thanked 5,597 Times in 4,407 Posts
Default

Quote:
Originally Posted by phlat
I would be interested in your remoting "glue" for whois.cart and 42goISP/ISPCONFIG. What makes the calls for ISPCONFIG?
The remoting framework uses SOAP calls.

Here you can find some example scripts written in PHP. They show you how to call the functions in ISPConfig.

http://www.ispconfig.org/remoting_plugin.htm

Example PHP scripts:
http://www.ispconfig.org/downloads/remoting_example.zip
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 31st December 2005, 09:55
phlat phlat is offline
Junior Member
 
Join Date: Oct 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have the remoting plugin. What do I need setup in whois.cart to make the SOAP calls? I realize whois.cart support is a bit off topic. But what is the terminology for whois.cart? I'm guessing there is a plugin for whois.cart that makes the SOAP calls for ISPCONFIG?
Reply With Quote
  #8  
Old 31st December 2005, 14:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,733
Thanks: 840
Thanked 5,597 Times in 4,407 Posts
Default

There is no plugin for whois cart available. The ISPConfig remoting framework is the technology to enable ISPConfig that you can write your own bindings for whois cart or any other external software.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 1st January 2006, 03:22
phlat phlat is offline
Junior Member
 
Join Date: Oct 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I understand this and thanks your answer. I need to figure out how to pass form info from whois.cart to a remoting script for ISPCONFIG. If anyone has experience with whois.cart and knows which script gets posted to, or how to specify in whois.cart which script gets posted to I would greatly appreciate that as well. Thanks.
Reply With Quote
  #10  
Old 1st January 2006, 15:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

Ok, this is for Whois.Cart v.2.2.62, I haven't tried it with newer versions, and instead of ISPConfig I'm using its professional variant, 42goISP.

In admin/hostinginterfaces I created the file cp42goisp.php

I also created cp42goisp_1_config.php in that directory and put soap.lib.php into that directory.
Attached Files
File Type: zip cp42goisp.zip (5.6 KB, 505 views)
File Type: zip cp42goisp_1_config.zip (1.2 KB, 487 views)
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Integration of a better email server enigmasoldier Feature Requests 5 2nd April 2007 01:17
3rd party integration cstone General 3 11th October 2005 17:59


All times are GMT +2. The time now is 20:12.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.