I use jrox affiliate software to generate leads for my zencart 1.3.8 sites. Some sites have there default currency set to pounds, others euros and others dollars. I need to convert the commission values to one common currency in jrox. I found the info below on the jrox forums, but as I am not a developer, I am not sure what the currency variable is and how to use it, see below:
JAM allows you to convert diffferent currency payments to the appropriate amount when triggering commissions in JAM.
To do this, follow these steps:
1. Make sure to send the "currency" variable to sale.php when triggering a commission. For example:
http://www.domain.com/affiliates/sale.php?amount=$amount&trans_id=$trans_id¤cy='USD'
2. If you have a currency variable that gets set dynamically, you can use this:
http://www.domain.com/affiliates/sale.php?amount=$amount&trans_id=$trans_id¤cy=$currency
3. Edit the /includes/currencies.php file to either add or edit the conversion table for your currency.
When JAM processes the commission, it will first lookup the currency conversion amount from the /includes/currencies.php file, then convert it to the proper amount.
Any help would be greatly appreciated.
Bookmarks