+ Reply to Thread
Results 1 to 5 of 5




  

Thread: Paypal Subscription

      
  1. #1
    Jedi Master jeremy90 is on a distinguished road
    Join Date
    January 17, 2008
    Location
    USA, VA
    Posts
    184
    Rep Power
    5
    Feedback Score
    0

    Default Paypal Subscription

    I am planning on making a site where members need to pay a monthly fee to be a part of. But I can't figure out how to let paypal tell me if they are paying it each month and that they need not cancel it. So, if they don't pay or cancel their subscription there account would be locked automatically. Because it would drive me crazy each month to go throw my billing info and make sure that people are still paying.

    Does anyone have any ideas for me? I was planning on not using a script and just writing the full thing myself.

  2. #2
    I'm New! rahulbagal is on a distinguished road
    Join Date
    July 1, 2009
    Location
    India
    Posts
    10
    Rep Power
    3
    Feedback Score
    0

    Post Re: Paypal Subscription

    I think you should use paypal product "Recurring Payments for Website Payments Pro"

    Here is link for documentation

    Hope this helps

  3. #3
    Jedi Master Jessicasen is on a distinguished road
    Join Date
    June 22, 2009
    Posts
    119
    Rep Power
    3
    Feedback Score
    0

    Default Re: Paypal Subscription

    But the person wants that once payment is release than no one can cancel it and in paypal any one can cancel the payment so he want some other option for that.

  4. #4
    Jedi Master jeremy90 is on a distinguished road
    Join Date
    January 17, 2008
    Location
    USA, VA
    Posts
    184
    Rep Power
    5
    Feedback Score
    0

    Default Re: Paypal Subscription

    Quote Originally Posted by rahulbagal View Post
    I think you should use paypal product "Recurring Payments for Website Payments Pro"

    Here is link for documentation

    Hope this helps
    Thanks a bunch!

  5. #5
    Jedi Master cwboaze will become famous soon enoughcwboaze will become famous soon enough cwboaze's Avatar
    Join Date
    April 15, 2008
    Location
    Danville, Virginia. USA
    Posts
    90
    Rep Power
    5
    Feedback Score
    0

    Talking Re: Paypal Subscription

    if your going to write your own script, use. Paypal's IPN, response systems. Here's an example code of it: (Every account, above Standard, can access this system, some standards can).

    PHP Code:
    foreach ($_POST as $key => $value) {
            
    $value urlencode(stripslashes($value));
            
    $req .= "&$key=$value";
    }

    $header .= "POST /cgi-bin/webscr HTTP/1.0\r\n";
    $header .= "Content-Type: application/x-www-form-urlencoded\r\n";
    $header .= "Content-Length: " strlen($req) . "\r\n\r\n";

    $fp fsockopen ('www.paypal.com'80$errno$errstr30);

    if (
    $_POST[txn_type] == subscr_cancel) { RUNYOURCODEHEREIFTHEYUNSUBSCRIVE }

    // you have the following variables, in subscriptions (dealing with payment)

    if ($_POST[txn_type] == subscr_signup)
    if (
    $_POST[txn_type] == subscr_eot)
    if (
    $_POST[txn_type] == subscr_failed)
    if (
    $_POST[txn_type] == subscr_cancel)
    if (
    $_POST[txn_type] == subscr_payment
    o, yeah. and to make this work with paypal, depending on your settings,
    add the following to a subscription buttons code:

    <input type="hidden" name="notify_url" value="http://www.yoursite.com/ipn.php" />

    It's very detailed, the paypal documentation on this. So,
    it's on you to get it done, if your not looking to hire
    someone or buy a script.
    ----------------------------
    :neutral: - Chris Boaze - :neutral:
    Webmaster/Programmer
    http://www.webdevelopmenttechnology.com

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Easily Create recurring PayPal subscription URLs
    By lovelylovely in forum Payment Processors
    Replies: 1
    Last Post: Nov 8th, 2008, 8:36 am
  2. paypal subscription
    By Red Hot Mama in forum Payment Processors
    Replies: 8
    Last Post: Aug 15th, 2008, 5:31 pm
  3. Free 1 yr PC Magazine Subscription
    By dgridley in forum Forum Lounge
    Replies: 0
    Last Post: Jul 11th, 2007, 8:41 am

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
WebTalkForums
WebTalkForums
Recent Forum Threads