working autosignup & billing api

Discussion in 'Tips/Tricks/Mods' started by grandpagenocide, Dec 24, 2007.

  1. grandpagenocide

    grandpagenocide ISPConfig Developer ISPConfig Developer

    Well I dont know how many people are interested but here is a working autosignup with as a billing api, make your adjustments to the autosignup.php for your own server, add your user and pass key to the process.php, and in the email.php change the email addresses to your choice of address, and your good to go. I am still working on the multiple packages in the mainsite database dump, but if you are setting up a single package its good to go. -- and if you need a 3rd party billing for email me I also provide that as a service.
    Thanks Tommahawk for the autosignup.php script. And Thanks to my php programer in Austrailia Doc Chris
    Last edited: Apr 7, 2008
  2. 3StrikesDesign

    3StrikesDesign New Member

    Where can I obtain a copy of this script?
    Your website says it is down.
  3. rdtech

    rdtech New Member

    So I bought a copy a about 2 months ago. Is there any updates to the software?

    I'm also going to point paypal to instead of sandbox. Which way is the easiest?
    Please advise.


    Last edited: Aug 22, 2008
  4. grandpagenocide

    grandpagenocide ISPConfig Developer ISPConfig Developer

    In the paypal.php file lines 17 and 18. Currently there is not an update, we are working on a V2 at the moment, which is 10 steps beyond version 1, the new version is going to have 29 billing modules, opensrs integration, and a few other goodies
  5. alexnz

    alexnz New Member

    does this work for subscription billing also?
  6. grandpagenocide

    grandpagenocide ISPConfig Developer ISPConfig Developer

    alex, yes it uses paypal subscriptions for billing
  7. alexnz

    alexnz New Member


    whats the ETA on version 2? and will it be a free upgrade from version 1?
  8. grandpagenocide

    grandpagenocide ISPConfig Developer ISPConfig Developer

    alex v2 is a bit delayed due to a variety of reasons, but it is going to be a completely different script, it wont be a free upgrade, but anyone who has purchased v1 will get a discount on v2
  9. alexnz

    alexnz New Member

    thanks for your answer, i have a few more questions

    after the user has paid via paypal does the user get sent back to your website?

    secondly how do you check to see if the user has paid? are you using paypal api's to then automate the creation of the user with ispconfig?

    how do you handle the post payment of a user?
  10. grandpagenocide

    grandpagenocide ISPConfig Developer ISPConfig Developer

    1. paypal sends the user back to your website, make sure the paypal ipn returns to the autosignup.php.
    2. the paypal ipn confirms the user payment, if the payment did not process, the account wouldnt get created as paypal wouldnt return to the autosignup.php
    3. it sets up a subscription with paypal, so it bills monthly automatically.
    I hope that answers all of your questions.
  11. alexnz

    alexnz New Member

    thanks, some more questions, i wish to understand the technical aspects of it

    with the 2) answer, i have a couple of questions

    so when the paypal ipn sends the user back to the autosignup.php AFTER he has paid, does paypal send the user back to autosignup.php with a unique key? ie:

    autosignup.php?user=abc123&paypal-paid=yes&hashkey=23123 ?

    from there you can verify those details, and once they are, verified from paypal does your script then proceed to sign them up through the ispconfig soap calls?

    how DOES your script verify correctly that your user has signed up?
  12. grandpagenocide

    grandpagenocide ISPConfig Developer ISPConfig Developer

    As its coming from paypal's ipn, you change the name of autosignup.php to keep it hidden, there is no verification in this version of it other than the ipn returning.
    When the ipn returns, it automatically creates the user account.

Share This Page