Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.2.0-b1
-
Fix Version/s: 4.0.0-b1
-
Component/s: None
-
Labels:None
Description
The current Google Finance exchange rate processor uses http://rate-exchange.appsport.com/currency. This API acts as a proxy for the google API and is consistently down due to google quota limits.
Instead we should use google directly via: https://www.google.com/finance/converter?a=1&from=USD&to=CAD
Parameters:
- a = The amount
- from = The from currency ISO
- to = The to currency ISO
Returned result is HTML, and the converted value can be obtained by parsing it out from:
<div id="currency_converter_result">1 USD = <span class="bld">1.1194 CAD</span> <input type="submit" value="Convert"> </div>
The current exchange rate processor is no longer available at all, so it will need to be updated for v4.