–Hidden comment

Use attributes in format region_from and region_to= to change the languages showing in language switcher.
Available regions are:
europe_from europe_to
asia_from asia_to
mideast_from mideast_to
america_from america_to

europe_from=0 europe_to=22 will put all languages (ordered in language switcher settings) from 1 to 21 to Europe region:
asia_from=22 asia_to=25 will put all languages from 23 to 24 (so only 2) into Asia region.


A SaaS-based company providing recurring billing management as an outsourced service.

This integration method uses Recurly API get the details of the purchased plan and to record a commission with the subscription values.

The integration requires the Recurring Commissions feature for tracking the recurring payments/trial conversions.

Recurly configuration

This integration method uses external “Thank you page“, so if you do not have one, please create it. When you have the site, navigate to Configuration > Plans section of your Recurly admin panel and edit your plans. Towards the bottom of the edit plan screen check the checkbox for Bypass Recurly Confirmation and set Return URL After Success to your thank you page.

Add this string to each URL:


In case you already have question mark in the link, change the one in above code to ampersand (&) symbol.

Enable API

In Recurly admin panel go to Integrations > API Credentials section enable your API if it is not enabled yet, and get your API key.

Now, navigate to Integrations > Webhooks and use Configure button to add new Endpoint and point its URL to:


To specifically choose a notification type please select ‘renewed_subscription_notification‘ and ‘new_credit_invoice_notification

Finally, enable Recurly plugin in your Plugins section of your Post Affiliate Pro merchant panel and set your API key there.

Integration code

Open your thank you page for editing and paste this code to the file:

<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
var $_GET = get_query();
var callBack = false;

try {
  PostAffTracker.executeOnResponseFinished.push(function() {visitorCallBack();});

function getVisitorId() {
	return PostAffTracker._getAccountId() + PostAffTracker._cmanager.getVisitorIdOrSaleCookieValue();

function visitorCallBack() {
  if (callBack == false && "null" != getVisitorId()) {
    callBack = true;
    var pixel = document.createElement("img");pixel.width=1;pixel.height=1;
    pixel.src = 'https://URL_TO_PostAffiliatePro/plugins/Recurly/recurly.php?papCookie=' + getVisitorId() + '&account_code=' + $_GET.account_code + '&plan=' + $_GET.plan;

function get_query(){
    var url = location.search;
    var qs = url.substring(url.indexOf('?') + 1).split('&');
    for(var i = 0, result = {}; i < qs.length; i++){
        qs[i] = qs[i].split('=');
        result[qs[i][0]] = decodeURIComponent(qs[i][1]);
    return result;

Do not forget to integrate your site with the click tracking code.

Back to Integrations Create account for FREE
Would you like to improve your affiliate software even more? Check out the AspDotNetStorefront integration for Post Affiliate Pro.


The article discusses the PostAffiliate Pro software, which is designed for tracking business sales through affiliate marketing. The software is available for free and offers a range of features and integrations, including support for AspDotNetStorefront. The article includes instructions for integrating the software with a website to track commissions per order and supports lifetime commissions. The article also provides contact information for sales support and customer reviews of the software.

Would you like to improve your affiliate software even more? Check out the SWREG integration for Post Affiliate Pro.


The article discusses the integration of PostAffiliate Pro with SWREG, a payment processing company. The process involves activating the SWREG plugin, editing the summary template, adding the integration code, and setting up notifications for new sales and refunds. The article emphasizes the importance of SSL security for the integration to work properly. The article also provides links to related resources and offers a free account for PostAffiliate Pro.

Would you like to improve your affiliate software even more? Check out the Gambio integration for Post Affiliate Pro.


PostAffiliate Pro offers a shopping cart integration solution with Gambio online shops, allowing tracking of subtotal, order ID and currency, and supporting Lifetime Commissions. To integrate, edit the controller file and add sale tracking code, then edit the template and add tracking code to the end. Don't forget to integrate the shopping cart with click tracking code as well. A free account can be created.

How to recompute transaction

How to recompute transaction

How to recompute transaction

Our website uses cookies. By continuing we assume your permission to deploy cookies as detailed in our privacy and cookies policy.


Schedule a one-on-one call and discover how Post Affiliate Pro can benefit your business.

We’re available on multiple dates

Schedule a call