Open Source Excellence (OSE) Membership Control has its own integration module built in the system. You do not need to hack any of their codes to do the job. Simply open the component parameters> Choose PAP integration > enter your affiliate website URL, that's it.
If you are trying to integrate hosted PAP solution with this system, you have to enter the URL without http:// or https://. For example if you have your hosted PAP on URL http://myweb.postaffiliatepro.com
then you would enter only