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
*/
@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