Language switcher

#languages]

–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

Example:
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.

Integrations

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.

Ubercart

An exciting open source e-commerce shopping cart that fully integrates your online store with Drupal.

Integration of Ubercart by integration of Thank you page and also a solution for Ubercart using PayPal.

Locate the settings

Go to Administer > Store administration > Configuration > Checkout settings > Edit > Checkout messages

Integration code for thank you page

Add this code to Checkout completion message header:

<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
var sale = PostAffTracker.createSale();
sale.setTotalCost('[uc_order:subtotal]');
sale.setOrderID('[uc_order:order-id]');
sale.setProductID('[uc_order:products]');
PostAffTracker.register();
</script>

Change Input format in ‘Checkout completion message header‘ to Full HTML.

Do not forget to save your changes.

Using PayPal in Ubercart

If you are using PayPal as a payment gateway in your Ubercart, it is better to integrate it directly.

Edit file sites/all/modules/ubercart/payment/uc_paypal/uc_paypal.module – find the function uc_paypal_wps_form() and put this code just after the line with code:

‘notify_url’ =>

'custom' => $_COOKIE['PAPVisitorId'],

Now, edit the file sites/all/modules/ubercart/payment/uc_paypal/uc_paypal.pages.inc and find the function uc_paypal_ipn() - put the following code below the function line:

/* Post Affiliate Pro integration snippet */
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://URL_TO_PostAffiliatePro/plugins/PayPal/paypal.php");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST);
curl_exec($ch);
/* /Post Affiliate Pro integration snippet */

Do not forget to save your changes.

Back to Integrations Create account for FREE

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