Jump to content

Question

Posted

I have recently moved from WHMCS to Blesta, and have a bit of a snag, 

With WHMCS I was provided a script for remote page currency, this allowed the currency exchange to be pulled from the database and then worked out using php, so the price in whmcs and on the php page would be the same. Although have no idea how I could do this with blesta.

All I need is for the prices to be displayable on a PHP page using the same exchange rate as blesta.

Any help would be appreciated.

 

Thanks

2 answers to this question

Recommended Posts

  • 0
Posted

I'm not sure how familiar you are developing with Blesta, but the Currencies model is probably what you are looking for.  It has a convert($amount, $from_currency, $to_currency, $company_id) method to convert an amount from one currency to another based on the exchange rate.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...