1. Howdy! Welcome to our community of more than 125.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
  2. Add your web host to our brand new web hosting directory (beta).

cP Creator - **FREE** Free Host Manager

Discussion in 'Selected best free scripts' started by JonnyH, Nov 29, 2007.

  1. JonnyH

    JonnyH The Hosting Tool NLC

    Joined:
    Oct 21, 2006
    Messages:
    2,616
    Likes Received:
    61
    Trophy Points:
    0
    Hehe, thanks for the suggestions. I've been looking at the paypal developer section but I want to do some extra things first.
     
  2. krakjoe

    krakjoe stop staring NLC

    Joined:
    May 19, 2006
    Messages:
    3,619
    Likes Received:
    83
    Trophy Points:
    0
    You know the paypal sandbox is hell to work with, take a look at eliteweaver.co.uk IPN sandbox, much easier to use while you establish your routines, you still will need a sandbox account or two before you release the code, but eliteweaver will get you to release stage a lot quicker that the stupid sandbox ...
     
  3. JonnyH

    JonnyH The Hosting Tool NLC

    Joined:
    Oct 21, 2006
    Messages:
    2,616
    Likes Received:
    61
    Trophy Points:
    0
    Thanks for the advice Joe once again.
     
  4. hamster

    hamster Super Moderator NLC

    Joined:
    Jul 17, 2007
    Messages:
    2,634
    Likes Received:
    51
    Trophy Points:
    128
    Maybe alertpay? Lots of people are starting to move over there from what I've observed lately...
     
  5. JonnyH

    JonnyH The Hosting Tool NLC

    Joined:
    Oct 21, 2006
    Messages:
    2,616
    Likes Received:
    61
    Trophy Points:
    0
    I'll take and consider any suggestions. I'll be mainly looking at paypal first.
     
  6. krakjoe

    krakjoe stop staring NLC

    Joined:
    May 19, 2006
    Messages:
    3,619
    Likes Received:
    83
    Trophy Points:
    0
    You should bear in mind johnny that people do like to use other services, some countries dont have paypal, some parents won't allow it etc ... my suggestion would be while designing the transaction table to make the column names as generic as possible and do not copy paypal definitions, this will make easy when someone wants to use a different payment processor ( most work in the same way, some sort of HTTP postback ) ... you'd do well before you start to look into the source code of an opensource application to see how they achieve using the same transaction table for multiple payment processors, let someone else do the hard work ...
     
  7. JonnyH

    JonnyH The Hosting Tool NLC

    Joined:
    Oct 21, 2006
    Messages:
    2,616
    Likes Received:
    61
    Trophy Points:
    0
    Thanks for the advice. Since i've never worked with payment processing before It's unknown territory. That means I don't have a clue how it works. I'll most likely be looking how they work and build a generic system which could work for whatever the system is. That may be a while yet, I'm doing a recode of the whole script.
     
  8. InfiniteTech

    InfiniteTech New Member

    Joined:
    Jun 24, 2006
    Messages:
    693
    Likes Received:
    12
    Trophy Points:
    0
    Joe, I suppose you had a similar script like this years ago. It could help Jonny if you share it with him.

    I doubt you even have that. ;D
     
  9. krakjoe

    krakjoe stop staring NLC

    Joined:
    May 19, 2006
    Messages:
    3,619
    Likes Received:
    83
    Trophy Points:
    0
    I've written more than one, however I have lost them all ... plus I can't help johnny too much with this as a client is paying me to compete, I can give him advice in general on programming but code I should keep to a minimum to satisfy my client ...
     
  10. JonnyH

    JonnyH The Hosting Tool NLC

    Joined:
    Oct 21, 2006
    Messages:
    2,616
    Likes Received:
    61
    Trophy Points:
    0
    That's understandable. Thanks for the help though. I really need to plan this system well.
     
    Last edited: Mar 5, 2008
  11. iBrightDev

    iBrightDev Jay Street NLC NLC

    Joined:
    Oct 3, 2005
    Messages:
    7,154
    Likes Received:
    200
    Trophy Points:
    0
    PayPal is a good place to start, but, i would recommend getting stuff for 2checkout and other systems too.
     
  12. JonnyH

    JonnyH The Hosting Tool NLC

    Joined:
    Oct 21, 2006
    Messages:
    2,616
    Likes Received:
    61
    Trophy Points:
    0
    Cheers. I'll be looking at the other systems.

    Is there anyway of totally globalizing a variable? So I don't have to global it inside a function?
     
  13. JonnyH

    JonnyH The Hosting Tool NLC

    Joined:
    Oct 21, 2006
    Messages:
    2,616
    Likes Received:
    61
    Trophy Points:
    0
    Lemme explain in more detail. I have a couple of classes

    class 1
    class 2

    main -> class 1 = fine
    main -> class 2 = fine
    class 1 -> class 2 = broke

    PS: Global in each function isn't suitable.
     
    Last edited: Mar 5, 2008
  14. krakjoe

    krakjoe stop staring NLC

    Joined:
    May 19, 2006
    Messages:
    3,619
    Likes Received:
    83
    Trophy Points:
    0
    This is pretty general PHP, and so I'll give you a hand ...

    PHP:
    <?php
    class Main
    {
        public static 
    $myVar ;
        
        function 
    __construct( )
        {
            
    self::$myVar "krakjoe" ;

            
    printf"%s: my name is %s\r\n"__CLASS__self::$myVar );
        }
    }
    class 
    Next extends Main
    {
        function 
    __construct( )
        {
            
    printf"%s: my name is still %s\r\n"__CLASS__parent::$myVar );
        }
    }
    class 
    Another extends Main
    {
        function 
    __construct( )
        {
            
    printf"%s: my name is still %s\r\n"__CLASS__parent::$myVar );
        }
    }

    $oMain = new Main( );
    $oNext = new Next( );
    $oAnother = new Another( );

    printf"Procedurally my name is still %s\r\n"Main::$myVar );
    ?>
     
  15. XT-iZac

    XT-iZac New Member

    Joined:
    Aug 12, 2007
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    0
    Just a quickie...is there anyway to intergrate the P2H module with other billing systems...

    and didn't mention...one reason why people are moving over the AlertPay is because all PTC (Pay to Click Sites) have to switch over to AlertPay as paypal no longer accepts these kind of services...

    Also, if i have some spare cash i don't mind donating to help this project :)

    Fantastic work!
     
  16. JonnyH

    JonnyH The Hosting Tool NLC

    Joined:
    Oct 21, 2006
    Messages:
    2,616
    Likes Received:
    61
    Trophy Points:
    0
    Cheers Joe. You fixed all my problems :)
     
  17. krakjoe

    krakjoe stop staring NLC

    Joined:
    May 19, 2006
    Messages:
    3,619
    Likes Received:
    83
    Trophy Points:
    0
    Most are not only encoded but have non documented or poorly documented API's.

    I believe iPanel is the only commerical one that has a post2host system ...
     
  18. JonnyH

    JonnyH The Hosting Tool NLC

    Joined:
    Oct 21, 2006
    Messages:
    2,616
    Likes Received:
    61
    Trophy Points:
    0
    That's correct Joe.
    I decided to ditch the re-code anyway. Not worth it.
     
  19. XT-iZac

    XT-iZac New Member

    Joined:
    Aug 12, 2007
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    0
    Well, I meant more of doing something like spacesocket does for myBB just that we do it for IPB/vB
     
  20. krakjoe

    krakjoe stop staring NLC

    Joined:
    May 19, 2006
    Messages:
    3,619
    Likes Received:
    83
    Trophy Points:
    0
    I wrote spacesocket.com WHM integration too ... is possible for any forum ....
     

Share This Page