On PayPal subscriptions, it appears that all I need to do is treat it like a regular IPN except look at the txn_type
field. When I see one of the following stat
I know i'm kind of late in this post, but here is a quick solution (php) for your question:
switch ($_POST['txn_type']) {
case 'cart':
//for products without subscription
break;
case 'subscr_payment':
//subscription payment recieved
break;
case 'subscr_signup':
//subscription bought payment pending
break;
case 'subscr_eot':
//subscription end of term
break;
case 'subscr_cancel':
//subscription canceled
break;
}