PDA

View Full Version : Paypal Reccurring Commissions


NewBiz
3rd November 2004, 11:22 AM
Hi All

I just bought the script and trying to install to my site.

The installation is smooth.

However there are no clear instructions to how to intergrate
Paypal Subscription ? Is it just like the single purchase ?

Just add the following script will works? :

<input type="hidden" name="notify_url" value="http://www.yoursite.com/affiliate/scripts/paypal.php">
<input type="hidden" name="custom" value="<?=$_COOKIE['POSTAff2Cookie']?>">

Pls let me now if i miss anythings.

How Paypal will notify the reccurring sales to the affiliate system?
Will it notify the paypal.php ?

Secondly, do i need to use cron jon ? (I'm using Linux host)
What command to use ?


Thanks in advance
NewBiz

mark
9th November 2004, 01:22 PM
Hi,

currently PostAffiliate Pro handles recurring commissions by itself, independently from PayPal. Support for PayPal recurring (subscriptions) support will be added in version 1.4.

btw. you can check new fetures of all incoming versions and products here
http://www.webradev.com/features/features.php

regards,

mark

Josiah
6th December 2004, 04:26 AM
Hello Mark,

Could you briefly explain how version 1.4 handles reoccurring payments with PayPal subscriptions?

I'm planning on doing a large subscription-based site, and I want affiliates to receive payments for as long as the people they refer are active members. :-)

Thanks,
Josiah

mark
7th December 2004, 09:49 AM
the native support for PayPal subscription was added in version 1.4.
Normal (old) support for recurring commissions works independently
from any payment processor. You define your recurring commissions and
period in product category, and then the corresponding commission is
generated periodically for the referring affiliate until you manually cancel them.


With PayPal subscriptions it works other way - you do not need to
define any recurring commissions.
When customer signs up, paypal sends initial IPN call. Affiliate system will register it, and generate a commission.
For every next recurring payment PayPal send IPN call again (with the same subscription id), so the system is able to recognize it is a recurring subscription call and generate a commission again.
When the customer cancels subscription, there are no more IPN calls
sent by PayPal, so the generating of commissions will automatically
stop.

To use this functionality, you should use script paypal_subscr.php instead of paypal.php in the notify_url parameter.
paypal_subscr.php can handle also normal payments, so you dont need to use two scripts.

One issue with payal subscriptions is that the commissions are not computed from 'Recurring commissions' in product category, but from normal per sale commissions.

with regards,

mark