Jump to content

Payment gateway modele and multicurrency


vok78

Recommended Posts

Hi!

I have a problem with my payment gateway module and I should understand, how it resolve.  Default currency in WHMCS is USD, in module settings I setup "Convert To For Processing" to UAH, because gateway work only with UAH. When I receive answer from payment gateway  with currency amount in UAH and this is ok if user currency is UAH in profile settings, but if user currency in USD this is bad, because he payment UAH but recieve USD. So question, should I convert recieved amount to user currency or to main currency of WHMCS?

Link to comment
Share on other sites

Since your WHMCS is configured to accept only USD yes, you should convert UAH back to USD before you register the transaction. You can find the USD/UAH conversion rate in tblcurrencies.rate. They're the same rates used for " Convert To For Processing".

Edited by Kian
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