sebsimappus Posted March 3, 2017 Share Posted March 3, 2017 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 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 3, 2017 Share Posted March 3, 2017 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 ?? 0 Quote Link to comment Share on other sites More sharing options...
sebsimappus Posted March 3, 2017 Author Share Posted March 3, 2017 Hello, Thank you for your return, it is to set up partial payments via paypal. cordially 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.