PayPal Payments (Script)

Discussion in 'PHP' started by webviz, Jul 2, 2006.

  1. #1
    Hello everyone,

    I was wondering, how would I build a script for someone to upgrade their account to a premium membership. All I want to know is how to have the user pay and subscribe and then make sure he completed the payment and after he is done he should return to my page and be able to have premium access. I also would want to know how I would be able to check if he paied the for the new month and whatnot. Can Someone show me how this is done?
     
    webviz, Jul 2, 2006 IP
  2. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Paypal have an API with loads of example php scripts. Check the merchant section of the site for details.

    Basically you send a user to paypal and they complete the payment. Halfway through paypal will pull a script from your site to tell you that the transaction is OK and then they send the user back to your site.
     
    mad4, Jul 3, 2006 IP
  3. webviz

    webviz Peon

    Messages:
    216
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    wow, very helpful...
     
    webviz, Jul 3, 2006 IP
  4. Site Owner

    Site Owner Peon

    Messages:
    69
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    have you tried searching HotScripts.com - one of the best in the biz :)
     
    Site Owner, Jul 3, 2006 IP
  5. Mystique

    Mystique Well-Known Member

    Messages:
    2,579
    Likes Received:
    94
    Best Answers:
    2
    Trophy Points:
    195
    #5
    In addition to Hotscripts and Sourceforg.net, you can tray Payloadz.com where you can seel items using their gateway interface the way you want.

    This service has no cost, although you can upgrade it for a fee in order to host digital goods for sale
     
    Mystique, Jul 3, 2006 IP
  6. webviz

    webviz Peon

    Messages:
    216
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I was hoping someone could give me a direct path to something that could help me. Also, I don't want anything that is related to buying and selling. I am looking for a paied subscription script. I think this is too hard for you to understand.
     
    webviz, Jul 3, 2006 IP
  7. iowadawg

    iowadawg Prominent Member

    Messages:
    10,918
    Likes Received:
    811
    Best Answers:
    0
    Trophy Points:
    380
    #7
    What are you looking for?
    How will people pay?
    Credit card?>
    If you are going to accept paypal, then they have everything you need.

    If you are not going to accept paypal, check the various credit card payment processors. They would also have what you need.
     
    iowadawg, Jul 3, 2006 IP
  8. [*-AnOnYmOuS-*]

    [*-AnOnYmOuS-*] Active Member

    Messages:
    253
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    58
    #8
    Wow I've been trying to figure this out for a loooong time now..Thanks alot.
     
    [*-AnOnYmOuS-*], Jul 3, 2006 IP
  9. webviz

    webviz Peon

    Messages:
    216
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Hello everyone,

    This is what I am looking for:

    1) The user would click the subscribe button and it would take the user to the PayPal page where he/she would complete his/her payment of $4.95 USD, then each month, he/she would be charged $4.95.

    Now, say it is half way through the month and the user decides to cancel his/her subscription, then it would allow the user to continue downloading things until the month is over. Once the month is over and if the payment wasn't made, it could close the users account until the next payment is made.

    2) Once the payment and subscription has been made, it would auto email the user the password (and the username would be same as the email address)

    3) Then the user visits a special directory on my website and it will ask him or her for her login information. Once the user enters and logs in, he/she will have access to download all kinds of things.

    How would I do all of this? I am sure there is a script which could do this. I would like the script to be PHP so I could simply modify it and whatnot.

    Anyhow, I look forward to your replies!
     
    webviz, Jul 3, 2006 IP
  10. iowadawg

    iowadawg Prominent Member

    Messages:
    10,918
    Likes Received:
    811
    Best Answers:
    0
    Trophy Points:
    380
    #10
    iowadawg, Jul 3, 2006 IP
  11. webviz

    webviz Peon

    Messages:
    216
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Um... that dosn't do what I ask for. Did you even read my post just above you for what I am looking for?
     
    webviz, Jul 3, 2006 IP
  12. danielbruzual

    danielbruzual Active Member

    Messages:
    906
    Likes Received:
    57
    Best Answers:
    0
    Trophy Points:
    70
    #12
    Below I link to two resources I think might fit your needs, there is a manual on the paypal page which might help you. The other page is selling a script for $40 which allows you to have a premium's member only area in your site which charges users via paypal to renew their subscription.

    http://www.paypal.com/cgi-bin/webscr?cmd=p/pdn/pp-solutions-subscriptions-outside
    http://www.idevspot.com/iSubscribe.php

    Hope it helps,

    Daniel

    EDIT: also check http://www.easebayresources.com/product_psm.html
     
    danielbruzual, Jul 6, 2006 IP