Help with PayPal Subscriptions

Hi,

I am working on a website which uses Paypal recurring payments or subscriptions.
I am able to generate html code for the paypal subscribe button but when it comes to IPN i am facing issues:

For example:
The site offers trial period of 10 days and then after 10 days it auto starts charging $10 for each month.
I am able to generate button code for this.

Issue I am facing is that at the time of IPN how will I know, for how many days the payment has been made ?
How will paypal tell me that whether the IPN is for 10 days or for 30 days ?

Because I then have to compute the days and update it in database so that user can access the website.

Please help.

Thanks.

There is additional data passed in the IPN for subscriptions

https://www.paypal.com/cgi-bin/webscr?cmd=p/acc/ipn-subscriptions-outside

Hi,

I have seen that page but it does’nt tell whether the payment that has been made is a trial period payment or recurring payment. How do I determine that ?

Thanks.

Hi,

I need some calrification plz…

  1. if txn_type = subscr_signup then it means that customer has paid for trial period ?
  2. if txn_type = subscr_payment then it means that customer’s trial is over and payment for recurring subscription has been paid ?

Is this how I differentiate between trial and final recurring payments in my IPN file ?

Thanks.