Protect Plugin: Post Affiliate Pro
REQUIREMENTS
PostAffiliatePro (tested with 4.5.82.6 version) http://www.qualityunit.com/
INSTALLATION:
Copy file
PapApi.class.phpfrom your PAP folder to/var/www/html/amember/application/default/plugins/protect/papfolder.Enable plugin in aMember Admin CP/Setup, then go to plugin settings page and configure it.
Go To amember CP -> Protect Content -> Integrations and configure access settings for PAP plugin.
Check your installation by doing new signup. After signup completed, new Affiliate must appear in PostAffiliatePro Affiliates.
Optionally you can add PostAffiliate PRO Referral ID and Parent Affiliate ID bricks to signup form at aMember CP -> Forms Editor
Important Notes
once customer removed from aMember, PostAffiliatePro Affiliate Status sets to Declined.
once customer subscription expired, PostAffiliatePro Affiliate Status sets to Pending.
all additional data fields on PAP -> Configuration -> Signup Form shouldn't be set as mandatory