PayPal IPN Problem

Discussion in 'Programming' started by Alexwhin, Mar 4, 2011.

  1. #1
    Hey,

    I've been using the PayPal IPN for a while now, but only with standard payments. I'm looking to process subscription payments with it but not sure what fields I need to include.

    At the moment I'm using these fields:

    $p->add_field('business', "myemail@whatever.com");
    $p->add_field('return', "http://mysite.com/");
    $p->add_field('cancel_return', $this_script.'?action=cancel');
    $p->add_field('notify_url', $this_script.'?action=ipn');
    $p->add_field('item_name', "My Subsciption Name");
    $p->add_field('amount', "999.99");
    $p->submit_paypal_post();
    //$p->dump_fields();
    Code (markup):
    Any ideas what fields I'd need to add for subscription payments?

    Thanks!
     
    Alexwhin, Mar 4, 2011 IP