–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.

Guru (Joomla! Extension)

An eLearning component that allows you to create money-making online courses easily.

Guru is an Award-winning Joomla LMS & Joomla eLearning Open Source Software! Create an Online University or School Today! The integration method integrates Guru’s payment method PayPal.

PayPal button modification – step 1

The first step is to modify the paypal button which is generated by Guru – find the file:

/components/com_guru/helpers/form.creator.php

and find this line:

$hidden .= "<input type='hidden' id='{$params['id']}' name='{$params['name']}' value='{$params['value']}'>\n";

change it to this:

/* Post Affiliate Pro integration snippet */
if ($params['name'] == 'notify_url') {
  $hidden .= "<input type='hidden' id='pap_ab78y5t4a' name='{$params['name']}' value='{$params['value']}'>\n";
}
else {
  $hidden .= "<input type='hidden' id='{$params['id']}' name='{$params['name']}' value='{$params['value']}'>\n";
}
/* /Post Affiliate Pro integration snippet */

PayPal button modification – step 2

Now find this line:

return $form;

and add this code above it:

/* Post Affiliate Pro integration snippet */
$form .= '<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script><script type="text/javascript">'.
"PostAffTracker.setAppendValuesToField('&pap_custom=');
PostAffTracker.setAccountId('Account_ID');
PostAffTracker.writeCookieToCustomField('pap_ab78y5t4a');
</script>";
/* /Post Affiliate Pro integration snippet */

Save your work.

PayPal request redirect

The information will be sent back to your Joomla when payment is paid, so we have to make sure the info is also sent to your Post Affiliate Pro. Find file:

/plugins/gurupayment/paypaypal.php

and find this line there:

function jcsPPGetInfo($params, $post, $default){

Now place this code just below the line:

/* 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 */

Save your work. That’s it. Now payments in your Guru are integrated with your Post Affiliate Pro.

Do not forget to integrate your Joomla with the click tracking code so the integration could work.

Back to Integrations Create account for FREE
Learn about the Guru Media Affiliate Program 's key details, campaign restrictions, rules, commissions, and more before you join.

Guru Media Affiliate Program

Guru Media International is a full service advertising agency and affiliate network with a CPA affiliate program for those interested in earning extra income in the media and marketing industry. The program accepts link and banner advertisements and does not allow explicit, religious, or political content. Single-tier commissions are paid out weekly with a minimum payout of no minimum (PayPal or Skrill) or $500 (Wire). The program uses the Everflow affiliate software to manage its portfolio worldwide.

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

PaySimple

The article discusses the integration of Simple PayPal Shopping Cart plugin with the Post Affiliate Pro platform, allowing users to sell products and services directly from their WordPress site. Instructions are provided for editing code and configuring settings for the integration. The article also mentions additional resources and offers a free account to get started with the integration. Contact information and support options are also presented.

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

teachable

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

Would you like to improve your affiliate software even more? Check out the eWAY (using Merchant Hosted Payments) integration for Post Affiliate Pro.

eWAY (using Merchant Hosted Payments)

This text provides instructions on how to integrate and configure the eWAY payment gateway using the Merchant Hosted Payments method with Post Affiliate Pro. First, activate the eWAY plugin and configure the custom field number and response type. Next, add tracking code to your page and set the data to be sent to PAP using a PHP script. The article also links to related resources and offers a free account.

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