Jump to content

Currency id payment gateway


Recommended Posts

Hello,

 

I come to you to know if it is possible to replace the id of the currency with the suffix.

 

I read the following code, it gives me the id of the currency but I search to have the suffix.

 

<input type="hidden" name="currency_code" value="'.$vars['clientsdetails']['currency'].'">

 

thank you in advance for your help

Link to comment
Share on other sites

if you know the currency ID, and the suffix isn't available from another variable, then it's a simple SQL query to get the suffix via the tblcurrencies table - though I assume, if this is being passed to a gateway, you'll likely want the code value instead e.g EUR, USD etc?

is this a WHMCS payment gateway or a 3rd-party one ??

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