Payment

Discussion in 'HTML & Website Design' started by Kngavl, Nov 10, 2007.

  1. #1
    Okay let me rephrase what I wrote before.
    I want someone to come to my site, pay with paypal and be taken to a special aprt of my site which only paid people can access. They pay to place their ad on the site. They insert all the correct info, then it gets posted on the site.
    How could I do this? Especially the part where after they pay they get transported to a "members area".
    How do I stop them from submitting an ad more then once?
     
    Kngavl, Nov 10, 2007 IP
  2. Katy

    Katy Moderator Staff

    Messages:
    3,490
    Likes Received:
    513
    Best Answers:
    7
    Trophy Points:
    355
    #2
    Simply place a paypal buy now button so that your visitors can purchase the ad space and then email you with the details. I believe there are some php scripts that do the job for you as well, you can try searching here: http://www.hotscripts.com
     
    Katy, Nov 10, 2007 IP
  3. Kngavl

    Kngavl Peon

    Messages:
    964
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Okay thanks for the reply Katy, I think what I was trying to find had something to do with paypal's IPN (instant payment notification) in that screen it says their are methods of "Customize your website's response to customer purchases in real time ". DOes anyone know how to customize it so that I can get the buyer to land a page not accessable by anyone who didn't buy?
     
    Kngavl, Nov 11, 2007 IP
  4. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #4
    There are several options, you can either allow them to enter all their details but not show their ad until the IPN comes back as all ok or not give them access until the IPN comes back.

    For option 2 which seems to be your preference you either simply dont enable their log in details until activated or use role based access control and add the new role of "Paid" or equiv to their profile and limit access to the screen to those with the Paid role.

    If there is a duration based aspect then you will need a cron job, service or equiv to either disable the account or remove the user from the Paid role after the year (or as appropriate) has expired.

    It is fairly straight forward to do as there are many free examples of how to handle the IPN including on paypals own site so the only bit you need to actually write yourself is the reaction codes for failed payments and successful payments. As we develop in .Net and you undoubtably use PHP we cannot give an actual example
     
    AstarothSolutions, Nov 12, 2007 IP
  5. Kngavl

    Kngavl Peon

    Messages:
    964
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hmm interesting thats what I was looking for thank you, do you know of any other examples rather then the ones on the ipn page?
     
    Kngavl, Nov 13, 2007 IP
  6. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Google it, there are lots of examples for .Net and so there will be even more for PHP
     
    AstarothSolutions, Nov 13, 2007 IP
  7. BackOfTheNet

    BackOfTheNet Peon

    Messages:
    344
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I did this this one one of my sites I can write this for you contact me via PM
     
    BackOfTheNet, Nov 15, 2007 IP