How to load affiliate manager information
Here is an example of how can affiliate load affiliate manager information.
<?php include 'PapApi.class.php'; //the PapApi.class.php can be found at the PAP installation folder, in the 'api' directory $session = new Pap_Api_Session("https://your_pap_url/scripts/server.php"); if(!$session->login("affiliate login","password", Pap_Api_Session::AFFILIATE)) { die("Cannot login. Message: ". $session->getMessage()); } $request = new Gpf_Rpc_FormRequest("Pap_Affiliates_MerchantInfo", "l...