Forum: Ruby on Rails How to send commission to affiliates at time of Renewal

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9ad06e211bd1158f295334d385ec0392?d=identicon&s=25 Ravikanth (Guest)
on 2009-06-05 14:27
(Received via mailing list)
Hi
   For renewal of the account i use crontab to execute
renewal_auto_monthly_transaction.rake file which make auto renewal for
every 30 days billing cycle. My problem is for every renewal of the
account means the amount charged for the renewal on that 20 percent
commission must be added to affiliate.

Affiliates provide an api JavaScript which one sign up thank you i
pasted the code which takes parameters amount,
user name, transaction id and adds to the 3rd party affiliates
account.

But for Renewal how can we add 3rd party JavaScript api(well this
script cannot be used in rake file)....is there any alternative
solution for this...?
This topic is locked and can not be replied to.