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.
pasted the code which takes parameters amount,
user name, transaction id and adds to the 3rd party affiliates
script cannot be used in rake file)....is there any alternative
solution for this...?