Dynamically Applying Discounts to Recurring Payments

Events happening in the community are now at Drupal community events on www.drupal.org.
mtbosworth's picture

I am looking for some direction on the best solution for the following requirements.

Requirements:
Subscription based site access
Monthly recurring payment for sites access
Referrals of one user to the site should award them a discount to their recurring monthly payment
Users can acquire unlimited referrals discounts

Thoughts so far:
I am using the Pressflow distribution of Drupal version 6.22. My current plan is to use Ubercart, Ubercart Reccuring Payment, and Ubercart Discount modules. As bloated as Ubercart is, I feel like a lot of the work is done if I got this route. The tutorial for setting up subscription based sites seems simple (http://drupal.org/documentation/modules/uc_recurring), but I am not sure how exactly to apply discounts programmatically to the recurring payment. The referrals will probably be a link to the registration page with a parameter to set the referrer. Once the user is registered I'd like to apply the discount to the referrers monthly payment as an ongoing discount. I am open to a simpler approach if there is one.

Thanks in advance.

Drupal Commerce

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: