Maximize the value of your existing affiliate marketing software and extend its possibilities with a wide range of integrations, plugins and apps. All built to improve the strong foundations of Post Affiliate Pro.
The faster, safer way to send money, make an online payment, receive money or set up a merchant account.
PayPal integrates using IPN callback even if the callback and custom field is used by another system (e.g. shopping cart). Because of this you will have to attach the cookie value to the original notification URL and later to re-send it to your Post Affiliate Pro.
The first step is to make sure that each paypal button has the notify_url field. You have to add this code to the notify_url field, in every button:
So the field looks like this:
<input name="notify_url" value="http://www.somedomain.com/your_existing_ipn_processor.php" id="pap_ab78y5t4a" />
This way we are sending the tracking cookie value to the processing script so we could use the value when sale is processed:
Now the IPN callback is pointed to your script. This callback has to be forwarded also to Post Affiliate Pro paypal.php script https://URL_TO_PostAffiliatePro/plugins/PayPal/paypal.php.
In case your PayPal processing script is PHP, you can use the following code to accomplish that. You can place it at the beginning of your processing file or beginning of the processing function.
/* Post Affiliate Pro integration snippet */ $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://URL_TO_PostAffiliatePro/plugins/PayPal/paypal.php?pap_custom=".$_GET['pap_custom']); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST); curl_exec($ch); /* /Post Affiliate Pro integration snippet */
This is it. Your PayPal is now integrated.
This is all that is required. Now whenever there’s a sale, PayPal will use its IPN function to call your script and from there, the IPN data will be redirected to our sale tracking script, so the system will generate a commission for appropriate affiliate.
NOTE: If you have more buttons at one page, you should only insert the id values into each button. The script tag should only be inserted once per page. It can be anywhere in body of the page.
Get exclusive offers and the latest news about our products and services delivered directly to your inbox.
We appreciate your recent sign up for a Post Affiliate Pro.
A message will be sent to your email address containing login details, right after your account is installed.
If you wait for a while, after installation is complete you will be able to access your account directly from here.
After the process is over, we will send the login details to your mailbox.
We’re available on multiple dates