Jump to content

Forcing currency selection based on clients country


UH-Matt

Recommended Posts

For simplicity in accounting reasons our company charges all EU customers that pay VAT in GBP, and then all non-EU clients (such as US customers) in USD withotu the VAT.

 

Now WHMCS handles this perfectly well for us, but we need to force the currency selection on users based on their country. Currently they select their currency before they input their address, so can freely choose USD even if they are an EU customer...

 

We thought of a way around this and Matt wrote for us an action hook, which takes the country at that point in the order process and uses this to adjust the currency according to USD or GBP.

 

But there is a flaw in this process. You see the country box is default selected to UK, so if a customer changes to USD at step 1, then moves on, the action hook ALWAYS switches the currency back to GBP because when they hit the form to fill in their address details, it defaults to UK.

 

Anyone think of a better way to apply the correct currency to correct locations? I am opening this up to the forums in the hope that some out-the-box thinking may solve our problem, and appreciate you reading my ramblings...

Link to comment
Share on other sites

My thought (but is this even possible?) is to modify the country selection box, so that when it is changed, the page refreshes with correct currency in place. OR modify the country box so that no country is selected by default, and the user must physically change the selection from nothing to the correct country....

Link to comment
Share on other sites

My thought (but is this even possible?) is to modify the country selection box, so that when it is changed, the page refreshes with correct currency in place. OR modify the country box so that no country is selected by default, and the user must physically change the selection from nothing to the correct country....

 

(Even IF possible) Will this help WHMCS to be same as GoDaddy, getting the country, setting the currency accordingly???

Link to comment
Share on other sites

just throwing it "out there" but why not implment it properly ;) ?

- ccy is irrelevant to VAT, its the users location (complicated by the "place of enjoyment" issue) that matters ...

 

let the custome pick whatever ccy they like for seein the prices/payments/etc, and account for each in their own right with whatver converseion/revaluation method you prefer

 

there are plenty of compnaies that bill in USD but still charge VAT as appropriate ...

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