hakanhtp Posted May 26, 2023 Share Posted May 26, 2023 WHMCS allows to set base currency. Ant can setup multi currencies. Also it provides auto daily conversion option by using ECB exchange rates. This is clear. Imagine 2 products lets say 2 different tdl domains. One is com buyed in USD. And the other is .EU buyed in EUR. Base currency is USD for com domain no problem. Lets say pricen is 10 USD and converted into EUR correctly. .EU domain we buy in EUR so we have to price it in EUR and it should be converted in USD to make correct pricing. But if you set EUR price and leave USD empt daily cron tries to convert USD price (0 USD) to EURO. So product pricing needs to be an option to set base currency for that product. Not global base currency. Any solution to this situation? 0 Quote Link to comment Share on other sites More sharing options...
AladdinJ Posted June 2, 2023 Share Posted June 2, 2023 I think you can make hook to auto fill EUR price every 5 miunuts with normal cron 0 Quote Link to comment Share on other sites More sharing options...
hakanhtp Posted June 2, 2023 Author Share Posted June 2, 2023 Thank you Aladdin But this is not the case. EURO price will stay as we set for some products. USD price should be calculated for these. Most of the base prices in USD Some of the base prices will be EUR. Cron allways calculates from USD to EUR 0 Quote Link to comment Share on other sites More sharing options...
AladdinJ Posted June 3, 2023 Share Posted June 3, 2023 uderstood , you need to override system prices for both USD and EUR for your specific product using hook 0 Quote Link to comment Share on other sites More sharing options...
Remitur Posted June 5, 2023 Share Posted June 5, 2023 On 6/2/2023 at 4:18 PM, AladdinJ said: I think you can make hook to auto fill EUR price every 5 miunuts with normal cron It's not necessary to do it every 5 minutes: it's sufficient to do it daily, just after the main daily cronjob (that, when necessary, updates domain prices too) 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.