Last active
March 28, 2016 18:03
-
-
Save strangerstudios/3137539 to your computer and use it in GitHub Desktop.
Integrate Paid Memberships Pro with WP Affiliate Platform
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 | |
*/ |
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
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