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

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


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='https://URL_TO_PostAffiliatePro/scripts/notifysale.php' type='text/javascript'>

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):


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:

/* Post Affiliate Pro integration snippet */
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST);
/* /Post Affiliate Pro 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