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.
PagSeguro is a Brazilian-based national e-commerce business allowing payments and money transfers to be made through the Internet.
The integration is done by a built-in plugin which reads PagSeguro data notifications.
Navigate to Integrations > Transaction notifications and it there already is a URL defined, it means you have to follow the next steps. First of all, take a note of the URL which you are using right now.
The next step in case of the integration is to integrate your PagSeguro buttons. Place this extra code into code of every button you want to integrate. Please note the value xxxxxxxxxxxxxxxxx is the notification URL, from the previous step, which you made a note of. Please, replace it in the code:
The code will automatically append the needed tracking value to your notification script. In the next step we will process it.
We’ve set the needed tracking value to your notification script URL as a GET parameter. Now, we will process it. Find and edit your notification script. Find the place in the code where ‘notificationCode‘ value is processed. At the same place, use this code:
/* Post Affiliate Pro integration snippet */ file_get_contents('http://URL_TO_PostAffiliatePro/plugins/PagSeguro/pagseguro.php?pap_custom='.$_GET['pap_custom'].'&'.'notificationCode='.$_REQUEST['notificationCode']); /* /Post Affiliate Pro integration snippet */
This will send necessary data to your PagSeguro plugin in Post Affiliate Pro and handle the notification.
The final step is to activate and configure your PagSeguro plugin. Login to your Post Affiliate Pro merchant panel and navigate to Plugins section. Activate and then configure the PagSeguro plugin. When configuring, you will need the security token mentioned in step 1.
You are done. Your sales will be tracked now.
Do not forget to integrate your site with the click tracking code to make it all working.
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