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.

Gravity Forms (WordPress module)

A full featured contact form plugin that features a drag and drop interface, advanced notification routing, lead capture, conditional logic fields, multi-page forms, pricing calculations and the ability to create posts from external forms.

Contact Forms for WordPress Just Don’t Get Any Easier than Gravity Forms

GravityForms with PayPal

If you want to track paypal payments through your GravityForms, you have to follow these few steps.

The first step is to login to your FTP where your WordPress is installed at and find file

wp-content/plugins/gravityforms/form_display.php

Edit the file and find this line:

return $footer;

Paste this code above the line:

$footer .="<input type='hidden' name='custom' value='' id='pap_dx8vc2s5' />
  <script id='pap_x2s6df8d' src='{$HttpProtocol}{$ScriptsUrl}notifysale.php' type='text/javascript'>
  </script>";

Save your work.

GravityForms with PayPal 2

Now, edit file (if you have no ‘class-gf-paypal.php‘ file, then you may have a ‘paypal.php‘ file only):

wp-content/plugins/gravityformspaypal/class-gf-paypal.php

and find the following line of code:

$ipn_url = urlencode(get_bloginfo("url") . "/?page=gf_paypal_ipn");

Add this code below the line:

  /* Post Affiliate Pro integration snippet */
  $ipn_url .= urlencode("&pap_custom=".$_POST['custom']);
  /* /Post Affiliate Pro integration snippet */

Now find this line:

private static function verify_paypal_ipn(){

and paste this code right below the line:

/* {$PapFullname} integration snippet */
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,
"{$HttpProtocol}{$PluginsUrl}PayPal/paypal.php?pap_custom=".$_GET['pap_custom']);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST);
curl_exec($ch);
/* /{$PapFullname} integration snippet */

Do not forget to integrate your WordPress with the click tracking code – best practice is to place it to footer file, using Appearance> Edit.

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