Recurring Referrals - enabling referrals on existing subscriptions
If you'd like to manually create a referral that gets credited with an order that has recurring transactions, generally, you can specify the subscription ID / order number from the commerce plugin, in the Reference field:
When a subscription payment is recorded, it looks up the original order using the information you provided in this field, then tries to find a referral with that reference.
However, this is a bit different for each integration supported by Recurring Referrals, so we've noted those differences below for each.
In general, if a parent subscription/order is found, AffiliateWP will create the new referral and attribute all future recurring transactions to the affiliate, and associate those recurring referrals with the relevant parent subscription/order.
AffiliateWP will not apply recurring transaction referrals for any past recurring transaction which occurred on the order.
Select your desired integration below for instructions on how to create a recurring referral for that integration:
- Easy Digital Downloads
- Gravity Forms
- iThemes Exchange
- LifterLMS
- MemberMouse
- MemberPress
- Paid Memberships Pro
- PayPal Buttons
- Restrict Content Pro
- Stripe (through WP Simple Pay)
- WooCommerce
- Zippy Courses
Easy Digital Downloads
To manually create a recurring referral in Easy Digital Downloads and the EDD Recurring add-on, specify the EDD payment ID of the original EDD subscription payment, in the reference
field of an Easy Digital Downloads referral and set the context
field to edd.
Gravity Forms
To manually create a recurring referral in Gravity Forms, specify the entry ID of the original transaction of the subscription in the reference
field of a Gravity Forms referral and set the context
field to gravityforms .
iThemes Exchange
To manually create a recurring referral in iThemes Exchange, specify the order ID of the original iThemes Exchange subscription, in the reference
field of an iThemes Exchange referral and set the context
field to it-exchange.
LifterLMS
To manually create a recurring referral for a Membership using the LifterLMS integration, set the reference
field to the LifterLMS Order # and set the context
field to lifterlms.
MemberMouse
Although MemberMouse is supported by the Recurring Referrals add-on, it cannot have referrals be retroactively applied at this time.
MemberPress
To manually create a recurring referral using the MemberPress integration, set the reference
field to the MemberPress Transaction Id, the custom
field to the MemberPress Subscription Id and set the context
field to memberpress.
Paid Memberships Pro
To manually create a recurring referral in Paid Memberships Pro, specify the Paid Memberships Pro order ID of the subscription in the reference
field of a Paid Memberships Pro referral and set the context
field to pmp.
PayPal Buttons
To manually create a recurring referral using the PayPal Buttons integration, specify the PayPal Transaction ID from the Transaction details of the initial subscription payment in the reference
field of a PayPal Buttons referral and set the context
field to paypal.
Restrict Content Pro
To manually create a recurring referral in Restrict Content Pro, specify the Restrict Content Pro Subscription Key from the Member edit screen in the reference
field of a Restrict Content Pro referral and set the context
field to rcp.
Stripe (through WP Simple Pay)
To manually create a recurring referral in Stripe, specify the Stripe subscription ID of the desired Stripe subscription in the custom
field of a WP Simple Pay referral and set the context
field to stripe.
WooCommerce
To manually create a recurring referral in WooCommerce and the WooCommerce Subscriptions extension, specify the original WooCommerce parent order ID of the subscription (Not the Subscription ID, the accompanying Order ID) in the reference
field of a WooCommerce referral and set the context
field to woocommerce.
To locate the subscription parent order ID, go to WooCommerce → Subscriptions, click on the subscription link and scroll down to the Related Orders section at the bottom of the screen:
Note: Recurring Referrals requires WooCommerce Subscriptions version 2.0 or higher.
Zippy Courses
To manually create a recurring referral in Zippy Courses, specify the Zippy Courses order ID of the transaction in the reference
field of a Zippy Courses referral and set the context
field to zippycourses.