Jump to content

Selling services with different currencies


hakanhtp

Recommended Posts

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?

Link to comment
Share on other sites

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 

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated