Post Affiliate Pro


This plugin integrates Post Affiliate Pro – affiliate software into any WordPress installation.
Post Affiliate Pro is an award winning affiliate software with complete set of affiliate marketing features. Sell more with the best affiliate software.Post Affiliate Pro is the most Reviewed and #1 Rated affiliate software based on 300+ reviews on 3 independent software marketplaces & review platforms.
You can rely on bullet-proof click/sale tracking technology, which combines multiple tracking methods into one powerful tracking system.

Promotional video

You can find more info about Post Affiliate Pro here.

Supported features:

  • Integrates WordPress user signup with Post Affiliate Pro signup
  • Integrates Post Affiliate Pro click tracking into WordPress
  • Includes Top affiliates widget with basic affiliate statistics
  • Shortcodes for affiliates
  • Integration with Contact form 7 ( till version 3 (not included)
  • Integration with Easy Digital Downloads
  • Integration with Marketpress
  • Integration with MemberPress
  • Integration with Membership 2 Pro
  • Integration with WishList Member
  • Integration with WooCommerce
  • Integration with WooCommerce Autoship
  • Integration with WooCommerce Subscriptions
  • Integration with WP EasyCart
  • Integration with WPPayForms
  • Integration with WP Simple Pay Pro
  • Also works with S2Member

Arbitrary section

If you have any thoughts how to make this plugin better, do not hasitate to leave your ideas in plugin forum, or write an email to


  • Plugin adds an extra menu to your WP installation
  • General options screen
  • Signup options screen
  • Click tracking options screen
  • Top affiliates widget config
  • You can also use shortcodes


  1. Create directory postaffiliatepro in ‘/wp-content/plugins/’
  2. Unzip to the /wp-content/plugins/postaffiliatepro directory
  3. Activate Post Affiliate Pro plugin in your admin panel
  4. Set user credentials in plugin settings

Note: If the plugin does not show up, login to you Post Affiliate Pro merchant panel and navigate to Main menu> Tools> Integration> API Integration
From this window download your API file by clicking the ‘Download PAP API’ link
Upload PapApi.class.php file to your plugin directory /wp-content/plugins/postaffiliatepro
Refresh your WP admin panel


Q: After update, all menus are gone and plugin is not working at all

A: In situation like this you should check your PapApi.class.php file in your PostAffiliatePro plugin directory.
In most of the cases, this file was missing after update and that caused plugin malfunction.
Without PapApi.class.php file plugin can not operate correctly and because of that it disables itself to prevent
damaging the main pages with error or warning messages etc.

What is Post Affiliate Pro?

Post Affiliate Pro is an award-winning affiliate tracking software designed to empower or establish in-house affiliate program.
For more info check out this page

Can Post Affiliate Pro user use same password as in WordPress?

No. This is not possible at the moment. Passwords will be always different.

How can I use affiliate shortcode?

Here are few examples of usage:

[affiliate item=”name”/] – prints name of currently loaded affiliate.

[affiliate item=”loginurl”/] – prints link “Affiliate panel” that affiliate can use to login to his panel

[affiliate item=”loginurl” caption=”Log me in!”/] – prints link “Log me in!” that affiliate can use to login to his panel

[affiliate item=”loginurl_raw”/] – prints raw url link:

[affiliate item=”OTHER_ATTRIBUTES”/] – prints other affiliate attributes. OTHER_ATTRIBUTES can be one of these items:

  • userid – ID of user
  • refid – user referral ID
  • rstatus – user status
  • minimumpayout – amount of the minimum payout for user
  • payoutoptionid – ID of the payout option used by user
  • note – user note
  • photo – URL of user image
  • username – username
  • rpassword – user passwrod
  • firstname – user first name
  • lastname – user last name
  • parentuserid – ID od parent user
  • ip – user signup IP address
  • notificationemail – user notification email
  • data1 to data25 – user data fields

example of getting user notification email:

[affiliate item=”notificationemail”]

You can get the same values of affiliate parent, instead of ‘affiliate’ shortcode call ‘parent’ and then the needed item. E.g. for parent name call this:
[parent item=”name”/]

Is it possible to integrate this plugin with s2Member?

Yes it is. But keep in mind you should not use any mandatory fields in Post Affiliate Pro signup.
You have to use optional fields only.

Is it possible to integrate this plugin with MagicMembers?

Yes it is. But this feature is just experimental at this time.

How to use the TopAffiliates widget?

If you want to publicly display affiliate statistics in your WordPress, simply navigate to Appearance> Widgets section and add the Top Affiliates widget. When added, you can configure how many affiliates should be included in the result, set which value to use for ordering and you can also define the template of the result.
You can use these variables:


October 27, 2020
I am writing to tell you about the experience I have had so far with Post Affiliate Pro I have been with them for about 65 days and struggled at first because the software had HTML code and was not easy for me to use not being a developer I got very frustrated and wanted to give up I felt like the software was very reasonable price I wanted to really work with it I had a hard time with the help of the Post Affiliate Pro support team they jumped in and helped me seamlessly every day I Was able to supply them with the content needed and the integrations needed to get my platform up and going it looks good and will work well for my affiliate team thanks Affiliate Pro how are your help I will be using you in the future thank you
September 29, 2020
After 3 years of using Post Affiliate Pro (PAP), and having tried 3 other services, I can share with experience that PAP is the easiest service out there to not only easy build your affiliate program, but also grow your affiliate network. It is trusted among merchants and future affiliates and thus onboarding becomes easy. The merchant panel where affiliates get to see their dashboard is friendly and intuitive. While for the company running the program, it is easy to get a affiliate program up and running in no time and grow this segment of your business easily. I'd highly recommend PAP as a effective option to build your affiliate program!
June 29, 2019
We have been using Post Affiliate Pro (self-hosted version) since 2006. With WordPress and this plugin, it is easier than ever. If you use Post Affiliate pro, this plugin will save you a lot of time.
December 21, 2016
This software was first one I was using for affiliate marketing and I am very satisfied. With Post Affiliate Pro I can simply monitor my business, campaigns and my co-operators, but I do not have to care about anything else. I can choose from many marketing options and features while setting affiliate campaigns (private or public), creating emails or promoting websites. can you do it now?
December 24, 2016
I started with post Affiliate Pro about 1 year ago with that basic package for 29 USD/month. As my network’s grown I switched to ultimate package with 10 000 000 tracking requests/month. The price is very good in comparison to similar softwares. It contains even more features (I don’t use all of them) than its competitors. Recommend to everybody.
December 24, 2016
Purchasing Post Affiliate Pro has been among the best decisions we've done so far. It contains many features and provides seo friendly links that I consider as one of the most significant advantages of this software.
Read all 20 reviews

Contributors & Developers

“Post Affiliate Pro” is open source software. The following people have contributed to this plugin.


Translate “Post Affiliate Pro” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • code style


  • removed default status in WooCommerce integration


  • transaction loading API improvement


  • added integration with WPPayForms


  • finalize MemberPress fixes


  • prevent javascript execution through Top Affiliates widget
  • improve invalid login counter to try again after 15 minutes from the first invalid login to ensure that the plugin works after hosted Post Affiliate Pro account gets unsuspended
  • minor issues with MemberPress integration
  • some typos fixed


  • Coupons in data fields for WooCommerce integration


  • Contact Form 7 minor fixes
  • Top Affiliates widget can now display affiliate profile data fields


  • log file is not accessible from web now
  • log file is automatically deleted after debugging is disabled
  • Contact Form 7 new options added


  • fixed bug where plugin would say it is connected even with wrong credentials
  • fixed session loop on Signup options screen
  • fixed PHP warning when there was no session
  • improvement to not try to connect to Post Affiliate Pro if the connection failed 5 times already. Setting correct credentials will reset the counter.
  • added prevention for XSS attacks


  • session error fix


  • fixed behavior when set credentials are wrong
  • top affiliates widget improvement


  • added ‘recompute commission’ button for WooCommerce integration (to support partial refunds)


  • plugin’s css won’t affect other WordPress content


  • fixed problems with saving of plugin configuration on some WordPress installations


  • process all coupons instead of one
  • added internal info about Post Affiliate Pro version
  • order number added as an option for WooCommerce sale extra data


  • extra data options in Memberpress integration


  • minor fix to getting version of Post Affiliate Pro
  • updated PapApi.class.php file


  • improved integration with WP Simple Pay Pro
  • added YITH Custom Thank You page support for WooCommerce integration


  • replacement of deprecated function in WooCommerce integration
  • sale tracking improved in WooCommerce integration


  • WooCommerce PayPal PDT support


  • Integration with WP EasyCart added


  • Integration with Stripe Payments plugin added


  • option to define what should be saved into Data fields in Contact Form 7 integration


  • minor fix


  • problem with WooCommerce PayPal orders fixed


  • affiliate signup status fixed


  • fixed bugs and replaced deprecated functions in WooCommerce integration


  • per variation tracking option added to WooCommerce integration


  • itegration with WooCommerce Autoship added
  • shortcode fixes
  • ContactForm7 form name fix


  • improved the way how first and last name is recognized for new affiliates


  • design change of Integrations section
  • minor code fixes and improvements


  • approval of commissions is faster now
  • minor fixes
  • affiliate creation improved


  • JotForm integration removed


  • Integration with PayPal Buy Now Button added


  • Fixed bug in adding affiliate to campaign
  • Integrations screen not loading fixed


  • Integration with Membership 2 Pro added
  • document.write function replaced


  • Added support for recurring total cost (MemberPress, WooCommerce)


  • ContactForm7 integration updated


  • per product tracking improved for option delete cookie after sale


  • coupons with PayPal fixed


  • IP handling improved


  • work with coupons in subscriptions fixed


  • Now you can choose affiliate username for signup (email or wp username)
  • commission status change logic improved


  • minor code changes


  • Affiliate signup logic changed to support merchant notifications
  • TopAffiliates widget updated to fit API changes
  • minor code changes


  • hash script fixed
  • minor fixes


  • Debugging section fixes


  • Debugging section added
  • tracking hashed script enabled
  • WooCommerce product name added as an option for products and extra data
  • improved work with cookies for per product tracking when delete cookie after sale is used
  • s2memebr recurring tracking fixed


  • MemberPress hidden form field fix


  • Affiliate approval on product ID for WooCommerce
  • WooCommerce refund fix for subscriptions
  • Minor bug fixes


  • WooCommerce integration has 5 extra data fields now
  • WooCommerce refund fix for subscriptions
  • Improved affiliate signup


  • WooCommerce category option for extra data fixed


  • Support for currency added to Easy Digital Downloads integration
  • WooCommerce coupons improvement (removal of deprecated functions)
  • Compatibility test with WP 4.8


  • Integration with Easy Digital Downloads added


  • WooCommerce Subscriptions refund fix


  • WooCommerce recurrent orders refund fix
  • affiliate signup level option fix
  • create an initial commission from recurring WooCommerce order fix


  • WooCommerce recurrence fix


  • affiliate update fix
  • PHP error fixes


  • s2member integration added
  • a help section for shortcodes added
  • added an option to save user level to a custom field
  • improved affiliate details loading
  • minor code changes


  • update of affiliate details fix


  • order status change of unprocessed transactions


  • WishList Member tracking issue fixed


  • function declaration warning fixed


  • integration with Simple Pay Pro added
  • WooCommerce product ID bug fixed
  • refunding fixed
  • external form library removed
  • code revision to support PHP7
  • minor bugfixes


  • integration with MemberPress added
  • integration with WishList Member added
  • Options for product ID tracking in WooCommerce integration added


  • added option to create an affiliate with a photo
  • optimised WooCommerce refunds
  • slightly redesigned


  • IP address tracking feature added for WooCommerce PayPal orders


  • integration with Marketpress added
  • added a link to plugin to general setting
  • menu changes
  • wording corrections


  • minor changes of code and wording


  • WooCommerce with PayPal tracking fix


  • WooCommerce sale tracking fix


  • Campaign ID option added for WooCommerce click tracking
  • Campaign ID option added for WooCommerce sale tracking
  • WooCommerce Subscriptions recurrence tracking fix
  • Missing account ID added to tracking codes
  • Account ID setting moved to from click tracking section to general


  • WooCommerce Subscriptions support added


  • WooCommerce automatic protocol recognition added


  • WooCommerce product tracking improved


  • WooCommerce automatic sale tracking integration
  • automatic parent affiliate recognition for signup tuned up


  • set username of newly signed up WP user as Referral ID for his new affiliate account, unsupported characters are replaced with underscore


  • Contact7 integration updated to the latest version
  • JotForm configuration moved to a sub-page
  • shortcodes for parent affiliates added


  • a JotForm fields total cost bugfix


  • TotalCost field added for JotForm
  • a bugfix for dynamic JotForm fields


  • TopAffiliates widget bug with hosted accounts fixed
  • minor changes


  • JotForm support with custom fields
  • minor changes


  • a bug fix for cases when buffering on server is disabled
  • a plugin icon has been added
  • tested WP compatibility up to 4.4.1


  • add load of parentusreid in Top Affiliates, at least 5.3.28 version of Pap is needed


  • fixed some PHP notifications


  • fixed bug with duplicate mail if a setting is turn on in PAP and also in WP plugin
  • fixed bug with Contact Form 7 when custom db prefix is used


  • added item ‘loginurl_raw’ to affiliate shortcode for displaying url link


  • fixed affiliate loading problem


  • fixed some bugs dururing affiliate signup


  • minor fixes and code refactoring


  • fixed invisible shortcodes when affiliates do not use email names in PAP


  • fixed bug with contact form 7: Call to a member function get_results() on a non-object in /home/bandi/public_html/ on line 50


  • fixed bug with shortcodes disappearing.


  • tested compatibility with WP 3.5.1


  • minor fixes


  • fixed Contact form 7 form count handling


  • shortcodes descriptions fixing


  • descriptions fixing


  • shortcodes problmes fix


  • just fixes typos in some texts
  • minor code changes


  • change some texts


  • just typos in some texts


  • just typos in some texts


  • bugfixes


  • experimental support for Magic members WordPress plugin


  • readme.txt changed – small changes


  • tested on WP 3.2.1


  • screenshots update


  • fixed some minor bugs
  • just got report, that plugin works well with S2 member WordPress plugin


  • add support for Contact form 7 integration


  • small bugfixes
  • added chache for affialite login links urls


  • add “affiliate” shortcode


  • fixed critical error with broken shortcodes
  • wp_content hook is not used anymore, plugin use wp_head instead


  • fixed critical error with disappearing content


  • fixed crash on plugin load: Warning: SimpleXMLElement::__construct() [simplexmlelement.–construct]: Entity: line 39: parser error : Opening and ending tag mismatch: …


  • minor bugfixes


  • added possibility to insert newly created affiliate to private campaigns
  • added support for click tracking integration
  • added Top affiliates widget where you can see your top affiliates names, commissions, total costs etc.
  • signup and/or click tracking can now be enabled/disabled
  • many internal chnages, code completly rewritten
  • some minor bugs fixed


  • corrected some spelling
  • fixed non-functional signup dialog
  • add option to send emails from pap when new affiliate signs-up


  • bigfixes


  • chnage menu possition from top to bottom


  • added some more accurate descriptions to signup options form


  • minor bugfixes


  • Added suuport for default status for signing affiliates


  • Fixed bug on signup option page when API file was not on place or out of date


  • Add support to attach some concrete affiliate as parent for every new signed up user from wordpress.