Skip to content

Instantly share code, notes, and snippets.

@strangerstudios
Last active March 28, 2016 18:03
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save strangerstudios/3137539 to your computer and use it in GitHub Desktop.
Save strangerstudios/3137539 to your computer and use it in GitHub Desktop.
Integrate Paid Memberships Pro with WP Affiliate Platform
<?php
/*
We now maintain this code gist as an addon.
* On GitHub: https://github.com/strangerstudios/pmpro-wp-affiliate-platform
* Our Site: http://www.paidmembershipspro.com/add-ons/plus-add-ons/pmpro-wp-affiliate-platform-integration/
Tips and tricks also maintains a version here:
https://www.tipsandtricks-hq.com/wordpress-affiliate/paid-memberships-pro-wp-affiliate-plugin-integration-873
*/
@seoallrounder
Copy link

Which file do i have to edit in oder for it to work?

@adventurers73
Copy link

I just installed WP Affiliate Platform, now I don't know where to install this or what to even do with it! Please help!

@strangerstudios
Copy link
Author

You guys can sign up for support at http://www.paidmembershipspro.com. Thanks

@Arsenal21
Copy link

Thank you Jason for creating this integration code.

A few users seem to get confused with what to do with this code. I have created a zip file so you should just need to install that addon plugin:
http://www.tipsandtricks-hq.com/wordpress-affiliate/paid-memberships-pro-wp-affiliate-plugin-integration-873

@suifengtec
Copy link

Nice codes!

@Arsenal21
Copy link

Hi, I have made couple of improvements to this addon so it can track recurring commission from paid membership pro also. You can download the updated code from here and update this repository code with it:
http://www.tipsandtricks-hq.com/wordpress-affiliate/paid-memberships-pro-wp-affiliate-plugin-integration-873

@strangerstudios
Copy link
Author

It looks like the WP Affiliate Platform folks are maintaining a fork of this gist that has some updates. You can grab their copy here: https://www.tipsandtricks-hq.com/wordpress-affiliate/paid-memberships-pro-wp-affiliate-plugin-integration-873

@sepride
Copy link

sepride commented Jun 18, 2015

Hey, neither this version nor the one on the link you gave yesterday seem to hook into the recurring payments properly. Unsure what is happening. The affiliate id is stored with the subscription orders all right, but the affiliate doesn't get paid when the next month's subscription is billed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment