Quote:
Originally Posted by mambomouth
As for the Hooks question?
In the includes/class_paid_subscription.php
which is called by both the payment_gateway.php and payments.php.
There are two hooks
1. "paidsub_build" which adds the user to a subscription group.
If paid this execute credit to Affiliate.
2. "paidsub_delete" which deletes the user a subscription group.
If revered this execute minus credit to Affiliate.
What do you guys think?
This way we would not to hand code mod's on updates.
|
iDevAffiliate still doesn't handle reversed payments. They say it will be handled in the next upgrade.
As for the hooks - we mentioned in a couple of earlier posts - but we are not sure where to get the data from to process idev calls at present hook locations.
There is also still not a hook that can be used to insert IP address into paymentinfo only on first payment and not on recurring payments ... so payments.php would still need to be hand edited.